Old Blogs
-
We have several blogs on our site for a range of products we no longer stock. Would you set up a redirect for these - and how long would you keep it in place?
-
@Caroline_Ardmoor Yes, it is generally recommended to set up redirects for blogs or any other pages that no longer exist or have been removed from your site. Redirects ensure that users and search engines are directed to relevant content instead of encountering broken links or errors.
To set up redirects, you can use the .htaccess file if you're using Apache server or utilize the redirection module if you're using Nginx. Here's an example of how to set up a redirect using the .htaccess file:
-
Open your .htaccess file located in the root directory of your website.
-
Add the following line to create a redirect:
Redirect 301 /old-blog-url.html http://www.example.com/new-blog-url.html
Replace "/old-blog-url.html" with the URL path of the old blog and "http://www.example.com/new-blog-url.html" with the URL of the corresponding new blog or an alternative relevant page.
- Save the .htaccess file.
Regarding how long you should keep the redirect in place, it depends on the specific circumstances. If you have permanently removed the product and its corresponding blog posts, a 301 redirect (as shown above) is appropriate, indicating that the content has permanently moved. In this case, it is generally recommended to keep the redirect in place indefinitely to maintain a good user experience and preserve any SEO value associated with the old URLs.
However, if there is a chance that the products or related content might return in the future, you may consider using a temporary redirect (302 or 307) instead. Temporary redirects indicate that the content has temporarily moved, and you can specify a shorter timeframe for keeping the redirect in place.
In any case, regularly monitoring your website's analytics and traffic patterns can help you assess whether the redirects are still necessary or if any updates are required based on user behavior.
-
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
-
SEO for products that are on sale in cubic meters (m³)
Hi All, I have some products that we sale that are defined by their cubic meters (m³) Question will Google prefer a URL with /bin/3m³ or /bin/3m3 Any suggestions would be great! Obviously for cleanliness I would prefer m³ over m3 Thanks
Technical SEO | | Redooo0 -
404s on subfolder - how to redirect?
Hi all,
Technical SEO | | MFSMarketing
we have a lot of 404s to subfolders. Eg
www.website.com/blog-post-title/imagename/
www.website.com/blog-post-title/author/ We don't have these subfolders or blog posts anymore.
How do i redirect them? These links (404s) don't seem to have any value or backlinks. Thanks,
Stef0 -
301 Redirects from example.com to store.example.com and then removing store.example.com subdomain
Hi I'm trying to wrap my head around the best approach for migrating our website. We're migrating from our example.com (joomla) site to our existing store.example.com (shopify) site... with the plan to finish the redirects/migration then remove the subdomain from shopify and use example.com moving forward. I've never done this and asking here to see if any harm will come from re-directing example.com URLs to store.example.com URL's then changing the store.example.com URL's to example.com. Right now my plan would run like this: redirect example.com URL's to store.example.com remove subdomain on store.example.com use example.com moving forward. wonder what happens next? Is there going to be any issues here, possible harm to the URL's?
Technical SEO | | Minarets0 -
Need some help understanding SEO - Please help before I lose [pull out] all my hair
I'm new to SEO, and am stubbornly trying to educate myself. I have a telescope shop in Canada, it's a small business that we run on the side. We're driving lots of traffic through FB and our outreach programs but I really want to increase our presence on search. We released a new website back in January and it killed some of our rankings. We're working our way back with a very specific set of efforts on regular SEO: Metadata and titles, although it seems that's not super relevant Building high quality backlinks and eliminating any spammy backlinks Rewriting product listings so that they are original content though I'm not sure how important this is in e-commerce Writing high quality articles and blog posts Working relevant keywords into our product pages and titles I understand that good SEO is about pushing on all the levers, and trying to make sure that your site is as valuable to the end user as possible. We're making some good progress, but I'm puzzled by the #1 shop in Canada. They don't put any apparent effort into SEO and they still rank #1 on every key product we compete with them on. I've worked with two separate, highly ranked and regarded SEO firms on this and neither has been able to tell my why this other site ranks so highly. Here's a specific example on a popular product that we both sell, the Celestron NexStar 8SE. Here’s the link to Telescope Canada’s page for their Celestron 8SE: https://telescopescanada.ca/products/celestron-nexstar-8se-computerized-telescope-11069 Here’s a link to the Celestron 8SE page from the manufacturer website: https://www.celestron.com/products/nexstar-8se-computerized-telescope Telescopes Canada has just copied and pasted. There is no original content aside from adding the shipping and return policy to the tab, and having some options for selecting accessories on the page. Here is our page: https://all-startelescope.com/products/celestron-nexstar-8se We have higher page authority, higher domain authority, and they keyword analyzer in moz says that our page is higher quality than the Telescopes Canada page. I can’t find a single metric on any tool (ubbersuggest, Moz, ahrefs, semrush) that says Telescopes Canada is a better site, or has a better NexStar 8SE product page. But they keep ranking ahead of us, and right at the top of google search. Our titles are good, our metadata is good (but I don’t think that’s been a serious ranking factor for about ten years). Our text is original, it’s relevant, we have healthy internal links to the page. According to Moz's page ranker it's 20 points higher than Telescope Canada's page. We have invensted in some excellent blog content, we’re adding new products to the website so that we rank for more keywords. All of those things are helping, but I fundamentally don’t understand why Telescopes Canada is #1 almost across the board on every key product in our market. There is something that I’m not seeing here. Can you see any metric, any tool in your toolbox that indicates why they rank at the top, or even higher than we do for in these search terms specific to that product: Celestron NexStar 8SE
Intermediate & Advanced SEO | | nkennett
NexStar 8SE
Celestron NexStar 8SE Canada
NexStar 8SE Canada I have a feeling it's something technical that I'm missing, but I'm not sure how obvious it is with two 'professional' firms not finding it. I'd really appreciate any help or insight that you can offer.0 -
Do old website files in the public_html effect SEO?
My client has about a dozen old folders filled with old websites including index files, robots, htaccess files. They are all located in separate files with in public_html. Does this effect them negatively?
Technical SEO | | Renalynd0 -
Google Appending Blog URL inbetween my homepage and product page is it issue with base url?
Hi All, Google Appending Blog URL inbetween my homepage and product page. Is it issue or base url or relative url? Can you pls guide me? Looking to both tiny url you will get my point what i am saying. Please help Thanks!
Technical SEO | | amu1230 -
SEO impact of an iframed blog is very low ? Right or wrong ?
We're thinking about adding a blog to our site, but our CMS blogging features are not good. Someone suggested using a wordpress blog and putting it in an iframe on our site. I replied that all the SEO impact of our blogging efforts will be lost because of the iframe. I am right or wrong ? If I am right, could you suggest better alternatives ? Thanks in advance ! Jean-François Monfette
Technical SEO | | jfmonfette0