Magento- Temporary Redirects
-
Hey guys!
My organization just launched an eCommerce site and we are receiving a lot of temporary redirect issues. How do you solve this issue (36k of them) within Magento Enterprise?
1. All settings have been changed to 301 redirects but I am still receiving the same errors during my crawl report.
2. Website URL = www.CanyonOS.com
Any support or advice is greatly appreciated! Oh and if you need any toner, you know where to go :)!
Sincerely,
-
The errors are appearing because users are immediately redirected to the login page. It doesn't actually matter whether these are 301 or 302 redirects because you're not looking to pass link equity anyway. The easiest way to deal with this is to tell crawlers (like Moz's and Google's) to ignore stuff they couldn't see anyway because it's only shown to logged-in users.
I generally block the /customer/* folder in robots.txt to avoid issues like this. And if you have a wishlist in the primary nav that's worth blocking, too. You could also just remove the Wish List link when users aren't logged in. The idea is to tell the crawlers to avoid any portion of the site where a login is required. So you could just upload a text file to canyonos.com/robots.txt that looks like this:
user-agent: *
disallow: /customer/
disallow: /wishlist/
These lines will block the entire folder, so you should only do it if there's nothing in the folder that search engines can see. In other words, use this line if everything in the folder is behind a login (it usually is in Magento).
Google's info is pretty good here:
https://developers.google.com/webmasters/control-crawl-index/docs/robots_txt?csw=1
-
Hi Umar,
Thank you for your response. We moved from an old WP site that we only used for B2B content, the site did not have any product content. We currently use MageWorx SEO Suite, but we have been unable to fix the redirect and duplicate page content issues.
Our last crawl report (moz) showed that we reduced the errors from 36k to 24k. All of the redirect issues are from wishlist, checkout, and comparing URLs.
Any suggestions?
Thank you for all your help!
-
Hey Bryce,
First of all best wishes for your site and I'll surely visit it to get a toner if you give me a good discount
Coming to your question, is it a new site or you moved the old one? For dealing all the redirection issues, my developer usually go with this extension and it's pretty good,
http://www.magentocommerce.com/magento-connect/optimise-web-s-mass-301-redirects-for-404-pages.htmlCould you please tell us which crawler report you're referring to, is it a Moz crawler or some other one? And, when you fixed it? As sometimes, it does take some time to report things correctly.
Umar
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
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
-
Unsolved Bug in site crawl analysis - 308 redirect flagged as temporary
Hi, we have some 308 redirects on our website, which are permanent redirects, but the site crawler is flagging them as temporary currently. Screenshot 2022-02-10 14.24.26.png
Moz Pro | | pm-mbc0 -
Redirect Chain
I moved my site to https a few months back using cloudflare and all went well site is now running on https fine I have recently also signed up to MozPro and it says I have a redirect chain on http://rogerlapin.co.uk I am not sure where to start looking to fix this? Site is running on Wordpress Also not sure how big of an issue it is as site is working ok? Bit confused as i used this http://www.redirect-checker.org/index.php and it reports no issues?
Moz Pro | | Rogerperk0 -
If I have set up my www as a cname, do I still need to add a redirect?
Hello, I am trying to minimize my redirect chains that have been popping up in my Moz crawl issues. So I'd like to get clear on some best practices. I have a few clients that are getting their first redesign in a while. We are moving into Wordpress from good ole .html files. So I've installed a redirection plug in to create 301 redirects for those .html versions of the pages. But apparently I am already redirecting from www to non-www. I have the www set up as a CNAME going to the IP address - is that counting as the redirection? Sometimes though, the www is set up by making it an A record. Is one way better than the other? Finally, I'm forcing https for all my new sites now. Is whatever the host does to "force" https also counting as a redirect and contributing to my chain? Any advice will be appreciated!
Moz Pro | | Dandelion0 -
Magento Dynamic Pages Being Indexed
Hi there, I have about 50k Moz medium priority errors in my Crawl Diagnostic report. The bulk of them are classified as "Temporary Redirect" problems. Then if you drill into those further, I can see that the problem urls all kinda are center around: mysite.com/catalogsearch/result.. mysite.com/wishlist.. mysite.com/catalog.. Is this something I should disallow in my Robstxt file? And if so how specific do I get with it.. Disallow /catalogsearch/result/?q= Will listing the /catalogsearch be enough to cover anything after it? thanks
Moz Pro | | Shop-Sq0 -
Rel=canonical "redirects" to double links
Our devs have set up rel=canonical on our website. First they used relative links href="/dir1/dir2/dir3" for the page http://www.mysite.com/dir1/dir2/dir3/?detail1=1?detail2=2 meaning that it will redirect to http://www.mysite.com/dir1/dir2/dir3, but no luck, the MOZ dashboard showed the tag value to be http://www.mysite.com/dir1/dir2/dir3/dir1/dir2/dir3, then we have decided to rewrite the code, and now the canonical to http://wwwmysite.com/dir1/dir2/dir3/?detail1=1?detail2=2 looks like href="http://www.mysite.com/dir1/dir2/dir3/" but the tag on MOZ looks like http://www.mysite.com/dir1/dir2/dir3http://www.mysite.com/dir1/dir2/dir3. So what is the problem? I really got a problem or MOZ does? The code on website looks exactly like href="http://www.aaa.com/en/bbb/ccc/vvv/nnn/" rel="canonical" /> for the page http://www.aaa.com/en/bbb/ccc/vvv/nnn/
Moz Pro | | apartmentGin0 -
How long will it take for Page Rank (or Page Authority) to flow via a 301 redirect?
I've recently redeveloped a static site using WordPress and have created 301 redirects for the original urls to the new urls. I know I won't get all the value passed via the 301, but I'm hoping some will. Any idea how long this may take? It's been nearly a month since the changeover so wondering if it would be weeks, months or more?
Moz Pro | | annomd0 -
Magento, SEOMOZ Toolbar not showing my HTML text, just shows CData code...
When I use the Mozbar on my homepage http://bootsjeansandleathers.com it just shows: // where it should show the HTML text of the page....anyone any ideas? Does this mean Google doesn't read my HTML text on the page!? Many thanks! mozbar.png
Moz Pro | | ebowdublin0 -
Is Open Site Explorer ignoring 301 redirects now?
I just recently saw a huge decline in the page rank of a specific page on my site. When I investigated a bit further I noticed that the drop in page rank looks like it is due to the fact that most of the links to the page come through 301 re-directs from an old page. I know you just made a change to Open Site Explorer. Did you change the way that you are treating 301 re-directs? Here is the new page: http://www.justjen.com/shop/big-sister-tshirts.htm Here is the old page: http://www.justjen.com/shop/bigsister-tshirts.htm Up until the last couple of days, the new page was showing the links from the old page in your cache, but as of today, the new page is only showing the links that go to it, not the links to the old page that is re-directed to it. If there was a change recently, was this intentional (trying to replicate the search engines better) or is it an oversight or database anomaly?
Moz Pro | | gametv0