I have this in my htaccess file
- Code: Select all
Options -Indexes
ErrorDocument 401 /customerrors/401.html
ErrorDocument 403 /customerrors/403.html
ErrorDocument 400 /customerrors/400.html
ErrorDocument 500 /customerrors/500.html
ErrorDocument 404 /customerrors/404.html
Options +FollowSymLinks -MultiViews
RewriteEngine On
RewriteRule ^merch/merchant/([^/]+)/?$ merch.php?merchant=$1 [QSA,L]
and my link for toys is this on my website
/merch/merchant/toys
Could it be that I'm on a shared hosting and they don't allow mod rewrite in htacces? Is there a way to check, because they kind of have not been helpful in the past when I ask.
ps I also tried this removing all those custom errors and just this
- Code: Select all
Options +FollowSymLinks -MultiViews
RewriteEngine On
RewriteRule ^merch/merchant/([^/]+)/?$ merch.php?merchant=$1 [QSA,L]
and still did the same error.