302 redirects, canonicalise or redirect (301)?
-
Hey Guys,
I am fairly new to 'technical' SEO as I was lucky enough in my old role to have technical expertise in the team for things like this, now I am learning myself and it is a slow and painful process, so your expertise is soooo much appreciated! My I.T. dept say that I have 3 instances on my website where the Hybris platform is creating a 302 redirect automatically - the first:
- URL doesn't exist - Hybris creates a temp 302 - the system does not create case sensitive url's
| http://www.example.fr/Example/Marques/0180/brand/CHANEL | URL doesn't exist | TRUE | 302 |
| http://www.example.fr/Example/Marques/0015/brand/Giorgio-Armani | URL doesn't exist | TRUE | 302 |
| http://www.example.fr/fr/Example/marken/0507/brand/lancome | URL doesn't exist | TRUE | 302 |I believe these are being redirected due to the fact that capital letters are being created in the url.
- Multi-lingual redirects
I have a German and French version of my site and whenever any switches from one URL to the other using our language selector a 302 is created.
- Dynamic URL elements
Dynamic url elements and special characters are being created in the URL, I am not sure where this is happening, but my I.T. department would like me to go and see whether this is something that can be created by a browser.
If anyone has any similar problems or have any advice or insights even, I would love to hear from you! Thanks
-
Thank you Ethan, Yes I will recommend a 301 redirect to the I.T. guys, but I do think that my I.T. guys wont like me much
Please can I ask - why would I need to create more content to canonicalise it if I already have two url's? Would I not just add code to both pages?
If the page 1 url exists and temp redirects it to the page 2 url, would I not just add code to both pages? Or if I add code to the page 1 url, would it be exactly the same to the other variations?
Please teach me this as I will need to explain it to the I.T. dept as this was there recommendations. I think I will most definitely need tech help moving forward!
Thanks a lot for your time!
-
Thanks Patrick,
This is indeed helpful. I have read these links; SO:
-
Redirects should be 301.
-
I need to add href lang tags (for google and bing) on my website and I need to look more into geo targeting in more detail.
- Do you recommend I need to find out why these urls are being created? and yes this has also crossed over with the duplicate content project we are running too. But 301's are a solution until I figure out why these url's are being created so we can get it fixed.
I will check the sitemap today.
Thanks for your advice
-
-
Hi there
I recommend learning the best practices for redirects, as well as hreflang attributes and language tags - you should also read into country targeting your sites in Google and Bing - this is a big deal for international SEO and targeting.
I would also look into your dynamic URLs by reading through this resource from Google on potential duplicate content - this will help you categorize and manage your URLs, helping Google understand their purpose. You should also check your internal links and sitemap to make sure that there are not dynamic URLs listed there.
This will require your web development team as well, so make sure they read and understand these resources, both for current and future situations. Some of this has the tendency to get pretty technical and indepth so if you need help, know that Moz has a fantastic Recommended Companies page to help.
That being said, 301 redirects are preferred by search engines, 302s passes 0% link juice and most cases should not be used, and all URLs (and their dynamic variations) should have a canonical tag to the preferred URL.
Hope this helps! Good luck!
-
Do a 301, there's no need to create more content just to canonicalize it. 302's aren't too bad, but the permanent redirect is best practice.
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
-
Help with 302 Temporary Redirect warning via MOZ crawl
Hi Guys, This is my first post so hopefully I'm using the forum correctly. MOZ crawl tells me that I have 35 pages with a temporary redirect The URL column displays 302 Found along with the http:// URL Redirection Location column shows the corresponding https:// URL This all seems pretty self explanatory. However, I’ve checked my .htaccess file and I can’t see any 302 references in it. I'm trying to figure out where the 302 redirects are from and how I can make them permanent Please can anyone help me out? My .htaccess looks like it needs a little tidy (there are 2 if blocks) <ifmodule mod_rewrite.c="">RewriteEngine On
Web Design | | ianalannash
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.mysite.com/$1 [R,L]</ifmodule> BEGIN WordPress <ifmodule mod_rewrite.c="">RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
RewriteCond %{HTTP_HOST} ^mysite.com$ [NC]
RewriteRule ^(.*)$ http://www.mysite.com/$1 [R=301,L]</ifmodule> END WordPress0 -
Could a redirecting a homepage mess with seo? if so is there any documentation you could point me too? Thanks!
I have a global page for our site but the global site has the exact same content as the main navigation personal page. If I redirect /index to /personal how much seo damage are we doing?
Web Design | | Miguelquirarte0 -
Looking to remove SSL because it is causing very slow website download speeds. Does WP have a plugin that redirects SSL urls to non SSL urls?
After some extended debate with our web development team we are considering dropping the SSL from our website because it is adding almost 2 additional seconds to our download speeds. We know there is a SEO boost from having a SSL but we believe the extended download speeds maybe outweighing the benefit. However we are concerned about the SEO implications of having no method possible of redirect SSL to non SSL webpages. Does anybody know of a Wordpress Plugin that can force redirect SSL urls to non SSL urls?
Web Design | | RosemaryB0 -
301 htaccess redirect or 301 HTTP DNS Redirect
Hi, I was wondering which you would recommend for a 301 redirect. Should we do a 301 redirect from .htacess or should we do a HTTP DNS 301 redirect. The HTTP redirect, does a redirect from the DNS Provider and doesn't require that we keep hosting the site while the htacess redirect still requires hosting. Thanks!
Web Design | | MattJD0 -
How to redirect special pages to new domain?
Hello. I have 2 websites in diffrent category and i want to move some of my visitor that arrived in specific page of doamin1 (url like this: http://example.com/pages/.........)to root of domain 2.
Web Design | | vahidafshari450 -
Is it worth keeping .html even if 301'ing
We're going from static to a wordpress based ecommerce site. While we can append .html to urls the directory structure will change so that www.oursite.com/productname.html goes to www.oursite.com/product/productname.html My question is: Is it worth the trouble (from an seo perspective) of using a plugin to append new urls with .html when we're going to have to use 301 redirects anyway? If not should the urls have a trailing slash?
Web Design | | jbk3650 -
Is it OK to 301 Redirect http://homepage.com to http://blog.homepage.com?
I don't have a homepage built yet, and I suspect that my blog will be my primary SEO draw in the long term, so I'd like to do a 301 redirect (for the techies, I'm doing it in Django with http.HttpResponsePermanentRedirect ) I just wanted to confirm that this wouldn't cause any problems as Google gets used to my page (it's only been up for a few days) Thanks! -matt
Web Design | | 49wetnoodles0 -
Is it necessary to redirect every Error page (404 or 500) found?
If I have Hundreds of pages with 404 and 500 erros should set up 301 redirects for all of them? Some of the pages have external links, some don't.
Web Design | | jmansd0