Jump to content

.htaccess problem


gaza165

Recommended Posts

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

 

 

Link to comment
https://forums.phpfreaks.com/topic/128359-htaccess-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.