iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar Mark Forums Read
Search Engine Optimization Forum SEO is much easier with help from peers and experts! The WebProWorld SEO forum is for the discussion and exploration of various search engine optimization topics. Any non (engine) specific SEO or SEM topics should go here.

Share Thread: & Tags

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-06-2004, 06:22 AM
WebProWorld New Member
 
Join Date: Aug 2004
Location: South Africa
Posts: 15
groenie RepRank 0
Default 301 redirect - which is best

I need to do a 301 redirect, and being quite new at this, would appreciate some advice.

According to me, there are two ways of doing this;
using IIS to do a permanent redirect,
using .htaccess file

Could someone please tell me what the difference is, and which is best?
Reply With Quote
  #2 (permalink)  
Old 10-06-2004, 07:07 AM
WebProWorld Pro
 
Join Date: Mar 2004
Location: UK
Posts: 203
buddhu RepRank 0
Default

I use htaccess for some of my sites, but then those are on Apache/*nix servers. I think the difference is that the htaccess is specific to that kind of setup. For a windows server I think you'd need to do the 301 in VBscript.

If you do run any Apache/*nix boxes you'll find the htaccess method works just fine - but don't bet your life that Yahoo! will cope with any kind of 301... :(
Reply With Quote
  #3 (permalink)  
Old 10-06-2004, 07:44 AM
WebProWorld New Member
 
Join Date: Aug 2004
Location: South Africa
Posts: 15
groenie RepRank 0
Default

Hi buddhu

IIS lets me do a permanent redirect without having to create an htaccess file. I need to know if it is physically necessary for me to put that file in the root directory, or if the search engines (excluding Yahoo!) would be fine with the IIS redirect, which is essentially a 301 redirect, without the htaccess file.
Reply With Quote
  #4 (permalink)  
Old 10-06-2004, 10:09 AM
WebProWorld Pro
 
Join Date: Mar 2004
Location: UK
Posts: 203
buddhu RepRank 0
Default

Yr best bet is probably to check out:

http://support.microsoft.com/default...313074&sd=tech

and IIS 301 redirection with ASP/VBscript is described quite comprehensively at:
http://www.seoconsultants.com/tips/asp/301.asp
Reply With Quote
  #5 (permalink)  
Old 10-06-2004, 10:11 AM
WebProWorld Pro
 
Join Date: Mar 2004
Location: UK
Posts: 203
buddhu RepRank 0
Default

Oh, and I'm pretty sure that not only do you not need .htaccess with the WIndows IIS server, it actually isn't an option, as it's a *nix only facility and isn't used by windows servers at all.

Someone please put me right if I'm mistaken there.
Reply With Quote
  #6 (permalink)  
Old 10-06-2004, 10:49 AM
WebProWorld Veteran
 
Join Date: May 2004
Location: London, UK
Posts: 552
pedstersplanet RepRank 0
Default

Quote:
Originally Posted by buddhu
For a windows server I think you'd need to do the 301 in VBscript.
Unless of course you have access to the Apache .conf file, then put it in there.

You can also use php.
__________________
Regards, Peter
UK Web Hosting | Website Directory
Reply With Quote
  #7 (permalink)  
Old 10-06-2004, 11:11 AM
achronister's Avatar
WebProWorld Veteran
 
Join Date: Oct 2003
Location: Kansas City
Posts: 303
achronister RepRank 0
Default

htaccess is only used on Apache servers. The easiest way to do a 301 on an IIS server is to open IIS admin console, click permanently redirect domain and tell it where to redirect to. This will give you the correct 301 header code.

There is no need for vb,asp, or any other code.
__________________
Aaron
http://www.themadhat.com
Reply With Quote
  #8 (permalink)  
Old 10-07-2004, 03:10 AM
WebProWorld New Member
 
Join Date: Aug 2004
Location: South Africa
Posts: 15
groenie RepRank 0
Default

Quote:
The easiest way to do a 301 on an IIS server is to open IIS admin console, click permanently redirect domain and tell it where to redirect to. This will give you the correct 301 header code.
I have done this, but wasn't sure if this is a proper 301 redirect. For safety sake I also put the htaccess file in the root of the site.

What would the consequences be of a person having 7 domains and redirecting them in this way to one domain/website? Would this be considered spam?
Reply With Quote
  #9 (permalink)  
Old 10-07-2004, 06:46 AM
WebProWorld Pro
 
Join Date: Mar 2004
Location: UK
Posts: 203
buddhu RepRank 0
Default

As I understand it, the 301 tells the search engines that the target URL of the 301 is the only one that should be crawled, indexed and ranked. Therefore you're not spamming as you're only trying to get them to "see" one domain.
Reply With Quote
Reply

  WebProWorld > Search Engines > Search Engine Optimization Forum

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 07:01 AM.



Search Engine Optimization by vBSEO 3.3.0