Redirect Error
-
Hello,
I was sent a report from a colleague containing redirect errors:
The link to "http://www.xxxx.com/old-page/" has resulted in HTTP redirection to "http://www.xxxx.com/new-page".Search engines can only pass page rankings and other relevant data through a single redirection hop. Using unnecessary redirects can have a negative impact on page ranking.
Our site is host on Microsoft Servers (IIS).
I'm not sure what is causing these errors.
Would it be the way the redirect was implemented.
-
as someone who does a lot of auditing, I need to say I'm confused by this somewhat.
"The link to "http://www.xxxx.com/old-page/" has resulted in HTTP redirection to "http://www.xxxx.com/new-page"
That's only one hop. Which is perfectly valid. So where are the "unnecessary redirects" that report is referring to?
By all means, if you have problems on the site, fixing them is always the proper course of action. I only wonder whether you really do have a problem.
Also, for the record, the claim "Search engines can only pass page rankings and other relevant data through a single redirection hop" is NOT true. While more than one hop can be harmful due to slowing Googlebot's crawl, and where multiple hops can slow user experience, which are OTHER, related possible problems for SEO, as long as the hops are kept to one, two, or perhaps three at most, you are sill going to be able to get the full individual page SEO value passed.
Note that this is true only if the new destination page has all of the same SEO signals the original page had. Because you can't magically pass SEO value from page A to page x just by using a redirect. Even if its just one redirect. If page x is significantly different than page A, that's going to change the trust score for the passed value.
Also here's a video from Matt Cutts regarding multiple hop redirects: http://www.youtube.com/watch?v=r1lVPrYoBkA
-
You would need to check the web.config file rather than htaccess as you mentioned your hosted on Microsoft Servers (IIS). Although the following answer is referring to WWW v non WWW the principal is the same:
http://moz.com/community/q/how-do-i-redirect-non-www-pages-to-www-on-a-windows-server#reply_36077
-
I would be curious to know the answer as well.
I was using a quick redirect plugin in Wordpress which I assumed was modifying the .htaccess file (not sure why I thought that). I found out it was not, and although the plugin was very convenient, hard coding the redirect into the .htaccess is much safer and much more effective.
The other thing I noticed when I looked into our .htaccess file was we had code that was rewriting the URI.
For example:
/tag/addiction-treatment/ was actually reading as /addiction-treatment/ so the actual 404 was incurring was on the /addiction-treatment/ page and the redirect needed to happen at /addiction-treatment/ not /tag/addiction-treatment/
Sorry if I jumped the gun a little bit, sometimes I get excited and I can't contain myself!
Hope that helps a ltitle.
-
Did you use a redirect on the page itself or did you use a 301/302 redirect using htaccess?
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Soft 404 error
Hello friends
Technical SEO | | industriestaedt
This is my site
https://www.alihosseini.org/ In the search console I have a soft 404 error
How can I fix this error?
I use WordPress0 -
301 Redirects
Hi, I have switched my site from a http .co.uk site to a https .com site. I have set a 301 redirect in the .htaccess file pointing all traffic going to the original .co.uk site to go to the new https: RewriteEngine on
Technical SEO | | imoprojects
RewriteCond %{HTTP_HOST} ^up-bus.co.uk$ [OR]
RewriteCond %{HTTP_HOST} ^www.up-bus.co.uk$
RewriteRule ^(.*)$ "https://www.up-bus.com/$1" [R=301,L] however when i search in google for keywords the original .co.uk site is still registering in search, is there something else I am required to do to tell google to use the new https site instead? Do i need to do redirects for every page, or is what I have done above sufficient? Hope you can help, I am struggling with getting our site to register on google search, any advice greatly welcome Thanks in advance, Ian0 -
Help with bing redirection error
Can somebody help me figure out this bing redirect error. The link to "http://w******/flea-control" has resulted in HTTP redirection to "http://w******/feas/flea-control/".Search engines can only pass page rankings and other relevant data through a single redirection hop. Using unnecessary redirects can have a negative impact on page ranking. I am using wordpress. I am actually linking to the /feas/flea-control/ version. I have looked every where for help. I got this error using bings seo toftware
Technical SEO | | OxzenMedia0 -
301 redirects
At the moment it's possible to access the home page of my website via two different urls, with and without www. and you've told me that this can be resolved with Canonicalization and a 301 redirect. Do I do this with my web hosting package or in my html pages? If I can't do it with my web host (1&1) then is there an idiot's guide of how to do it yourself? I've also got both the domain vamospaella.co.uk and vamospaella.com. Is it better to have one of these redirecting to the other for UK traffic (at the moment .co.uk redirects to .com) Thanks
Technical SEO | | melissa10 -
Thousands of 503 Errors
I was just checking Google Webmaster Tools for one of the first times (I know this should have been a regular habit). I noticed that on Feb 8th we had almost 80K errors of type 503. This is obviously very alarming because as far as I know our site was up and available that whole day. This makes me wonder if there is a firewall issue or something else that I'm not aware of. Any ideas for the best way to determine what's causing this? Thanks, Chris
Technical SEO | | osports0 -
301 Redirect Question
I'm working on a site that has a lot of indexed pages and backlinks to both domain.com and www.domain.com. Will using a 301 redirect to send domain.com to www.domain.com merge all of the indexed pages and links over to www.domain.com, thereby strengthening the www?
Technical SEO | | Yo_Adrian0 -
301-redirect
Hi My website is fairly new and i wasnt aware of the difference btw 'website.com' and 'www.website.com' when i started up. It doesnt matter which one i use as long as i am consistent right ? Most of my ingoing links are to mainpage on 'website.com'. I have som ingoing links to 'www.website.com' but also some to 'www.website.com/brandname'. is it enough to 301-redir 'www.website.com' to 'website.com' or does it need to be done on several levels ? I need to have someone do the redirect for me - how can i check its working when its done ? Dan Lærum
Technical SEO | | danlae0 -
Query String Redirection
In PHP, I'm wanting to store a session variable based upon a link that's clicked. I'm wanting to avoid query strings on pages that have content. My current workaround is to have a link with query strings to a php file that does nothing but snags the variables via $_GET, stores them into $_SESSION, and then redirects. For example, consider this script, that I have set up to force to a mobile version. Accessed via something like a href="forcemobile.php?url=(the current filename)" session_start(); //Location of vertstudios file on your localhost. Include trailing slash $loc = "http://localhost/web/vertstudios/"; //If GET variable not defined, this page is being accessed directly. //In that case, force to 404 page. Same case for if mobile session variable //not defined. if(!(isset($_GET["url"]) && isset($_SESSION["mobile"]))){ header("Location: http://www.vertstudios.com/404.php"); exit(); } //Snag the URL $url = $_GET["url"]; //Set the mobile session to true, and redirect to specified URL $_SESSION["mobile"] = true;header("Location: " . $loc . $url); ?> Will this circumvent the issue caused by using query strings?
Technical SEO | | JoeQuery0