Redirect Process for Moving a Blog
-
Hi, I've read several articles about the correct process for moving a blog from a subdomain to the main root domain but am not quite 100% sure as to what to do in our scenario. They were hosting their blog on Hubspot which puts the blog on a sub-domain "blog.rootdomain.com". Realizing it isn't benefiting the main website for SEO they want to move it to the main website. I understand we have to redirect the Hubspot "blog." pages to the new "rootdomain.com/blog" pages but when transferred over (it's a WordPress site) it shows the dates. So, the URL is "rootdomain.com/blog/year/month/title". They want to remove the date. Does that mean the URL must be re-written then redirected so that there's no date showing? There's over 300 posts which will have to be redirected from the Hubspot URLs. Is there a way to avoid setting up the second redirect to remove the dates or make it easier so it isn't one page at a time?
-
Thanks, Dan! That was the route I suspected i'd have to take but it helps to get validation!
-
Thanks, Donna! I'll make sure they are aware to choose the option
-
If I'm understanding the question here's what you'll need to do:
- Redirect the Hubspot blog URLs to the non-date URLs
- Redirect the Dated URLs to the non dated URLs.
So _instead of _ a set of redirect chains (like shown in my graphic here you'll end up with something like this) - because the dated URLs were already created and "out there" you will have to redirect them to the non-dated URLs as well.
In terms of doing this quickly/automatically since it's 300 URLs, I'd usually do something like this:
- Put the list of old Hubspot URLs in a spreadsheet column A
- Put the new dateless URLs in colum B
- Do some sort of matching work to get the appropriate URLs side by side so they match (what's done here depends on how your URLs are setup - maybe just alphabetical sorting will work)
- I usually use some concatenates etc to then create each line of Redirects for the .htaccess file
If you're working with Hubspot or something like a partner they should be able to help you with the technical lifting.
PS - My redirect images come from this post, which is about finding and fixing redirect chains
-
Hi there Wendy,
Wordpress allows you to specify a default permalink structure that will allow you to avoid inclusion of "/year/month/title".
In the left-hand menu select Settings > Permalinks. Choose the last option (custom) and append "/blog/%postname%/" after your domain name.
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
-
Schema for blogs
When I run a wordpress blog through the structured data testing tool I see that there is @type hentry. Is this enough for blogs etc? Is this a result of Wordpress adding in this markup? Do you recommend adding @blogposting type and if so why? What benefit to add a specific type of schema? How does it help in blogging? Thanks
Technical SEO | | AL123al4 -
Redirect for Soft 404 or 404?
I have a client site that displays properties from the MLS. Once these properties sell they're removed from the MLS and they stop showing up on her site. This would result in a 404 error, but right now any property that's not being found is being 301 redirected back to the property page. I see how this makes sense for a user, but Google is saying there's an increase in Soft 404 errors and I've read that this could negatively affect organic traffic. Should I keep the redirect for removed properties or should I have it serve a 404 with a message that the house you're looking for may have sold and link to the property page? Is it better to have Soft 404 errors or 404 errors?
Technical SEO | | JaredDetroit0 -
301 Redirects
Hi, We have migrated to a new domain name and I wrote my redirects as follows: Redirect 301 / http://www.healthpointe.net Redirect 301 /urgent_care_locations.shtml http://www.healthpointe.net/healthpointe-locations/ Redirect 301 /locations.shtml http://www.healthpointe.net/healthpointe-locations/ Redirect 301 /career_client_relations_rep.shtml http://www.healthpointe.net/careers/ My issue is that when I include the first redirect, which is to the main page of the website that the other redirects stop working. Any idea what the problem could be?
Technical SEO | | healthpointeseo0 -
Questions about the Sandbox and 301 Redirects
Does the sandbox still exist? What if you have a brand new URL and do a 301 redirect from another website because the name of the service business changed? Thanks for any insight and help.
Technical SEO | | SDSLaw0 -
Redirects in site map
I have a site with the ace/sef ( creates friendly URLS) in a large data base site. It creates a site map dynamically. Yet I realize one issue which I am trying to think through. I recently changed my urls to include an ID number example: homepage/houses/1134-big-blue-house The prior url was: homepage/houses/big-blue-house the original url above redirects to the new one with the ID like I want. However the site map has both URLS in it which go to same page I am not sure but it seems rather stupid to have the new URL and OLD redirected URL in the site map. Yet beside stupid I am wondering if this is duplicate content and will cause a penalty from the google bot. What is your opinion ?
Technical SEO | | aimiyo0 -
Does it matter if I leave image links pointing to old site when I move a wordpress blog?
Hi everyone I am moving a blog from one site to another. I have all the 301 redirects etc under control, but my question has to do with image links in the blogs. The image links all point over to the old site once the posts are copied over. Is this a major problem from an SEO perspective? Lots of links pointing out to an old site? It won't matter from the users perspective as I have 'none' for the image URL, so the user will never know. I will reload all the images if necessary but boy that will be a lot of work. Or is there a shortcut? Thanks very much Wendy
Technical SEO | | Chammy0 -
Free Blogs Backlinks
Hello I have a very basic question, hope you people don't mind answering this. I plan to create a 10 blogs with keyword specific domain name, where in footer i can place back-link pointing to my website and thought to run on C-Class IP's which will cost me of-course. Now 2nd option which will be free, where i can plan to have my blog on wordpress, Timblr, blogger etc free blogging website and use the backlinks from there and all will have different IP which will also best for SEO prospective. Can you suggest me which will be the best option to have blogs on owned domain name or free blogging site, keeping in mind this will be just s prospective to generate backlinks. Do recommend is this a genuine way to get backliks or its another spam, and where we will keep on updating the all blogs regularly. Thanks in Advance! Regards Danish Wadhwa
Technical SEO | | DanishWadhwa0 -
If a redirecting URL has more value than the website should I move it?
Client has two website addresses: Website A is a redirect to Website B. It has one indexed page. But this is the URL being used in collateral. It has the majority of back links, and citations everywhere list Website A as the URL. Website B is where the actual website lives. Google recognizes and indexes the 80+ pages. This website has very few backlinks going to it. This setup does not seem good for SEO. Moreover, the analytics data is completely messed up because Website B shows that the biggest referral source is... you guessed it Website A. I'm thinking going forward, I should: Move all the content from Website B to Website A. Setup Website B to permanently 301 Redirect to Website A. Is that the best course of action?
Technical SEO | | flowsimple0