I am using a mod_rewrite rule to show ‘image.php?id=x’ to people visiting ‘image/x’
Options +FollowSymLinks
RewriteEngine on
RewriteBase /
RewriteRule ^image/([^/.]+)/?$ image.php?id=$1 [L]
This works great on a MAMP localhost but gives me a 404 on linux server (GoDaddy).
I’m not sure where I’m going wrong. The files are all in place on the server so I can’t figure out why this is an issue.
Any thought?
Thank you.
Try this:
Or try without the RewriteBase:
Or avoid GoDaddy. Just kidding.