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.. Link to comment https://forums.phpfreaks.com/topic/253288-htaccess-redirection-to-no-folder/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.