|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| 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
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
You have to have access to your server files (ftp / ssh / control panel / file upload utility of some sort) in order to set up redirects. If you are using something like blogger where it's hosted for you, then you won't be able to set those up.
The answer will also depend on which web server you're running... IIS and Apache handle it differently. If you're hosting it and can tell us which web server it's running, we can probably help you out. Brian.
__________________
ToolBarn.com, an Internet Retailer Top 500 and Inc. 500 Company | Tool Parts | Pet Supplies |
|
|||
|
It depends on whether your site is hosted on a UNIX system or Windows system.
Your webmaster should know how to do this without your needing to tell them--otherwise they are not a webmaster. In any case: On a UNIX system you need to tell your webmaster to set up an .htaccess file. The .htaccess file is a plain text file that goes in the root. If the entire web site has moved, you can do a single redirect that sends all visitors who try to go to the old location, to your home page at the new location: Code:
redirectMatch 301 ^(.*)$ http://www.newlocation.com/index.html Code:
Redirect 301 /blogfile.html http://www.newlocation.com/blogfile.html Code:
Redirect 301 /foldername/blogfile.html http://www.newlocation.com/foldername/blogfile.html http://internetresults.blogspot.com/...-redirect.html If your web site is hosted on a Windows system it is a little more complicated. The changes need to be made in IIS, and that is usually done by the system administrator. If you need to know about IIS, I can tell you more. |
|
|||
|
IIS
301 Redirects can be handled through IIS but the old file must still be on the server or a 404 error will take precedence. Just right click the file and select properties. Select "A redirection to a URL" and enter in the new URL. Make sure you check the radio button "A permenant redirection for this resource" or it will be a 302 - Temporary. ASP | .Net You can also 301 redirect via code such as ASP and response object which runs on IIS. In the end the same result as IIS transfers. The code would be placed in the old file. <% Response.StatusCode = 301; Response.StatusDescription = "301 Moved Permanently"; Response.RedirectLocation = "New URL"; Response.End(); %> Apache: I believe this can be accomplished in the .htaccess but I am a IIS server admin :-P After it is done you can test the header response. DMC
__________________
Quality Christmas Gift Baskets for the holiday at TGBP. |
|
|||
|
I currently use a redirect script to handle all the redirects on my site. It's a lot easier than hand coding them individually especially if you have a lot of them as I do.
If you want to read more about it I suggest you visit : http://www.webpageaddons.com/redirect-script.htm and judge for yourself. It certainly solved a big problem for me. Andy |
|
|||
|
Quote:
Brian.
__________________
ToolBarn.com, an Internet Retailer Top 500 and Inc. 500 Company | Tool Parts | Pet Supplies |
|
|||
|
Meta tag refreshes aren't recognized by all engines, so the standard redirect is better. Google and Yahoo understand them for sure, but I'm not entirely positive on anyone else. If you don't have the option of a standard 301 redirect, then meta refreshes would be a distant second choice.
Brian.
__________________
ToolBarn.com, an Internet Retailer Top 500 and Inc. 500 Company | Tool Parts | Pet Supplies |
|
|||
|
I know MSN recognizes a meta refresh they offer it as a option for the 301
http://search.msn.com/docs/siteowner...directcode.htm Now what im not sure is the time. Would you want the refresh every second? I put mine at 20 seconds. |
|
|||
|
Quote:
If you're moving a page, it doesn't make sense to have someone look at the old page for 20 seconds first, so set the time low and get them to the new stuff ASAP. If you're refreshing a page for new content, then 20 seconds is probably too often. I can't read much of a site in 20 seconds, and IE restarts you at the top each time. If you have a specific URL you'd want me to look at and tell you if the timing seems right, let me know. Otherwise I hope I answered your question. Brian.
__________________
ToolBarn.com, an Internet Retailer Top 500 and Inc. 500 Company | Tool Parts | Pet Supplies |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |