• i have my permalinks set custom as %category%-%postname%.html..

    the problem is when ever i click a post, it would say Error 404..

    what gives?

Viewing 1 replies (of 1 total)
  • Thread Starter montyburns

    (@montyburns)

    okay.. post links now work..

    problem now is cat-four.html doesn’t goto the said category but a 404 page.. and cat-three.html goes to a post instead of the category three page..

    my htaccess contains the ff.:

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_URI} !^/(cat-four|cat-three)(-[^.]+)?\.html [NC]
    RewriteRule . /index.php [L]

    RewriteRule cat-four.html$ /?category_name=css-design
    RewriteRule cat-four-(\d+).html$ /?cat=4&paged=$1 [QSA]
    RewriteRule cat-three.html$ /?category_name=css-gallery
    RewriteRule cat-three-(\d+).html$ /?cat=3&paged=$1 [QSA]

    anybody know why it doesn’t work?

Viewing 1 replies (of 1 total)
  • The topic ‘error 404 with my custom permalinks’ is closed to new replies.