Forum Moderators: phranque
In morning I did this and copied to server using ftp and renamed it as .htaccess , was checking some mod_rewrite stuffs.
RewriteEngine on
RewriteRule ^categoriesid([^.]+).* /categories.php?cat_id=$1
[T=application/x-httpd-php]
At that time it was working fine and after few hours when I check my site, it is not opening. So I deleted .htaccess file (still is not opening) , does it take time to reflect the effects or Did I do something wrong?
You suggestion and help will be highly appreciated.
Thanks
AjiNIMC
Flush your browser cache after any change to httpd.conf or .htaccess that might affect access control.
A possible problem with your code is that RewriteRule and its parameters should all be on one line. What you have posted shows three lines.
Jim