Our clients Magento 2 site has lots of obsolete categories. Advice on SEO best practice for setting server level redirects so I can delete them?
-
Our client's Magento website has been running for at least a decade, so has a lot of old legacy categories for Brands they no longer carry.
We're looking to trim down the amount of unnecessary URL Redirects in Magento, so my question is:
Is there a way that is SEO efficient to setup permanent redirects at a server level (nginx) that Google will crawl to allow us at some point to delete the categories and Magento URL Redirects?
If this is a good practice can you at some point then delete the server redirects as google has marked them as permanent?
-
@Breemcc Setting up a 410 redirect would be the best option here, I've found.
A 410 redirect is a type of HTTP status code that tells search engines that a page has been deleted permanently and that there is no replacement for it. This is different from a 301 redirect, which tells search engines that a page has been moved to a new location.
Google recommends using 410 redirects for deleted categories in an online store because they help to improve the user experience and the search engine's ability to index the website.
When a user clicks on a link to a deleted category, they will be redirected to a 410 page. This page will tell them that the category has been deleted and that there is no replacement for it.
This is a better experience than having the user land on a 404 page, which is a page that does not exist. Especially since you can control the UX of the page to deliver better suggestions for the user that are current.
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
-
Over Optimised Magento Pages
We are working on a clients Magento site and we've added new copy which has a decent keyword density which is in line with best practice. When we run it through Moz we are getting a Key Word Stuffing alert saying the page has 27 keywords, where we can only see about 11. This is the page https://www.greatbeanbags.com/bean-bag-cushions The client is pushing back saying the page must have already been optimised before as our new copy has triggered the stuffing alert. But my guess is the page was already stuffed but buy some Magento code we can't see. Any ideas? #magento #Keyworddensity
Content Development | | Marketing_Optimist0 -
Topic Cluster: URL Best Practices
I'm trying to be mature and employ the Topic Cluster strategy to my content. In doing so I realized there are a few URL options. Some more difficult to execute than others. -Is it important to call out the Pillar Topic in your subtopic URL?
Technical SEO | | dkellyagile
-Does the Pillar Topic need to have its own landing page? (As opposed to just being part of the blog.) Here's an Example: My Pillar is: Inbound vs. Outbound
My subtopic is: Marketing Platforms Here are the URL options I can think of... Option 1: https://pipelineinbound.com/blog/inbound-vs-outbound-marketing-platforms/ Option 2: https://pipelineinbound.com/blog/which-marketing-platforms/ Option 3: https://pipelineinbound.com/blog/marketing-platforms-inbound-vs-outbound/ Option 4 (Hardest): https://pipelineinbound.com/inbound-vs-outbound/marketing-platforms/ Are there some fundamental best practices for URL structure and Link Building as it pertains to Topic Clusters? Thanks!0 -
Where and how much; Schema best practices.
Couple of schema questions: Should I 'only' mark up the contact page, as this has the most information? What about the header and footer, should I tag everything there also? If I do mark up the header, footer, and contact page, I end up with 3 "LocalBusiness" entries in Google testing tool, is that bad?
Technical SEO | | MichaelGregory0 -
Best practice for eCommerce site migration, should I 301 redirect or match URLs on new site
Hi Guys, I have been struggling with this one for quite some time. I am no SEO expert like many of you, rather just a small business owner trying to do the right thing, so forgive me if I say something that makes no sense 🙂 I am moving our eCommerce store from one platform to another, in the process the store is getting a massive face lift. The part I am struggling with is whether I should keep my existing URL structure in place or use 301 redirects to create a cleaner looking URLs. Currently the URLs are a little long and I would love to move to a /category/product_name type format. Of course the goal is not to lose ranking in the process, I rank pretty well for several competitive phrases and do not want to create a negative impact. How would you guys handle this? Thanks, Dinesh
Technical SEO | | MyFairyTaleBooks0 -
Can these Yoast SEO integration issued be solved?
I had a site analysis done by the Yoast team. Of course, one of their recommendations was to install the Yoast SEO product. I see that there are many independent sources highly recommending it. But my programming is coming back with some concerns. My website is www.heartspm.com, for anyone who is interested in further analysis of my issue. My programmer's notes follow. Unfortunately, they are a bit to cryptic: "1. it does not do all for us anyway, so we'd have to keep the one's I made
Technical SEO | | GerryWeitz
before anyway, at least partially, but it will add up to complexety, loading
time as all new, and especially one-size-fits all plugins 2. another problem - Simple Press forum. Yoast does not have an extention for it, nor is it going to work along with our existing forum's SEO handling solution. So, it's
either reverting back to original SEO handling or forgetting Yoast. 3. original handling means no meta description although I think Yoast will put just
one description for each page, and title will be something like "<forum <br="">title> - <topic title="">whatever else you may want" 4. the same thing with XML sitemap 5. we won't be able to use Yoast's because it won't handle cities 6. and hopefully it will work with our existing XML sitemap solution as this can be turned off" Now, The Yoast team admitted and logically said that the Yoast plugin cannot support another plugin and therefore it does not support forums. We currently integrate the forum into our Wordpress site and perhaps imperfectly, but we are able to append forum links to the xml sitemap. Do any of you have insight into how one incorporates a forum into a Wordpress blog while using Yoast SEO?</topic></forum> We have special parameter based handling of cities. We used to pass codes like city=?zip and the like. Now, the URLS are very clean looking, but they use templates to match up cities in a city table with content that is somewhat similar, yet customizable. So my programmer seems to be saying that the Yoast tool doesn't seem to handle templates well or is not able to interpret it and get it into a sitemap. Do any of you have insight into using Yoast SEO with Wordpress sites that use templates and variables for locals or something of a similar nature? The Yoast SEO module also has switches to help resolve issues with duplicate content and archives and authors and multiple pages, i.e. page 1-10 of Latest News. If I can't use the whole Yoast module, are there ways to use only parts of it or to strip it down to what I want? Do you think with the above considerations, that the Yoast SEO module is not worth the trouble? Thanks in advance, Humbly, Gerry0 -
Product landing page URL's for e-commerce sites - best practices?
Hi all I have built many e-commerce websites over the years and with each one, I learn something new and apply to the next site and so on. Lets call it continuous review and improvement! I have always structured my URL's to the product landing pages as such: mydomain.com/top-category => mydomain.com/top-category/sub-category => mydomain.com/top-category/sub-category/product-name Now this has always worked fine for me but I see more an more of the following happening: mydomain.com/top-category => mydomain.com/top-category/sub-category => mydomain.com/product-name Now I have read many believe that the longer the URL, the less SEO impact it may have and other comments saying it is better to have the just the product URL on the final page and leave out the categories for one reason or another. I could probably spend days looking around the internet for peoples opinions so I thought I would ask on SEOmoz and see what other people tend to use and maybe establish the reasons for your choices? One of the main reasons I include the categories within my final URL to the product is simply to detect if a product name exists in multiple categories on the site - I need to show the correct product to the user. I have built sites which actually have the same product name (created by the author) in multiple areas of the site but they are actually different products, not duplicate content. I therefore cannot see a way around not having the categories in the URL to help detect which product we want to show to the user. Any thoughts?
Technical SEO | | yousayjump0 -
Delete 301 redirected pages from server after redirect is in place?
Should I remove the redirected old pages from my site after the redirects are in place? Google is hating the redirects and we have tanked. I did over 50 redirects this week, consolidating content and making one great page our of 3-10 pages with very little content per page. But the old pages are still visible to google's bot. Also, I have not put a rel canonical to itself on the new pages. Is that necessary? Thanks! Jean
Technical SEO | | JeanYates0 -
Merging several sites into one - best practice
I had 2 sites on the web (www.physicseditor.de, www.texutrepacker.com) and decided to move them all under one single domain (www.codeandweb.com) Both sites were ranking very good for several keywords. I not redirected the most important pages from the old domains with a 301 redirect to the new subpages (www.texturepacker.com => www.codeandweb.com/texturepacker) Google still delivers the old domains but the redirect take people directly to the new content. I've already submitted the new site map to google webmaster tools. Pages are already in the index but do not really show up in the search results. How long does it take until google accepts the new domain and delivers the new content in the search results? Was it ok what I did? Or is there some room for improvement? SeoMoz will of course not find any information about the new page since it is not yet directly linked in google. But I can't get ranking information for the "old" pages since SeoMoz tells me that it can't crawl the old domains....
Technical SEO | | gossi740