Forums

Give help. Get help.

  • # February 10, 2013 at 3:13 am

    I have this .htaccess code:


    RewriteEngine On
    RewriteRule /stuff/confadarte-bikini-styles/post/(.+) /stuff/confadarte-bikini-styles/func/post.php?slug=$1
    RewriteRule /stuff/confadarte-bikini-styles/category/(.+) /stuff/confadarte-bikini-styles/func/category.php?slug=$1


    RewriteRule ^index.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /stuff/confadarte-bikini-styles/index.php [L]

    But it half works. so this is what works:

    When you go to “post/**_the_slug_**” it works.
    When you go to “**_the_page_name_**/” it works.

    But what does not work is when you go to “category/**_the_slug_**” it does the second thing that works and gives a 404 error becase index.php cant find “pages/category.php”

    Can you please tell me what is going on.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

icon-anchoricon-closeicon-emailicon-linkicon-logo-staricon-menuicon-nav-guideicon-searchicon-staricon-tag