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
-
Sudden Drop in Mobile Core Web Vitals
Web Vitals Screengrab.PNG For some reason, after all URLs being previously classified as Good, our Mobile Web Vitals report suddenly shifted to the above, and it doesn't correspond with any site changes on our end. Has anyone else experience something similar or have any idea what might have caused such a shift? Curiously I'm not seeing a drop in session duration, conversion rate etc. for mobile traffic despite the seemingly sudden change.
Technical SEO | | rwat0 -
403 Errors Issue
Hi, all! I've been working with a Wordpress site that I inherited that gets little to no organic traffic, despite being content rich, optimized, etc. I know there's something wrong on the backend but can't find a satisfactory culprit. When I emulate googlebot, most pages give me a 403 error. Also, google will not index many urls which makes sense and is a massive headache. All advice appreciated! The site is https://www.diamondit.pro/ It is specific to WP Engine, using GES (Global Edge Security) and WPWAF
Technical SEO | | SimpleSearch0 -
My Blog Post Not Appearing In Top - Covered every aspect of the topic
Hello Moz Team, hope everyone is doing well, I have question regarding mine blog post recently that I published: https://mobilemall.pk/blog/definition-of-cuboid-surface-area-volume-basic-properties/ My target keywords in this post are Cuboid Definition, Cuboid Surface Area, Cuboid Volume. I have considered and applied every good SEO practice, like H Tags, gave links to authority sites, featured image, other images, etc but my post is still not appearing in top 3, 5 or even 10 I have covered each and every aspect of the topic, Can anyone let me know what's the reason and any suggestion for me. Thanks!
Content Development | | JoeySolicitor1 -
What's the best Blogging platform
A year ago an SEO specialist evaluated my Wordpress site and said she had seen lower rankings for Wordpress sites--in general. We moved our site off any cms and design in html 5. Our blog, however, is still on Wordpress. I'm thinking about moving to the Ghost platform b/c I only a blog. The drawbacks are one author, no recent post lists, no meta tags. Is it worth it to move the site off Wordpress. Will it affect my rankings much if I have great content? Does anyone have experience with or opinions on Ghost?
Technical SEO | | RoxBrock0 -
How to keep old URL Juice During Site Switch
I am switching a local businesses website to a new template. The url structure will be different. What is the best way to not loose the old urls and what content should I serve on them? For example: The url oldwebsite.com/product-a will no longer exist when I switch to the new template. I dont want to loose the current page rank and associate seo juice. At the same time, I do not have the resources to remap every page to the correct new page. My initial thoughts are to just display the homepage content on all of the old urls. Is this a good practice?
Technical SEO | | bloomnation2 -
Should each new blog post be added to Sitemap.xml
Hello everyone, I have a website that has only static content. I have recently added a Blog to my website and I am wondering if I need to add each new Blog post to my Sitemap.xml file? Or is there another way/better way to get the Blog posting index? Any advice is greatly appreciated!
Technical SEO | | threebiz0 -
What do I do with an old site when a new one is built?
I have a customer that has a PR 4 website with over 3000 pages of content. He decided to build a brand new website with a new domain and it now has a PR of 2. Our question is, what do we do with the old site? Do we migrate all the content over to the new site and do redirects on all the pages? Do we keep the old site up and put links over to the new site? He was just planning on shutting it down but that seemed like a complete waste of PR and SEO. What is his best course of action? Thanks for your replies.
Technical SEO | | smartlinksolutions0 -
What are the impact of doing URL Rewriting instead of 301 redirections whille optimizing a blog?
In WordPress, with the ALL In ONE SEO pluggingm we've optimze the permalinks to show more keewords in the URL'. What can be the impact?
Technical SEO | | webit400