Hi, url: http://localhost/dreamtutorials/tutorials/3 .htaccess code: Options +Indexes Options +FollowSymlinks RewriteEngine on RewriteBase /dreamtutorials/ RewriteRule ^/tutorials/(.*)$ tutorials.php?cat=$1 [L] Code (markup): And it should move you to: http://localhost/dreamtutorials/tutorials.php?cat=3 But it doesn't do anything, 404 not found mod_rewrite is loaded.
That's ridiculous. The host has absolutely nothing to do with mod_rewrite - it's an apache module that will function exactly the same, regardless of the hostname. kaisellgren, where are you putting that htaccess code? At a glance, I'd suggest trying it without the first slash in the RewriteRule - i.e. RewriteRule ^tutorials/(.*)$ tutorials.php?cat=$1 [L]
First of all mod_rewrite must be loaded at Apache's start time. So ask admins to see if the LoadModule and/or ActivateModule (where the case) for mod_rewrite is in place and not commented out.