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
-
Is it a good practice to reduce number of redirections (301) after a period of time?
Is it good to use disavow tool and get rid of old URLs i.e. links for pages and posts which we have deleted from our website and added 301 on them?
On-Page Optimization | | Ravi_Rana0 -
Combining products - edit existing product page or 301 redirect to new page?
We want to combine existing products - e.g. 'hand lotion' and 'body lotion' will become 'hand & body lotion'. As such, we'll need to combine the two product pages into one. What would be the best route to take in terms of SEO to do this? My initial reaction is to create a new product page and then 301 or 302 redirect the old products to the new product page depending on if the change is permanent or temporary. Would you agree? Or am I missing something?
On-Page Optimization | | SwankyApple1 -
301 Redirects - Large .htaccess file question
We are moving about 5000 pages from root into different folders. We need to individually 301 each page because the are sitting at root level now: mysite.com/page.com We want to move them to: mysite.com/folder/page.html etc I dont think redirect match can works because of the different files names and folders they are being moved in to. Will 5000 entries in .htacess slow site loading? Any other suggestions how to handle?
On-Page Optimization | | leadforms0 -
After HTTPS upgrade, should I change all internal links, or a general 301 redirect is better?
I recently upgraded to https. Of course most internal links of my old posts are still http. So I set up a 301 redirect in order to make the old link works. In terms od SEO this is good or it is better to update all the internal links to https, manually? In that case can I do it in batch with a search/replace command in the phmyadmin database? any other suggested method? thank you
On-Page Optimization | | micvitale0 -
How to redirect subdomain to new blog directory
I have moved my wordpress blog from a subdomain to a subdirectory /blog/ on my site. What is the best way to setup a redirect from the subdomain to the new /blog/ directory? Or should I just delete the subdomain blog and wait for google to index it on /blog/. I need to do one or the other so as not to run into duplicate content issues.
On-Page Optimization | | SamCUK0 -
Should I redirect mobile traffic to a different url? Will it hurt SEO?
I'm working on a site that has lots of great content and ranks well but essentially the money is generated by affiliate links. I don't have a mobile version of the site but the company I'm affiliated with does offer a mobile redirect to their domain. Will redirecting mobile traffic to a different url hurt my SEO? I think the user will get a better experience by landing on a mobile page but I don't know if google will see it like that. Any thoughts?
On-Page Optimization | | SamCUK0 -
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 -
Redirect and page ranking
We used to have a good page rank of Google, but now our page rank dropped to zero. A few months ago we did a redirect from our www.???.com to non-www.???.com, because non-www.???.com is now our main website. We also have a number of other domains which we redirect to our main website non-www.???.com Do you think these redirects are causing the problem, and if so what can we do to fix it? Thanks!
On-Page Optimization | | poupette0