Changing a blog url from subdomain to subfolder
-
I am abou to change my company blog from a subdomain (blog.mydomain.com) to a subfolder (mydomain.com/blog), from suggestions from this awesome community!
Not only that though, because the current blog is on another server than the main site I have to move my blog between servers as well.
This will be a big hassle for me, and means a big risk for errors as I don't have a clue what I am doing on the development part. Hint: I'm no developer.
My blog is fairly new, having posted 18 blog posts so far. There is no major linking to or from the blog as it has been basically no activity on the blog.
It has been fairly good optimized for SEO, with custom plugin settings for Wordpress SEO plugin and similar. Also followed advice from Rand regarding wordpress SEO.
So I guess my question is:
Would it be a big loss for me to just start over with a new blog on the subfolder domain? And move content over from the old blog manually (and then deleting the old one).
Or would It be plain stupid taking that route?
Thankfull for all help I can get!
-
Ha! Not a problem; I've been held responsible for worse.
Good luck. Like I say, moving from a subdomain to a subfolder for us went like a breeze although admittedly it wasn't across two servers. If you have any issues give us a shout
-
Cool! Thanks Chris, I am following the guide you linked. Looks like I will be able to manage the move.
I will have you personally responsible if things get messed up
-
If you are not technically inclined and have nobody that could handle the WP move for you, then your route makes sense since you are only 18 posts in.
As for moving WP, there are actually only 2 parts to it. The website files (aka your root directory) and the database. Once those have been moved, everything else (plugins, settings, etc.) will fall into place.
After that, the only thing left are the redirects from blog.mydomain.com to mydomain.com, which is accomplished with a rule in .htaccess file.
-
There are quite a few easy to follow guides on how to move a Wordpress installation online; one such example is http://blog.triphp.com/how-to/how-to-move-wordpress-to-a-new-server-or-host.html
Once done then just 301 redirect all old pages from the subdomain to the new subfolder.
We recently moved a Wordpress installation from a subdomain to a subfolder (albeit it was on the same server) and it went without a hitch - typically speaking, Wordpress is a simple beast to move.
-
Yes, exactly. Moving it, including everything from plugins to blog posts - and without a lot of errors such as links to the old domain.
Would you suggest I find out how to do it rather than taking the route I described in the question? Do you have any guide that you suggest I follow?
Thanks
-
It's fairly easy to move WordPress from one server to another. Is that your main concern?
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
-
Should we change our URLs for SEO benefit?
Hi, I'm currently covering a maternity marketing role at i-escape and one our main objectives is to increase organic traffic to the website. i-escape has a selection of hand-picked boutique hotels, villas, lodges, guesthouses and apartments for people to discover and book. At the moment each hotel page URL follows this structure: https://www.i-escape.com/hotelname We'd like to change this to include some searchable words in the URL dependent on the type of hotel. For example: https://www.i-escape.com/boutique-hotels/hotelname or https://www.i-escape.com/boutique-apartments/hotelname If we do go ahead, we know we need to make sure all old style URLs canonically redirect to the new style. Is having the keyword in the URL important enough for us to change over 1500 URLs on the website? We have quite a high quality links pointing to these hotel pages URLs. Also, will this help us with navigation/user journeys/crawls as there will be a /boutique-hotels/hotelname rather than just /hotelname? Thanks so much all! Clair
Technical SEO | | iescape0 -
Blogging on multiple domains
We have three different domains for geotargeting (za,uk and .com). Each site at at the moment has the same content with only country specific details changed like currency etc. What is the best way to get maximum SEO benefit when posting new content.When we post new content should we repost to all three domains (the same content) or will Google only index the url on the domain which is crawled first. Thanks in advance
Technical SEO | | aquaspressovending0 -
Which URL would you choose?
1 – www.company.com/subfolder/subfolder/keyword-keyword-product (I’m able to keyword match with this url) or 2. www.company.com/subfolder/subfolder/product (no url keyword match) What would you choose? A url which is "short" but still relevant, or, a url which is more descriptive allowing “keyword” match? Be great to get your feedback guys. Many thanks Gary
Technical SEO | | GaryVictory0 -
Home page URL
Hi, I work on this site: http://www.towerhousetraining.co.uk/about-us. This is the home page URL. Should this be 301'd to: http://www.towerhousetraining.co.uk? I have created a site map, which I submitted to Google Webmaster Tools, which includes these URL's: /about-us, /training-we-offer & /contact-us. There are a total of 3 pages on the website. Webmaster tools has only indexed 2 out of 3 pages. I think this is something to do with the /about-us URL, as when I do a site: search, these pages appear: www.towerhousetraining.co.uk/, /training-we-offer & /contact-us. I am not sure why Google has indexed the home page as www.towerhousetraining.co.uk/ and not /about-us? Is it a bad idea in general not to have your homepage as your root domain? I added a to the homepage, but am wondering if this was the right thing to do? Any help would be appreciated.
Technical SEO | | CWseo0 -
Making URLs automatically clickable
Hi all, I have a PHP function which i use to make all links clickable. Problem is, if some one writes a link in a a-tag, the URL inside the href value is made clickable. Not good. Can someone perhaps help me with the issue? Function: function makeClickableLinks($text)
Technical SEO | | rasmusbang
{
$text = preg_replace('/<//', ' $text = preg_replace('(
)', '
', $text);
$text = preg_replace('!((https?://www.|https?://|www.)(([a-z0-9-]+.)+[a-z]{2,6})(/\S+|/)*)!ie', '"[".shortenurl("\1")."]("".(strtolower('$2'))"', $text);
$text = str_replace('( <a href',="" '<a="" $text);<br="">$text = str_replace(')" target', '" target', $text);
$text = str_replace('):" target', '" target', $text);
$text = str_replace(')..." target', '" target', $text);
$text = str_replace(').." target', '" target', $text);
$text = str_replace(')." target', '" target', $text);
return $text;
}</a> <a href',="" '<a="" $text);<br="">Pleeeeease heeelp 🙂 Can't fix it on my own - been at it for ages. -Rasmus</a>0 -
Should i change the url name for serp plural from singular to plural please advise
Hi, I have an established ecommerce site online since 2008 when I set it up I did not really think about it and i called it mywidget. However the traffic is minimum 10 times higher for plural and all the long tails ie bluewidgets, cheapwidgets are all plural. I rank very well on the widget but not widgets - I know there is more competition but still it would be best to have the most commonly used phrases in the url. Now I have registered mywidgets should i transfer my shop to mywidgets and setup a permanen redirect 301 for all the products url and categories. I'm guessing I will be negatively impacted in the short term but in the long term it should be worth it. Would you agree sorry its a massive decision for me and any help would be much appreciated. Many thanks
Technical SEO | | reallyitsme0 -
URL Structure
Hi Guys, I'm in the process of creating a very exciting startup aimed at the baby industry. It's essentially a social commerce question where parents can shop for products, create lists of products and ask questions. The challenge I'm facing is how best to structure my URLs from an SEO standpoint. For example a common baby topic such as "feeding", can sit in all three categories: Shopping category aggregates all products related to feeding List category aggregates all lists related to feeding Question category aggregates all question and answers on feeding So for that keyword "feeding" you have 3 potential landing pages. What I was wondering is what is the most effective way of doing it? I was thinking of something along these lines: /shopping/feeding /baby_list/feeding /ask/feeding Would love to hear your points of view on this. Thanks! Walid
Technical SEO | | walidalsaqqaf0 -
Seo impact for template change
Hi, If you change a template (wordpress, joomla cms..) without changing information organization..(urls..) Does this can have an impact on your serp ? Tks a lot ...
Technical SEO | | mozllo0