Results 1 to 6 of 6
Dec 19, 2012, 07:12 #1
- Join Date
- Aug 2004
- 0 Post(s)
- 0 Thread(s)
URL rewrite - Dealing with the old urls
I am just in the process of implementing seo urls on my site (iis + isapi 3) and I have it working a treat using...
RewriteRule ^user/([^/]*)$ /profile.cfm?name=$1 [L]
RewriteRule ^user/([^/]*)/([^/]*)$ /profile.cfm?name=$1&nomobile=$2 [L]
now I have 2 questions.
1. Can I combine the 2 rules above into 1 more efficient rule? the 2nd picks up an optional extra url variable
2. How should I best deal with the old urls - these are out there and indexed by Google already - I need to deal with people who may use the old one? My thoughts are that if i implement an on page 301 it will get into an infinite loop of redirecting it to itself