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
-
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 -
What is the best way to differentiate and optimize two similar websites's SEO?
What is the best way to differentiate and optimize two similar websites's SEO, having in mind that they do not produce content?
Local Website Optimization | | EmmaGeorge0 -
Boost Website Traffic
Tom Beavan Websites is my business where I create and design affordable websites for small businesses in Wordpress. I am looking to improve my traffic to my website as dramatically as possible. At present, my website is a one-page website with limited content - https://www.tombeavan.co.uk. My website ranks #1 for local keywords like: Web design Wiltshire Web design Trowbridge Wordpress developer UK So in terms of keyword position, I am doing well for local business but I only get 200-300 visitors per month. I would like to dramatically improve this to improve the number of enquiries I get. I do tend to get a few enquiries but think if I improve the website traffic, the quantity of website enquiries will increase too? I have a long list of tasks I would like to do for SEO: Add a lot more content to the website Add more backlinks Guest blogging Lots more What would you recommend a good starting place or a place which will increase traffic effectively? Thanks for your advice in advance 🙂
Local Website Optimization | | tombeavan0 -
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 -
Do duplicate street addresses on 2 website affect SEO?
Hi, We have 2 websites built for one client that has 2 companies running from the same physical location. Would having the same address listed on both websites affect their SEO rankings? The 2 websites mentioned are linked below: http://anastasiablinds.ca/ http://www.greenfoxwindows.ca/ Thanks for your help!
Local Website Optimization | | Web3Marketing871 -
Query results being indexed and providing no value to real estate website - best course of action?
Hi friends, I have a real estate website that has thousands of these type of query results pages indexed - http://search.myrealestatewebsite.com/l/43453/New_York_City_Rentals?per=100&start=159 What would be the best course of action to ensure those do not get indexed, as most provide no value whatsoever. 1. I'm limited to what I can do in the IDX, but I do believe I can modify the URL parameters for the website in Webmaster tools? Would this be correct? What would my parameter look like? 2. I have a webmaster tools for the website, then also the subdomain, which one would I submit the url parameter, or both?
Local Website Optimization | | JustinMurray0 -
Website Rankings - Provincial Movers
Hello Moz Community, We have been working with a company called Provincial Movers to optimize their website. We are focusing our efforts on building external local & relevant citations, however, I can't help but think there is more we can do internally --> www.provincialmoving.com The previous provider created a LOT of articles that are not necessarily relevant to the website like this: http://www.provincialmoving.com/blogs/ Do you guys have any suggestions for cleaning up the website so it performs better on Google? Thanks, Anton
Local Website Optimization | | Web3Marketing870 -
Bad Backlinks and Copied Website
Since last fall our rankings have been steadily decreasing in position and now we are no longer showing in Google Local positions. We still have decent organic rankings but Local is our primary concern. My website: http://www.petmedicalcenter.com I did some digging and found a ton of spammy looking domains linking back to my site. I took a screenshot from Google Webmaster Tools - Links to Your Site page. http://screencast.com/t/8yYh65xlOU2y I am not sure how this happened as I did not add our URL to most of those websites. Also, I found that this website: http://justinchina.co.uk - has copied our entire website. Every time I make an update to the site, that webpage updates as well. At this point I don't know how to go about cleaning up this mess. Most of those linking domains do not have a contact button and I doubt they would remove my links at my request. Should I use Google's disavow tool? Any thoughts on that? or ideas? Thanks for your help! Brant
Local Website Optimization | | BCB11210