Coders: Unique Redirect Issue

nickwashere

Newbie
Joined
Jun 30, 2009
Messages
2
Reaction score
0
A client we just picked up has a bit of a problem. For some reason the past web management company pointed links to www domain com /index.asp. So now the index.asp is looked at by search engines as a separate page on the website and has it's own PR and Keyword Rankings different from the www domain com.

Simply a matter of redirection in .asp?

We thought so too...

We have http :// domain com redirected to http :// www domain com with no problem, but we don't have http :// www domain com/index.asp redirected to http :// www domain com. Because every attempt has left us with an infinite loop.

We believe it comes down to server variables. The server sees /index.asp weather it is in the URL or not. So trying to redirect /index.asp to www domain com results in the server seeing /index.asp redirect to /index.asp...

We have tried many different ways, but they all involve server variables and lead to the same loop. We googled it out the ass and paid a few coders to try to fix it. All to no solution.

(note: We can not use ISS for this)

Anyone have any ideas? Something without using server variables?

- Nick
 
"server variables"?

Just use htaccess and mod_rewrite. 2 second fix.

Or in index.asp check the REQUEST_URI and redirect based on that.
 
(note: We can not use ISS for this)

I had a response typed up and then saw your note... I am assuming you meant IIS? If that is the case, what is preventing you from using it? If it's an access / permissions issue, can you pass along instructions to whoever manages the server and have them make the changes? If I am understanding what you are trying to accomplish, this should all be able to be managed through IIS pretty easily.
 
Back
Top