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
-
How To Avoid Redirect Chains When Switching From http to https
I have been working on on-page SEO which has involved switching from http to https, and renaming URLs. I am running in to issues with redirect chains. Here is a scenario: Old URL: http://bwisecontractors.ca/products/decks-and-deck-covers/ New URL: https://bwisecontractors.ca/renos-additions/sunrooms-patio-covers/ Since I already created the redirect addressing the redirecting from http to https for the root domain: (http://bwisecontractors.ca to https://bwisecontractors.ca), should the redirect for the above be http://bwisecontractors.ca/products/decks-and-deck-covers/ to https://bwisecontractors.ca/renos-additions/sunrooms-patio-covers/ , or should it be http://bwisecontractors.ca/products/decks-and-deck-covers/ to http://bwisecontractors.ca/renos-additions/sunrooms-patio-covers/ (and the root domain redirect will take care of going from http to https)
On-Page Optimization | | BWiseContractors0 -
Help with Temporary Redirects on Pages
Hi Guys, My latest crawl shows this: "44% of site pages served 302 redirects during the last crawl" When I click this to investigate the issue I see: URL:
On-Page Optimization | | jeeyer
https://www.....
https://www.....
https://www.....
https://www.....
https://www..... And under Redirect URL:
http://www....
http://www....
http://www.... I've recently read an article from Yoast that this is a https:// to http:// redirect (ofcourse 😉 ).
but why is this an issue that needs to be solved and how do I solved it? Thanks again for your help and thoughts. Joost0 -
Should old pages that have being 301 redirected but have no/mimimal traffic be deleted?
In other words, I have pages from years ago that are redirected but how can I tell if traffic still flows through them? And if there is no or minimal traffic should the 301 be deleted? Linck
On-Page Optimization | | LinckB0 -
Redirect both / and non-/ URLs?
I am doing SEO on WP site. Due to some duplicate pages (rel canonical was done before) I am doing 301 redirects at the moment. And I wonder if I need to redirect both links w/ and w/o trailing slash. Default is non www, w/o trailing slash. Like there is .com/category/news but there is same page linked in .com/news (well it works when permalink structure is set to /%category%/%postname% and returns 404 error when structure is set to /%postname%).
On-Page Optimization | | OVJ
I redirected .lt/naujienos to .lt/category/naujienos. Should I also redirect .lt/naujienos/ (with trailing slash)? There's absolutely no problem redirecting this, but there are some more pages which I want to edit their URLs and I wonder If I should do both redirects from links /w and w/o slash?1 -
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 -
301 redirect and then keywords in URL
Hi, Matt Cutts says that 301 redirects, including the ones on internal pages, causes the loss of a little bit of link juice. But also, I know that keywords in the URL are very important. On our site, we've got unoptimized URLs (few keywords) in the internal pages. Is it worth doing a 301 redirect in order to optimize the URLs for each main page. 301 redirects are the only way we can do it on our premade cart For example (just an example) say our main (1 of the 4) keywords for the page is "brown shoes". I'm wondering if I should redirect something like shoes.com/shoecolors.html to shoes.com/brown-shoes.html In other words, with the loss of juice would we come out ahead? In what instances would we come out ahead?
On-Page Optimization | | BobGW0 -
Removed listings: 404, internal links or redirect?
For a classifieds web site with medium/high turnover for the various listings: How would you deal with pages of removed listings? a) would you be "honest" and return a 404 since the listing is not available anymore? b) would you maintain historical data about deleted listings so that you can try and 301 redirect to a relevant search results page? c) would you keep the page alive (maybe add a noindex meta tag?) and show links to multiple relevant search results pages in an effort to strengthen internal linking?
On-Page Optimization | | seo-cat0