Hi, I have a page for example http://yoursite.com/folder/xyz.php.I have to redirect this page to http://yoursite.com/folder/content.php?url=xyz.php. How can i do this using htaccess.Pls help.. Regards Rekha
here is what you should be doing Code: ## Only apply for one folder RewriteCond %{HTTP_HOST} yoursite\.com/\/folder\/$ [NC] RewriteRule ^([A-Za-z\.]+)$ http://yoursite.com/folder/content.php?url=$1 [QSA,L]
Hi, Yes.If i enter some strings in .htaccess file and run it i am getting internal server error.This means that the server is supporting htaccess.
Thanks for ur reply after a long time.When i redirect to some other domain it is working.The issue is when i redirect it to the file which was also in the same folder.This is the problem. Regards Rekha