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
-
Redesign Just Starting - Should I Leave The Previous Incomplete Site or Setup A Temporary Holding Page and Redirect Previous URL'S?
Hi All I've picked up a new website project and wanted to ask about the best way to proceed with the current site during the development process. The current site is incomplete although it has been live for a while and has over 80 pages in the sitemap. Link to site https://tinyurl.com/ychwftup The business owner wants to take down the current site and simply add a landing page stating "new website coming soon". From an SEO perspective, am I better to keep the current site live until the new site is ready? Or would it not make any difference if I setup the landing page and add 301 redirects from each page in the sitemap to the landing page. Many Thanks In Advance For Any Assistance
Web Design | | ruislip180 -
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 -
What should I know about redirecting users based on cookies?
Hi Moz! My client wants to redirect users to a basic or professional version of their site based on cookies. What do we need to do/know to make sure implementation is SEO-friendly? What if a user has cookies turned off? Are there any other obstacles? Thanks for reading!
Web Design | | DA20130 -
What is the longest you would go back to ressurrect links that should have been 301's?
I have never thought of anything beyond a site that was possibly developed a month or two ago, but an interesting possible client has come along and begs a question. They had their site "redesigned" in April 2014 and it appears whomever did the work did not realize what a 301 was for. Using ahrefs or MajesticSEO, they have gone from roughly 15,000 referring pages to 500 and the time line perfectly intersects the redesign. Sooooo, just wondering if any of you geniuses has ever gone back that far to try and pull off a 301.... I am actually just thinking of a link building / content marketing plan but thought it was an interesting question. Thanks for the help, Robert
Web Design | | RobertFisher1 -
Wordpress - redirecting tags
I just ran a webmaster tool from Yoast SEO premium and notice I have a lot of problems with tags (restricted-robots-txt) For example : http://www.soobumimphotography.com/tag/wedding-group-photo/ Do I have to redirect to http://www.soobumimphotography.com/wedding-group-photo/ Should I do this to each and every posts Thank you
Web Design | | soobumim0 -
301 forwarding during site migration problem - several url versions of the same page....
Hello, I'm migrating from an old site to a new site, and 301 forwarding many of the pages... My key problem is this I'm seeing www.website.com/ indexed in SE and www.website.com/default.aspx in showing as URL when I'm on homepage - should I simply 301 forward both of these? Then for several internal pages there are 2/3 versions of each page indexed. Canonicalization issues. Again, I'm wondering whether I should 301 forward each URL even if there are several different indexed URLs for the same page? Your advice will be welcome! Thanks in advance - Luke
Web Design | | McTaggart0 -
Should I create a microsite or will 301 be sufficient?
We have a client http://www.shedfinders.com/, new site and we are slowly building DA & PA for. However they have another domain industrialpropertyscotland (one of the keywords they want to rank for) Should we create a little microsite attached to the main site - Say "Your guide to buying industrial property in Scotland" or should we just stick to a 301 redirect and keep working on the main Shedfinders site? Thanks, Laura
Web Design | | lauratagdigital0