302 redirect (temporary redirect)
-
Hello guys,
I have a stupid problem, i guess you solved long time ago.
After i crawl my website, i found out that i have 8k temporary redirect (302 redirect). All of them came from www.domain.com/enable-cookies, there are 8 k of this type.
I guess i am not first one with magento having this problem. Could you explain what happen in fact?
And more than that could you explain how to fix it? I bet people will find this thread important i will not be the last one with this problem
Thank you in advance.
With Respect,
Andrei
-
Thanks, i will stay calm, and wait :)))
-
Hello Shanaki,
I checked the http header response code for that URL and it returns a 301 redirect status code. In other words, the setting recommended above did work, but perhaps the SEOMoz crawler hasn't seen it yet.
-
SEOMoz does not crawl the web and return reports in real time. You may have to wait for the Mozscape index to refresh.
Hey, anyone remember when Google used to "dance" like that? Fun stuff. Popcorn-eating entertainment back then.
-
Already did, your suggestion i found on google too, thank you very much for confirming, but the strange thing is that nothing change SeoMoz said.
Thank you again.
-
It´s a magento "please enable" feature, that seems to have a unwanted side effect for crawlers like seomoz.
You find the setup in admin -> general -> web
Default is to redirect the visitor (without cookies enabled) to the default page called "Enable Cookies" set in. The cookie is needed for the cart module:
CMS No Cookies Page = Enable Cookies.
You can disable this with the setting: "NO" redirect in the bottom of admin -> general -> web and substitute it with a "YES" to show the notice alert on the top of the page to non cookie visitors.
Browser Capabilities Detection
<fieldset id="web_browser_capabilities" class="config collapseable">
Redirect to CMS-page if Cookies are Disabled -> No
Show Notice if JavaScript is Disabled -> Yes</fieldset>
This should fix the 302 redirects!!
-
Hello,
Thanks for reply.
I think i am explain badly.
My problem is that SeoMoz, give me around 8 k bad link, that links are internal.
This kind of link:
http://wo-men.ro/barbati/catalog/product_compare/add/product/100/uenc/aHR0cDovL3dvLW1lbi5yby9iYXJiYXRpL2JyYXRhcmktcGllbGUtYmFyYmF0aS5odG1s/
That add something to compare, add something in bag, that are cookies links, and i don`t know how to make them not to appear anymore or to make a 301 redirect somehow.
Thanks for reply again.
-
Do you control the domain these 302's are coming from?
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
-
301 redirects
I am in the process of truncating many of the URLs using a plugin installed on Wordpress. The question is does google penalize or have issues with too many 301 redirects on your site. I have many many products I want to do this with. I thought I read somewhere that 301 redirects should be held to a minimum. Would appreciate any assistance
On-Page Optimization | | xinar0 -
Apache .htaccess query string redirects
With regular redirect(s) the following URLs did not work, any ideas for the .htaccess code to make this work? http://www.domain.com/?view=featured redirect to http://www.domain.com/ http://www.domain.com/contact-us.html?view=message&layout=message&pf=1&redirect_on_success= to http://www.domain.com/contact-us.html and http://www.domain.com/login.html?return=aW5kZXgucGhwP29wdGlvbj1jb21fcGhvY2Fkb3dubG9hZCZ2aWV3PWNhdGVnb3J5JmlkPTEyOmNvbWJpbmUtZXZhbHVhdGlvbiZJdGVtaWQ9NzM4 to http://www.domain.com/login.htm Thanks guys! 🙂
On-Page Optimization | | vmialik0 -
How to 301 redirect, without access to .htaccess and to a new domain
There are few ways to do this and I would like to ask other Mozzers if they have found the best way. We have a site .co.uk and are moving it back to .com. However we do not have any access to the site folders for .co.uk. (We have to move it anyway as our provider is withdrawing their service). We have built our URL 301 redirect file and it is ready to go, but how to impliment it? We can repoint .co.uk to another site, and then redirect all traffic for each URL but this is quite messy, or just forget trying to 301 each page and just rediect the whole site.
On-Page Optimization | | BruceA
the .com has more authority already, but we ready do not want to frustrate visitors who are using a link to reach a product, only to find they hit our homepage and not the product. Your thoughts would be very welcome or other ideas Bruce0 -
My home page URL http://seadwellers.com/ redirects to http://www.seadwellers.com/. Is this a problem?
"The URL http://seadwellers.com/ redirects to http://www.seadwellers.com/. Do you want to crawl http://www.seadwellers.com/ instead?" I was given this when I tried to crawl my home page using MOZ software. I was not aware of this, do not know if it could be a problem concerning any aspect of SEO, etc? :
On-Page Optimization | | sdwellers0 -
Redirect closing established site to another established site.
We have 2 ecommerce websites with duplicate product/category content that have been around for years. "Site A" since 2004 and "Site B" since 2011. "Site B" doesn't generate many sells and we want to close the site in fear that it may look spammy to google and since we don't want to upkeep the site. Couple questions:
On-Page Optimization | | Tuurbo
1. Is it possible that "Site B" has damaged "Site A" with google since they are so similar?
2. Can i 301 redirect all of "Site B" to "Site A" without hurting "Site A"?
3. If question 2 is ok, should i use the "Change of Address" tool in google webmaster tools to point "Site B" to "Site A"? Thanks!0 -
301 vs 302 redirect
Hello Mozers, I have a website which offers subscriptions on a monthly basis, when one profile expires the link of the profile gets a 301 redirect to the main category, just that if the member chooses to come back after a while he can reactivate the profile and the link will work again and the 301 will disappear, Should I be doing 302 redirect, as from this point of view it's only a temporarily redirect ? Thanks in advance
On-Page Optimization | | asmedia0 -
The best way to redirect to www
What is the best way to redirect non www to www. I saw a lot of the solution. is this one ok? RewriteCond %{HTTP_HOST} !^www.seomoz.org [NC] RewriteRule (.*) http://www.seomoz.org/$1 [L,R=301]
On-Page Optimization | | bruki0