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 -
After 301 redirection non-English keyword points to English language pages
We had multilingual website on .co.uk domain and somewhere in April, we've done 301 redirection from domain1.co.uk pages which were in Polish language to domain2.com/pl domain and now for some Polish keywords Google SERP sometimes shows English pages (.com) and sometimes polish pages (.com/pl). Previously co.uk/en had English content and that got redirected to .com. What could be the reason? Thank you for all responses.
On-Page Optimization | | Optimal_Strategies0 -
301 Redirect or landing page
Hi everyone. I'm currently doing some SEO for a client, at the moment he has some landing pages which are categorised, but the category is set as a 302 redirect. I have a dilemma whether to 301 redirect to the landing page or make a page for each category. The link structure is as follows - http://examplesite.co.uk/products/fire/company-1/product/ so currently this is set as a 302 redirect - http://examplesite.co.uk/products/fire/company-1/ Do I make this page a category page and link the page to the children with some on-page optimisation or 301 redirect it?
On-Page Optimization | | Unbranded_Lee0 -
How can I redirect anything after the article url to main article?
Hello everyone, When someone visits my websites article like http://www.website.com/article-title/lol , it give to 404 page error. But when someone http://www.website.com/article-title/ , it shows the article. The word "lol" can be changed to anything. I would like that to be redirected to the main article. Example: Someone visits website.com/article-title/lol, they should be redirected to website.com/article-title/ Is it possible to do so? If yes, please tell me how. Note: I'm using WordPress Thank you
On-Page Optimization | | hakhan2011 -
Should you 301, 302, or rel=canonical private pages?
What should you do with private 'logged in' pages from a seo perspective? They're not visible to crawlers and shouldn't be indexed, so what is best practice? Believe it or not, we have found quite a few back links to private pages and want to get the ranking benefit from them without them being indexed. Eg: http://twiends.com/settings (Only logged in user can see the page) 302 them: We can redirect users/crawlers temporarily, but I believe this is not ideal from a seo perspective? Do we lose the link juice to this page? 301 them: We can do a permanent redirect with a short cache time. We preserve most link juice now, but we probably mess up the users browser. Users trying to reach a private page while logged out may have issues reaching it after logged in. **Serve another page with rel=canonical tag: **We could serve back the home page without changing the URL. We use a canonical tag to tell the crawlers that it's a duplicate of the home page. We keep most of the link juice, and the browser is unaffected. Yes, a user might share that different URL now, but its unlikely. We've been doing 302's up until now, now we're testing the third option. How do others solve this problem? Is there a problem with it? Any advice appreciated.
On-Page Optimization | | dsumter0 -
Redirection
Hi all I have these domains active:
On-Page Optimization | | juanmiguelcr
www.piensapiensa.es
http://piensapiensa.es which redirects to www.piensapiensa.es via webmastertools
http://piensapiensa.com
www.piensapiensa.com which redirects to http://piensapiensa.com via webmastertools.
I want the last three items to redirect to www.piensapiensa.es Here is part of the code of the htaccess file that I have until now:
Options +FollowSymLinks +ExecCGI
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www.piensapiensa.es [NC]
RewriteRule (.*) http://www.piensapiensa.es/$1 [R=301,L] Thanks in advanced.0 -
Which is better, a directory 301 redirect or each page in the directory?
A customer of mine has a site with lots of articles and they are all quite spammy. They have not been affected by penguin yet so they asked what to do. I suggested losing the articles directory and 301 redirect to either the home page or another important page. Would a 301 redirect on the entire directory to a single page be the way to go or add redirects from each page within the directory and spread out redirects to various pages in website? Or do you have a better suggestion?
On-Page Optimization | | anthonytjm0 -
Redirecting to a keyword-rich domain URL
It's best practice to choose a domain that has keyword in it. But if someone has just launched a website and the domain name does not have keyword, is it better to purchase a new domain name that has a keyword in the name and redirect existing domain to the new domain? Will that help SEO? (This just launched website does not have any traffic or links yet.)
On-Page Optimization | | Amjath0