Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Page 2 of 2 FirstFirst 1 2
Results 11 to 14 of 14
  1. #11
    Senior Member
    Join Date
    Mar 2010
    Posts
    104
    Member #
    21316
    Liked
    1 times
    So I can easily test this by creating the global.asax ... then go to the website and by typing in the other url variations, the website will always resolve to the chosen url?

    And then just another couple question:

    in that code above , surely I've got to add in the other url variations in here somewhere:

    If InStr(requestedDomain, "http://yoursite.com") Then

    requestedDomain = requestedDomain.Replace("http://yoursite.com", "http://www.yoursite.com")
    ?

    This won't affect my rankings negatively but positively?

  2.  

  3. #12
    Senior Member
    Join Date
    Mar 2010
    Posts
    104
    Member #
    21316
    Liked
    1 times
    Well I just did a test and typed in my domain name like http://domain.com and it didn't resolve to http://www.domain.com ?

  4. #13
    Senior Member
    Join Date
    Mar 2010
    Posts
    104
    Member #
    21316
    Liked
    1 times
    Anyone? I knew this wasn't going to be so simple

  5. #14
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,480
    Member #
    425
    Liked
    2784 times
    What site are you doing this on, and what does your global.asax file look like?

    Keep in mind too that the global.asax file is meant for use with .NET sites.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)


Page 2 of 2 FirstFirst 1 2

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Tags for this Thread

All times are GMT -6. The time now is 09:14 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2022 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com