Ok, i have a huge problem with mod_rewrite on my server. I have this piece of code in my .htaccess #RewriteRule ^gallery/([0-9]+)-([^/]*)/(.*)$ gallery.php?gal=$1&img=$3 [L] HTML: and as it is it should like http://www.mysite.com/gallery.php?gal=2 turned into http://www.mysite.com/gallery/name-of-the-gallery but i'am keeping get errors like 404, so please tell me can i fix this and how? Thank you in advance.
Read the sticky thread under this forum, sort of "All what you need to know about mod_rewrite but you were afraid to ask" http://forums.digitalpoint.com/showthread.php?t=23044
Does your htaccess look exactly as you wrote it in this post? Because you have used the "#"-character which transforms that line into a comment, not a rewrite rule. This would definetely make your browser go 404 on you.