So, if I'm correct, you forum is installed in :
- Code: Select all
www.example.com/orion/
If so, your .htaccess is almost correct and should be used above the orion/ dir, eg in :
- Code: Select all
www.example.com/
And you should not keep any .htaccess in orion/ either.
The error in your .htaccess is in the beginning of each rewriterule :
# CATEGORIES
RewriteRule /orion/[a-z0-9_-]*-c([0-9]+)\.html$ /orion/index.php?c=$1 [QSA,L,NC]
should be :
# CATEGORIES
RewriteRule ^orion/[a-z0-9_-]*-c([0-9]+)\.html$ /orion/index.php?c=$1 [QSA,L,NC]
and so on.
If this is not enough, then, try without the right slash, eg :
# CATEGORIES
RewriteRule ^orion/[a-z0-9_-]*-c([0-9]+)\.html$ /orion/index.php?c=$1 [QSA,L,NC]
becomes :
- Code: Select all
# CATEGORIES
RewriteRule ^orion/[a-z0-9_-]*-c([0-9]+)\.html$ orion/index.php?c=$1 [QSA,L,NC]
and so on.
If none of this works, make sure you can use mod_rewrite on your host, and eventually play with the left slash :
# CATEGORIES
RewriteRule ^orion/[a-z0-9_-]*-c([0-9]+)\.html$ /orion/index.php?c=$1 [QSA,L,NC]
becomes :
# CATEGORIES
RewriteRule ^/?orion/[a-z0-9_-]*-c([0-9]+)\.html$ /orion/index.php?c=$1 [QSA,L,NC]
And with combinations (right and left slah etc ..).
Note that you only need to edit and test one rewriterule to find out the proper slash pattern for all.