WordPress.org

Ready to get started?Download WordPress

Forums

Permalink Category Issues (6 posts)

  1. shakerman
    Member
    Posted 7 years ago #

    Hi

    I have a blog which uses a category/subcategory/postname structure. Viewing posts via the domain/parentcategory/ and domain/parentcategory/subcategory/ work fine.

    Links going directly to a specific post present me with a 404 error, i.e. domain/parentcategory/subcategory/postname/

    The content of my .htaccess

    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]

    My permalink structure:

    /%category%/%postname%/

    I've tried deleting and rebuilding the htaccess file and resetting the permalink structure to default/re-submitting the permalink structure but I'm presented with the same error.

    I've also tried using different templates including the default one but to avail.

    Does anyone have suggestions?

    Thanks

  2. shakerman
    Member
    Posted 7 years ago #

    Addendum :-

    It seems all pages work under the default permalink structure, however all the post pages bring up a 404 when trying to use the date and name based structure, the numeric structure and any custom structure which suggests it may be a mod rewrite issue (incidently this is definitely enabled).

    Thanks

  3. koi8r
    Member
    Posted 6 years ago #

    Was this ever fixed? I am having the same issue.

  4. CrazySerb
    Member
    Posted 6 years ago #


  5. cpetrauskas
    Member
    Posted 6 years ago #

    Same problem here. Both Categories and Posts.

  6. cpetrauskas
    Member
    Posted 6 years ago #

    OK, solved for me.

    I'm on a Red Hat LAMP box and it turned out to be getting into my httpd.config file and setting the proper permissions for AllowOverride.

    I found the tricks here:
    http://codex.wordpress.org/Using_Permalinks#Fixing_Other_Issues

    C.

Topic Closed

This topic has been closed to new replies.

About this Topic