1. This website uses cookies to improve service and provide a tailored user experience. By using this site, you agree to this use. See our Cookie Policy.
    Dismiss Notice

Coders: Unique Redirect Issue

Discussion in 'White Hat SEO' started by nickwashere, Mar 1, 2010.

  1. nickwashere

    nickwashere Newbie

    Jun 30, 2009
    Likes Received:
    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
  2. SpamHat

    SpamHat Junior Member Premium Member

    Apr 27, 2009
    Likes Received:
    "server variables"?

    Just use htaccess and mod_rewrite. 2 second fix.

    Or in index.asp check the REQUEST_URI and redirect based on that.
  3. anodyne

    anodyne Newbie

    Apr 5, 2008
    Likes Received:
    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.