gaza165 Posted October 14, 2008 Share Posted October 14, 2008 I have made a rewrite rule for my login script i.e. http://www.thedesignmonkeys.co.uk/login however, i have a folder in my system, called login... so when i point to that location it will open the folder login instead of using my rewrite rule. Below is my .htaccess Options -Indexes RewriteEngine On RewriteRule ^portfolio$ portfolio.php RewriteRule ^home$ index.php RewriteRule ^blog$ blog.php RewriteRule ^login$ login/main.php RewriteRule ^blog/([^/\.]+)?$ fullblog.php?title=$1 RewriteRule blog/([0-9]*)/(.*) blog.php?search=$1&cat=$2 RewriteRule blog/([0-9]*)/(.*) blog.php?search=$2&cat=$2 RewriteRule ^register$ register.php thanks Garry Quote Link to comment https://forums.phpfreaks.com/topic/128359-htaccess-problem/ Share on other sites More sharing options...
Bendude14 Posted October 14, 2008 Share Posted October 14, 2008 Dont think this is the right forum for htaccess but anyways i have seen some people put a blank index.html page in there directories as to stop the contents of there directory been displayed. Quote Link to comment https://forums.phpfreaks.com/topic/128359-htaccess-problem/#findComment-664898 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.