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
-
Moving a subdomain to subfolder with CNAME
Hi all, We have our docs in a subdomain on GitHub and looking to move it into a subfolder. Github offers the ability to redirect via CNAME https://gitbookio.gitbooks.io/documentation/platform/domains.html I am getting conflicting information on if this will work or cause duplicate content and hurt our SEO.
Technical SEO | | kate.hassey0 -
Can i do 301 redirect
So this is what im doing, 301 redirect to my site/allen-webdesign points to main domain Allen is the city i have a page called local-webdesign with all the cities. Will this improve my ranking or should i stop?
Technical SEO | | jsdfw0 -
Redirection in .htaccess
Hi All, The problem is with the .htaccess file I have written 301 redirection code for Apache server but once I upload .htaccess file from ftp the website is throwing 500 error. Please help as I'm new to the redirection files.
Technical SEO | | Bharath_ATZ0 -
Redirect Error
Hello, I was sent a report from a colleague containing redirect errors: The link to "http://www.xxxx.com/old-page/" has resulted in HTTP redirection to "http://www.xxxx.com/new-page".Search engines can only pass page rankings and other relevant data through a single redirection hop. Using unnecessary redirects can have a negative impact on page ranking. Our site is host on Microsoft Servers (IIS). I'm not sure what is causing these errors. Would it be the way the redirect was implemented.
Technical SEO | | 3mobileIreland0 -
Redirect root domain to www
I've been having issues with my keyword rankings with MOZ and this is what David at M0Z asked me to do below. Does anyone have a solution to this? I'm not 100% sure what to do. Does it hurt ranking to have a domain at the root or not? Can I 301 redirect a whole site or do I have to do individual pages. "Your campaign is looking for rankings for the www version of the campaign but the URL resolves as a root domain. This would explain the discrepancy. Since there is no re-direct between the two, you can have brickmarkers.com 301 re-direct to www.site.com which will prevent you from re-creating your campaign to track the root domain. Once the re-direct is in place it will take a while for Google to show the www version in the results in which your campaign rankings will be accurate." Thanks
Technical SEO | | SeaDrive0 -
What Happens to the Existing YouMoz Blog Post URL If It Is Promoted to the Main SEOmoz Blog?
Howdy SEOmoz Fans, Im wondering what happens to an existing YouMoz blog post if it gets promoted to the main SEOmoz blog? Does SEOmoz do a 301 redirect to the new URL? It seems like the old post disappears, but perhaps I'm not digging deep enough. Anyone have experience with this happening on SEOmoz? I'd like to know so I can figure out how to do something similar to that on one of my own sites (promoting UGC to a main blog). Thanks!
Technical SEO | | OrionGroup
~Scott0 -
Keyword ranking not moving
Hello, We have a very important keyword for our website (www.decorplanet.com) that hasn't moved in any direction in over a year. The keyword is "bathroom vanities". Our current SEO company has told us that the previous company has "over- optimized/linked" for this particular keyword and now Google is penalizing us for this. They told us that we need to leave it alone for a while and concentrate on other keywords and this one should naturally come back up (I should mention that at some point, we were much higher than where we are right now for that particular keyword). Many of our other high-profile keywords have been moving nicely to the first page. Keywords like "modern bathroom vanities", "antique bathroom vanities", "contemporary bathroom vanities", but the one that we really want ("bathroom vanities") hasn't budged at all. Does anyone have any thoughts on this. Is it possible that Google put us in some sort of a "sand-box" - I mean we are on page 2 so it doesn't sound like that's the case. It's just very bizarre that we can't seem to do anything with this keyword. Really appreciate any thoughts or input on this.
Technical SEO | | steven11330 -
Moving forum to subfolder
Hi, we're thinking of moving our very well established forum to a subfolder on our main domain. I have read that this would be much better for seo reasons/domain authority rather than using a sub domain. Is this correct? Our forum has 15,000 users and gets roughly over 502,087 impressions from 101,147 visits a month. Thanks, James
Technical SEO | | Wedideas0