homepage Welcome to WebmasterWorld Guest from 54.226.213.228
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Marketing and Biz Dev / General Search Engine Marketing Issues
Forum Library, Charter, Moderators: mademetop

General Search Engine Marketing Issues Forum

    
Redirecting a domain to a sub-page
What's the best way to do it on IIS?
erthworm




msg:233304
 6:52 pm on Jul 2, 2003 (gmt 0)

A client of mine has two domain names that they want to direct to subdirectories of their primary domain. Currently, they have an ASP page with a response.redirect directive that redirects the page based on what domain the user used to get there.

How will the search engines view this redirect, and is there a better way to achieve the same result? I know there's a lot on WW about redirects, so if someone can point me the right direction, that might be all I need.

 

webdevsf




msg:233305
 7:39 pm on Jul 2, 2003 (gmt 0)

The search engines will most likely just follow the link. You might lose a little PR, but it won't be a big deal.

However, if you want it to be "seemless" - ie, the url only has:

foo.domain.com instead of domain.com/foo

you should consider using a URL Rewriting tool. That essentially does what your redirect does, without actually forcing a redirect. Ie, the request comes in as

foo.domain.com

ASP sees it as www.domain.com/foo

Try ISAPIRewrite, etc. THere are some free tools, and some free code to write your own regexps to do this if you want as well. just google to "url rewrite iis".

erthworm




msg:233306
 8:20 pm on Jul 2, 2003 (gmt 0)

thanks webdevsf. i'll give it a shot.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Marketing and Biz Dev / General Search Engine Marketing Issues
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved