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 -
I have a client in Australia that is going to set up a website that is in Chinese to service their Asian customer base (Indonesia, Singapore, HK, China). What domain should they use?
They're website is hosted on a .com.au domain. Should they host their Chinese language pages under their current domain (.com.au) using a subdirectory (i.e. /asia) or should they use another separate domain that they own that is a regular .com? Or does it really not matter?
Local Website Optimization | | 100yards1 -
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 -
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 -
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 -
Are there any suggestions when you completly redesign your web page keeping the same domain but change the host? I want it to go smoothly and want to avoid the rankings we already have including sub pages.
I am currently having our website completely redone by a design company. Are there any suggestions on this process as to not lose the rankings we currently have for our site? The domain will remain the same however we are planning on changing our host. We also have a good amount of sub domains that the web company will not be changing for us.
Local Website Optimization | | molchman0 -
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 -
Website and eshop with the same product descrition is duplicate content
Hi there! I'm building a website that is divided in a "marketing" and "shop" sections. The 2 sites are being authored by two companies (my company is doing the marketing one). The marketing site has all the company products while the shop will sell just some of those. I'm facing the problem of duplicated content and want to ask you guys if it will be a problem/mistake to use the same product description (and similar url) for the same product in both sites, and the right way to do it (without rewriting product descriptions). the main site will be : www.companyname.com
Local Website Optimization | | svitol
the shop will be: shop.companyname.com thanks
Francesco0