• Hi, I was wondering why Pages don’t seem to support dashes or underscores in their names for Permalinks. Should I just edit the htaccess file to include those…is there a good reason it is like this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • I use dashes in my page permalinks and they work fine. I haven’t tried underscores though.

    Regards

    Thread Starter master_kato

    (@master_kato)

    What do your rewrite rules in htaccess look like? I am using the wordpress generated ones and anything with a dash or underscore don’t work. (such as 2005-09). Here is the one of interest.

    **************************
    RewriteRule ^(galleries)(/[0-9]+)?/?$ /wp/index.php?pagename=$1&page=$2 [QSA,L]

    Here are my page rules:

    RewriteRule ^(contact-me)(/[0-9]+)?/?$ /index.php?pagename=$1&page=$2 [QSA,L]
    RewriteRule ^(weighted-words)(/[0-9]+)?/?$ /index.php?pagename=$1&page=$2 [QSA,L]
    RewriteRule ^(about)(/[0-9]+)?/?$ /index.php?pagename=$1&page=$2 [QSA,L]
    RewriteRule ^(archives)(/[0-9]+)?/?$ /index.php?pagename=$1&page=$2 [QSA,L]
    RewriteRule ^(plugins)(/[0-9]+)?/?$ /index.php?pagename=$1&page=$2 [QSA,L]

    Regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Page permalinks’ is closed to new replies.