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
-
Using the Onpage Grader for Local Business websites
Hey Guys, Curious how people use the onpage grader for optimizing pages for local businesses specifically, I'm interested if people use keywords with or without a geo modifier since adding a geo modifier will prevent more natural writing to increase the score. If you don't use a geo modifier do you have some general rules of the city that needs to be in the H1 and first paragraph etc. Any tips for using the page grader for local businesses would be great Thanks!
Local Website Optimization | | solidlocal0 -
Is there any way to report a website that is not complying with webmaster guidelines to Google?
Like how we can "suggest an edit" in Google Business Listings, is there any way to report Google about the webmaster guidelines violation?
Local Website Optimization | | Alagurajeshwaran0 -
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 -
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 -
Best Practices: Different Phone Numbers on the Same Website
Since 2006 www.nyc-officespace-leader.com has promoted my commercial real estate brokerage business. I have been the sole broker listed on the site. As a result, the same phone number has appeared consistently throughout the site. Now I will be adding a colleague to the site (in addition to me) and I am struggling with how to best display my colleague's phone number. The 2nd broker will be adding property listings and blog posts. It was agreed that my phone number would be replaced by my colleagues phone number on his listings and blog posts. Pages that existed before would remain with my phone number. The idea being that leads generated by the 2nd broker's new content get directed to him rather than me. My concern is that having a new phone number listed will introduce an inconsistent phone number and harm our local SEO. I have read that it is absolutely critical that NAP (name, address, phone number) must be 100% consistent otherwise it can cause harm search engine ranking. What are best practices for displaying different phone numbers for different personnel on the same website without harming local SEO efforts? This situation is certainly common, so I would think there must be some work arounds. I have seen "Contact" icons that when clicked show phone numbers. Is there any standard solution for this issue that keeps NAP data consistent? Also, what if we keep the same number in the header but use different numbers in other locations? Is the header a location where we should be extra careful to display the same phone number? Thanks,
Local Website Optimization | | Kingalan1
Alan Rosinsky
Metro Manhattan Office Space, Inc. An example of inconsistent listing pages are: -http://www.nyc-officespace-leader.com/listings/386-w-38th-street-office-lease-2370sf
(Broker "#2) -http://www.nyc-officespace-leader.com/listings/329-545-eighth-ave-office-lease-525sf
(myself) An example of inconsistent blog pages are: -http://www.nyc-officespace-leader.com/blog/the-tech-explosion-impact-on-chelsea-2
(Broker "#2) -http://www.nyc-officespace-leader.com/blog/office-space-build-out-cost
(myself)0 -
Copying a Website For Better Rankings in a Specific Country
I've got a blog with some tools and business directories (https://www.webhostinghero.com). Actually my website is in English and is hosted in the US since its biggest source of traffic is from there. My second biggest traffic source is India. The issue is that while my website is really well optimized (in terms of speed), it is still slow for visitors from India. So my question is: Would it be possible to have a copy of my website on a web server located in India and use a sub-domain (ie.: in.webhostinghero.com) to access it without being penalized by Google? Would that be considered duplicate content? What would be the HREF LANG tag set to for India (EN-US, EN-GB... EN-IN??) I thought that having a sub-domain for a specific country could also help its rankings. Thanks in advance for your inputs. P.S. Sorry my english sucks.
Local Website Optimization | | sbrault740 -
Should I open a new domain and website for a new location under one company?
Hi my name is Gina and I wanted to ask for some advice. I'm thinking opening a diff location and was thinking if its a good idea to open up a new domain and new website? And why that may be a good idea and why or a bad idea and why?
Local Website Optimization | | LittleDog0 -
Choosing the best domain for international website section
Hi, i made a question before but the answer not clarified me yet: https://moz.com/community/q/which-is-the-best-xx-or-com-xx-in-general-and-for-seo I mark as answered inadvertently. I want to know what you think about choosing ".es" or ".com.es" for create a section for Spain and redirect them from the homepage. Same for Mexico.
Local Website Optimization | | NachoRetta
I think that is not so important for SEO, but i am not completely sure about other factors.
Big marks like Toshiba use:
http://www.toshiba**.es**
http://www.toshiba**.com.mx** and Cocacola:
http://www.cocacola**.es**
http://www.coca-cola**.com.mx** ".es" for spain and ."com.mx" for mexico?0