Website Migration - remove unnecessary sub-folder?
-
Rebuilding a site that currently has good rankings. The original site was build in Joomla. I am doing the rebuild on WordPress. The old site is at the domain www.savannah-dentist.com, but clicking on any link generates a url with a subfolder; i.e. the website is at www.savannah-dentist.com, click on the logo and you will go to www.savannah-dentist.com/rosenthal/, the "meet the doctors" link goes to "www.savannah-dentist.com/rosenthal/meet-the-doctors"
When I rebuild the site, do I have to retain that url structure?
If I get rid of the folder and make everything simply like www.savannah-dentist.com/meet-the-doctors, will I be jeopardizing our rankings?
Thanks!
-Adam
-
301 the old links to the new linking structure. If it is already a high ranking page, the link weight should carry through.
Since it already ranks high, I would keep as many elements as you can the same, unless they dont rank well and need to be improved. Make sure to do a site search for indexed pages, and redirect or create a removal request for any unatural cms-generated links. (component/SAMPLE/123456 etc)
DO NOT just delete the entire folder without seeing how many on page links still link to those pages. Check your on-page links to see if it is generated by the menu system, or if is hard-coded in the content.
Wordpress also has a few items you will want to change in the robots.txt file vs the old Joomla site.
User-agent: *
Disallow: /feed/
Disallow: /trackback/
Disallow: /wp-admin/
Disallow: /wp-content/
Disallow: /wp-includes/
Disallow: /xmlrpc.php
Disallow: /wp-
Allow: /wp-content/uploads/
Sitemap: http://example.com/sitemap.xml
Disallow: /wp-content/pluginsor you could also use this one:
User-agent: *
Disallow: /cgi-bin/
Disallow: /wp-admin/
Disallow: /wp-includes/
Disallow: /wp-content/
Disallow: /archives/ disallow: /?
Disallow: ?replytocom Disallow: /wp-
Disallow: /author
Disallow: /comments/feed/
User-agent: Mediapartners-Google*
Allow: /
User-agent: Googlebot-Image
Allow: /wp-content/uploads/
User-agent: Adsbot-Google
Allow: /
User-agent: Googlebot-Mobile
Allow: /Hope this helps! Best of luck with your new build.
-
If the folder is there for no reason, get rid of it. Rewrite out the entire directory. Try this:
In the .htaccess add:
Options +FollowSymLinks -MultiViews
Turn mod_rewrite on
RewriteEngine On
RewriteBase /RewriteRule ^rosenthal/(.*)$ /$1 [L,NC,R=301]
-
You can 301 to any place, so if it's beneficial to change the structure the site, now's the time to do it. Beware though, when you change the structure of the website, and are placing pages in different folders, you're changing the URL, so it will affect your ranking, hopefully for the positive. I think what you're proposing would be an improvement.
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
-
Why my website PA is more than DA?
I am seeing in 2 months that the page authority of my website is increasing more than the domain authority, is this fit my website? Here is my website link https://coinmasterspins.net/ Any expert please suggest what will i do better for my website? Thanks in Advance.
Local Website Optimization | | Virticar0 -
Does having a host located in a different country than the location of the website/website's audience affects SEO?
For example if the website is example.ro and the hosting would be on Amazon Web Services. Thanks for your help!
Local Website Optimization | | IrinaIoana0 -
Website ranking issues
Hi Moz, I have a question about one of our websites that has been ranking very poorly on it's current domain (fancydoorsedmonton.com) lately, but was ranked at #1 for the search term "Edmonton Doors" until last month. The main search terms we're targeting are "Edmonton Doors" and "Doors Edmonton". I made another post regarding the on-page SEO value and had some feedback from that, but there is another issue that seems more likely to cause an issue. There are 2 more domains set up to forward to their main domain: fancydoors.com was their old domain but was registered by someone else and had some questionable, X-rated content put on it. The domain has now been reacquired and redirected to their main domain. There isn't any more questionable content on there anymore. Would this domain's past affect it's current ranking? fancy-doors.com was another old domain of theirs now set up as a redirect. In the past they had another SEO provider work with this domain and did some bad SEO work for them with automated citations, etc. We changed the domain to fancydoorsedmonton.com to get away from that and also include Edmonton in the domain. If you have any ideas or feedback to provide based on this information it would definitely be a huge help to us. Thanks!
Local Website Optimization | | Web3Marketing870 -
Moving to a new Location: SEO Website
I'm moving to a different state and want to keep my business and clients in both locations. Is it better to build two separate sites, one for Ohio locations and create a new site for Tennessee content? (www.ohiosite.com & www.tennesseesite.com) Or is it best to keep one site, and install a second wordpress site in a separate folder like ( www.site.com + www.site.com/tennessee )
Local Website Optimization | | morg454540 -
Hosting Change & It's Impact on SERP Performance (with a Side of Domain Migration)
Hi everyone, I've read a lot on forums about the topic of hosting and it's impact on SEO, but I've seen conflicting opinions. I wanted to see if anyone might have a definitive answer for this scenario: Our parent company is based in the EU and wants to move our English domain to their site -- either as part of the main .com or potentially as a new subdomain. One of those things is going to happen; it's just a question of which one. One issue I have is that they host their .com with content targeting English speakers (mostly in the U.S.) in France, so if we moved our content to their site we'd be going from our existing domain hosted in the U.S. (with the majority of visitors coming from the U.S.) to a site that's hosted in France. I've read that folders are still usually better over subdomains in terms of passing the strength of the domain on to pages. So... would it be better to have a subdomain hosted in the U.S., or just have folders under the main domain, but that content would be hosted in France? Our existing domain and the domain we'll be moving to are about even in terms of domain authority and size. Happy to get any feedback you might have. Anyone come across any case studies on this particular topic that would be helpful? Thanks!
Local Website Optimization | | SafeNet_Interactive_Marketing0 -
Subdomain for ticketing of a client website (how to solve SEO problems caused by the subdomain/domain relationship)
We have a client in need of a ticketing solution for their domain (let's call it www.domain.com) which is on Wordpress - as is our custom ticket solution. However, we want to have full control of the ticketing, since we manage it for them - so we do not want to build it inside their original Wordpress install. Our proposed solution is to build it on tickets.domain.com. This will exist only for selling and issuing the tickets. The question is, is there a way to do this without damaging their bounce rate and SEO scores?
Local Website Optimization | | Adam_RushHour_Marketing
Since customers will come to www.domain.com, then click the ticketing tab and land on tickets.domain.com, Google will see this as a bounce. In reality, customers will not notice the difference as we will clone the look and feel of domain.com Should we perhaps have the canonical URL of tickets.domain.com point to www.domain.com? And also, can we install Webmaster Tools for tickets.domain.com and set the preferred domain as www.domain.com? Are these possible solutions to the problem, or not - and if not, does anyone else have a viable solution? Thank you so much for the help.0 -
Website Mods and SEO for Multi-Location Practice?
We're in the process of taking over a WordPress website within the next week for a 3 location medical practice. These are in 3 different cities. 1 location is in a pretty competitive market, while the other 2 are not. The current site isn't bad for design and navigation and they don't have the budget for a full-redesign. Structurally, it is sound. It lacks a lot of content though and a blog. It is not responsive, should we convert to make it responsive? At first glance you can't tell they have 3 locations and their content for each location and services offered is pretty weak. What other suggestions do any of you have for getting the main site to rank for all 3 locations? I know it'll take some time since they are no where to be found now, but just looking for any other tips you may all have. Thanks!! - Patrick
Local Website Optimization | | WhiteboardCreations0 -
Having portal page that takes you to website with a different url
We are in the planning stages for this. Our client wants his (as yet) domain name to be a portal page for this new campaign. His domain name is a non-keyword company name (i.e. widgetsgalore.com) We already have a website with content tailored to his business ready to go. In fact, we did a campaign back in '06 to '09 that was highly successful. At that time it was just the webpage with a keyword rich url. Now for some reason the client wants his company name url (widgetsgalore.com) to be the portal page (landing page) that once potential clients click on it takes them to the website with the content. What are the pros and cons of doing what client asks about making his widgetsgalore.com a portal page vs. going directly to the url with all the content/forms, etc? This is a local site, with audience limited to southern california.
Local Website Optimization | | Manifestation0