![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I'm trying to find a way to 301 redirect URLs that contain session IDs to their correct pages. The site is ASP.NET on IIS. The URLs with session IDs look like this: http://www.example.com/(S(1d22abcdef...e.aspx?id=1234 That should 301 redirect to: www.example.com/directory/file_name.aspx?id=1234 Both are indexed by Google. Is there a way to do it? Robots.txt is another option, but it would be better to redirect. |
#3
| |||
| |||
|
|
This is what we use: http://www.isapirewrite.com/ It's a free url rewriter that works much like Apaches Mod Rewrite. You should be able to map it as it has a regex engine. mobile_1 wrote: I'm trying to find a way to 301 redirect URLs that contain session IDs to their correct pages. The site is ASP.NET on IIS. The URLs with session IDs look like this: http://www.example.com/(S(1d22abcdef...e.aspx?id=1234 That should 301 redirect to: www.example.com/directory/file_name.aspx?id=1234 Both are indexed by Google. Is there a way to do it? Robots.txt is another option, but it would be better to redirect. |
#4
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |