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
-
Proper SEO structure for Franchise/ Franchisee websites
Hi Neighbors, Franchise website design and development can be difficult, there’s no doubt about it. I had to find the right balance between a unique and unified brand identity, and a localized experience that accurately reflects the individual franchisees and their efforts. Due to the many benefits, I have structured the to read _domain.com/location _ domain.com = TLD /location = subfolder (location page) I have also built a customized CMS (e.g. Drupal) and have given each location access to manage their location page (subfolder). To accommodate local SEO optimization, franchisees have complete control in terms of optimizing their location page (subfolder). Title tags, meta description, Alt tags, etc... Will any local optimization performed in the subfolder (location page) be stiffened because it was not done in the TLD but in the subfolder ?
Local Website Optimization | | Jeffvertus1 -
How to Rank Local Website in Search Engines?
Hello, I'm the owner of a rubbish removal company based in London - Frank Rubbish Removal and trying to optimize the website of the company for search engines. Until now, I have hired a couple marketing companies but without success. What I want to achieve is to rank for local keywords in the rubbish removal niche, for example, Rubbish Removal Chelsea, waste clearance Hackney, waste removal Harrow...and similar local keywords. I have spent a lot of money on marketing companies and the website still can't go on 1st page of search engines in the UK. Can you tell me what I can do or who can hire to bring my website on 1st page for the local keywords?
Local Website Optimization | | korado112 -
GMB Website Create Competition That Can Hurt Your Own Site?
Hello, Does anyone know if creating a Google My Business website for a business using the GMB builder creates competition for that business's main, non-GMB website? Thanks.
Local Website Optimization | | lawfather0 -
How can I migrate a website's content to a new WP theme, delete the old site, and avoid duplication and other issues?
Hey everyone. I recently took on a side project managing a family member's website (www.donaldtlevinemd.com). I don't want to get too into it, but my relative was roped into two shady digital marketing firms that did nothing but a mix of black-hat SEO (and nothing at all). His site currently runs off a custom wordpress theme which is incompatible with important plugins I want to use for local optimization. I'm also unable to implement responsive design for mobile. The silver lining is that these previous "content marketers" did no legitimate link building (I'm auditing the link profile now) so I feel comfortable starting fresh. I'm just not technical enough to understand how to go about migrating his domain to a new theme (or creating a new domain altogether). All advice is appreciated! Thanks for your help!
Local Website Optimization | | jampaper1 -
How to approach SEO for a national website that has multiple chapter/location websites all under different URLs
We are currently working with a client who has one national site - let's call it CompanyName.net, and multiple, independent chapter sites listed under different URLs that are structured, for example, as CompanyNamechicago.org, and sometimes specific to neighborhoods, as in CompanyNamechicago.org/lakeview.org. The national umbrella site is .net, while all others are .orgs. These are not subdomains or subfolders, as far as we can tell. You can use a search function on the .net site to find a location near you and click to that specific local website. They are looking for help optimizing and increasing traffic to certain landing pages on the .net site...but similar landing pages also exist on a local level, which appear to be competing with the national site. (Example: there is a landing page on the national .net umbrella site for a "dog safety" campaign they are doing, but also that campaign has led to a landing page created independently on the local CompanyNameChicago.org website, which seems to get higher ranking due to a user looking for this info while located in Chicago.) We are wondering if our hands are tied here since they appear to be competing for traffic with all their localized sites, or if there are best practices to handle a situation like this. Thanks!
Local Website Optimization | | timfrick0 -
What to do with localised landing pages on listings website - Canonical question
Hi Run a pet listings website and we had tonnes of duplicate content that we have resolved. But not sure what to do with the localised landing pages. We have everything pointing back back to the main listings URL http://www.dogscatsandpets.co.uk/for-sale-stud-and-adoption/ but haven't pointed the URLs that show pets for specific towns and cities eg http://www.dogscatsandpets.co.uk/for-sale/dogs-and-puppies/in-city-of-london/ back to the main url. Obviously this is giving us duplicate content issues, but these pages do rank in local search and drive traffic into the site. So my question is should we canonicalise the local pages back to the main url and if we do will this mean our local landing pages will no longer rank? Is there any alternatives?
Local Website Optimization | | dogscatsandpets0 -
Sub-Domain Google Search Nested under main Domain?
Hello, I have a strange issue that I have not come across before:My subdomain is: michigan.dogdaycare.com. Some of the Keyword searches show our subdomain being nested under the main domain for Google searches instead of being indexed individually. Example search term: Dogtopia Bloomfield https://www.google.com/?gws_rd=ssl#q=dogtopia+bloomfield -This will show two subdomain links nested under the main domain Example search term: Dogtopia Birmingham https://www.google.com/?gws_rd=ssl#q=dogtopia+birmingham -This shows the subdomain showing correctly in searches and not nested. Any idea as to how to fix this? Thanks in advance!
Local Website Optimization | | dogtopiamichigan0 -
How to build backlinks to brand new foreign website?
I want to rank a website based on 3 german keywords. i see there is possibility for that because i didn't see optimised website in first results. The domain name is based on my main keyword. how to start building high authority links to my website. Can i place my anchor text backlinks on English high pr websites?
Local Website Optimization | | malekmz0