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 -
Rebranding with the same website
Hello, I like to rebrand my site for the same URL - How can i do this?
Local Website Optimization | | signsny
Example: My site URL is www.signsny.com and i used "SignsNY" as brand name and citations and after the website redesign, i decide to go with "Signs NY" so i change the citations and pick the word as Signs NY to use but in google i lost the site links and knowledge graph on **Signs NY **keyword.......... Can you suggest me what to do and how to change the things for better results? Thanks,
Abie0 -
Hreflang | Should I implement hreflang for regional targeted but - different content of websites?
Hello, I'm implementing hreflang for my e-commerce websites which have different languages and do serve different content based on location. Currently, I'm only using hreflang for for alternate language (fr-fr, fr-be, fr-ma, ...). I wonder if it might be better or if I am allowed to add other version of my websites (IT, ES, DE,... ) even if those version are serving specific content for these specific location. So, the content (products) of Germany is different of the product of the other countries. Here is an example : www.mywebsite.com/apple-phone (selling apple phone for US with product avalaible only in US). www.mywebsite.de/apple-phone (selling apple phone for Germany with product avalaible only in Germany, the available models might be different from US and other websites). www.mywebsite.it/apple-phone (selling apple phone for Italy with product avalaible only in Italy, the available models might be different from US and other websites). www.mywebsite.es/apple-phone (selling apple phone for Spain with product avalaible only in Spain, the available models might be different from US and other websites). www.mywebsite.pt/apple-phone (selling apple phone for Portugal with product avalaible only in Portugal, the available models might be different from US and other websites).
Local Website Optimization | | manoman880 -
How do I set up 2 businesses that work together but are ran seperately with two separate websites but similar content?
How do I set up these sites so that they will not be negatively affecting their SEO efforts? I have 2 businesses with the same owner. Business A manufactures nurse call systems and Business B installs them. They are run separately with two websites. The content is very similar because the business that installs them describes the different products on their website. These are the two sites: intercallsystems.com and nursecallny.com , My thought was on nursecallny.com when you click on the nav link "Nurse Call Systems" you would be directed to the intercell website. Would this be the best method? Thank you for your help!
Local Website Optimization | | renalynd270 -
Joomla website optimization software or tools?
Hi there, I am running joomla based website for my transportation website "Limousine Service" I have question what kind of software or tools i can use to improve the SEO on my site?
Local Website Optimization | | GarySahota0 -
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 -
Welcome to the Crawling, Indexing, and Ranking sub-forum
Hi guys,We built 2 sites for a client called Kilsaran. 1. Kilsaran.ie targeting Ireland2. Kilsaraninternational.co.uk targeting the ukThe issue is with the uk version of the site is not appearing where it used to be on the SERPs on google.co.uk when you serach for either "Kilsaran" or "Kilsaran International". The Irish version kilsaran.ie now appears first. We have set the GEO targeting for the respective Countries. The .ie site is the original site with the longer History and much more domain authority, links etc There is no manual penalty appearing So my questions is how do I get the English version to appear no.1on google.co.uk? Is it a case of building some local links? or should I implement geo ip detection?Another related question. What is the geo targeting tools function in GWT used for?ThanksRob
Local Website Optimization | | daracreative0