Permalink returns 404 on Pages but not Posts (5 posts)

  1. occuda
    Posted 11 years ago #

    Permalinks work just fine for my posts, but when I add another page, I get a 404 error. These are the lines that the page automatically added to my .htaccess file:
    RewriteRule ^(test)/feed/(feed|rdf|rss|rss2|atom)/?$ /index.php?pagename=$1&feed=$2 [QSA,L]
    RewriteRule ^(test)/(feed|rdf|rss|rss2|atom)/?$ /index.php?pagename=$1&feed=$2 [QSA,L]
    RewriteRule ^(test)/page/?([0-9]{1,})/?$ /index.php?pagename=$1&paged=$2 [QSA,L]
    RewriteRule ^(test)/?([0-9]+)?/?$ /index.php?pagename=$1&page=$2 [QSA,L]
    RewriteRule ^(test)/trackback/?$ /index.php?pagename=$1&tb=1 [QSA,L]

    Any ideas?

  2. Kafkaesqui

    Posted 11 years ago #

  3. occuda
    Posted 11 years ago #

    Nope. That didn't work.

  4. unpoedic
    Posted 11 years ago #


    I have inserted the desired permalink structure (based on /%year%/%monthnum%/%day%/%postname%/ exactly) into the .htaccess file (chmoded to 666) in my root directory; however, in attempting to pull up comments, archived posts, etc., I continue to get a 404 error claiming no such URL. In attempting to pull up the .htaccess file through WP via 'Manage' + 'Files' + '.htaccess (for rewrite rules)'--a route presumably preset, I am met with the smugly apologetic, "Oops, no such file exists! Double check the name and try again, merci."

    A little help...por favor?

  5. James Huff
    Support Representative
    Posted 11 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.