divinequran Posted December 16, 2011 Share Posted December 16, 2011 Dears, Consider I have a folder called docs mysite.com/docs/ I want to redirect some of the request to mysite.com/docs/word/index.php ==> here word folder doesnot exist(which is $1) mysite.com/docs/ppt/index.php ==> here ppt folder doesnot exist(which is $1) RewriteRule ^(.*)/index.php$ /docs/$1/all-ind.php?=$1 How this can be achieved? Please help.. Quote Link to comment https://forums.phpfreaks.com/topic/253288-htaccess-redirection-to-no-folder/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.