Changing all urls
-
A client of mine has a wordpress website that is installed in a directory, called "site".
So when you go to www.domain.com you are redirected to www.domain.com/site.
We all know how bad it is to have a redirect fron your subdomain to another page. In this case I measured a loss of 5 points of page authority.
The question is: what is the best practice to remove the "site" from the address and changing all the urls?
- Should I use the webmaster tool to tell to Google that the site is moving? It's not 100% true, cause the site is just moving one level up.
- Should I install a copy of the website under www.domain.com and just redirect 301 every old page to its new url? This way I think the site would be deindexet for 2/3 months.
Any suggestions or tips welcome!
Thanks DoMiSol
-
A pleasure! In answer to your questions:
- there is a slight risk of a temporary blip, but assuming you do everything correctly at the same time, the transfer should be seamless and any ranking changes minimal and very temporary.
- Not as far as I know. Changing the permalink structure doesn't cause 301-redirects to be put in place so you will need to do that separately. You could do that in the htaccess file or you could use a plug-in. We like to use John Godley's Redirection Plug-In or there is another here.
Best of luck.
-
Thank you Nick.
I have 2 more questions:
-
Do you think that doing this I risk any ranking drop? If so, how big and for how long?
-
Will Wordpress internal links work just the same? I mean should I only strip the "site" from the Wordpress URL in the General Settings of Wordpress?
Thank you again,
DoMiSol
-
-
I believe you will be best to do two things:
- put in place a global 301 rule to redirect any URL with /site/ in it to the same without /site/. If the site is hosted on Apache this is relatively easy to do in htaccess if you get your commands right. You can destroy a site if you're not careful though...so take care. If you don't know htaccess find someone close by who does!
- re-configure the root directory of the domain on the server to point at the sub-directory directly. Using e.g. Plesk and command line this is pretty trivial to do. This will have the effect of the server retrieving content directly from the sub-directory...if you set it up correctly it will be as if /site/ doesn't exist.
You will need to do these both at the same time, and assuming you get it all right there shouldn't be any interruption in service, although there will be a period when a mixture of /site/ and non-/site/ URLs are indexed.
Installing another copy of the site is fraught with risk as you could end up with a serious duplicate content problem, ranking drops etc....far simpler to reconfigure the server and domain.
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
-
SEO - New URL structure
Hi, Currently we have the following url structure for all pages, regardless of the hierarchy: domain.co.uk/page, such as domain/blog name. Can you, please confirm the following: 1. What is the benefit of organising the pages as a hierarchy, i.e. domain/features/feature-name or domain/industries/industry-name or domain/blog/blog name etc. 2. This will create too many 301s - what is Google's tolerance of redirects? Is it worth for us changing the url structure or would you only recommend to add breadcrumbs? Many thanks Katarina
Technical SEO | | Katarina-Borovska1 -
How to add 301 for many urls
Hi I need to redirect many urls in a website and I was wondering if instead of doing it one by one there is a way to get it the other way round.... Redirect all pages but a few. I get a feeling this is not possible, but prefer asking just in case. Thanks for any feedback
Technical SEO | | turismodevino10 -
Are my Domain URLs correctly set up?
Hi Im struggling with this probably easy concept, so I am sure one of you guys out there can answer it fairly easy! My website is over50choices.co.uk and whilst using the free tools in Majestic it said that I had: 77 Referring Domains pointing to www.over50choices.co.uk and only 35 pointing to www.over50choices.co.uk/ And in Moz it said: The URL you've entered redirects to another URL. We're showing results for www.over50choices.co.uk/ since it is likely to have more accurate link metrics. See data for over50choices.co.uk instead? Does this mean that my domains arent set up correctly and are acting as separate domains - should one be pointing to the other? Your help appreciated. Ash
Technical SEO | | AshShep10 -
Changing Wordpress theme page
I hear that when moving your posts from one website to another, if it is done incorrectly it can hurt your ranking on search engines. With this mind. Does changing from on theme to another affect a websites ranking?
Technical SEO | | johnmoon61 -
Importance of WMT change of address and problem doing it
Hi, How important is it to submit a change of address in WMT? I say that because I am having problems doing it so wondered if it was worth the hassle in trying to fix it. I am getting the error: "We couldn't verify website.co.uk. To submit a change of address, website.co.uk must be verified using the same method as www.website.co.uk. Add website.co.uk to your account and verify ownership, then try again." I have looked on the web to try and find an answer and have come across 2 suggestions: You might have lost the verification with the redirect. If you used a metatag on the home page, the home page is now redirecting. If you had uploaded a verification text file, that file is probably now gone and redirecting as well. You probably need to re-verify the site. Either re-upload the text file and configure it not to redirect (may be difficult) or use the DNS server verification method. You need to verify the non www. version of the website because that's the way Google like it. Not sure why solution 2 would be necessary but it does seem to be what WMT are getting. Because the site already redirects, 1 would then come in to play. Is it worth persevering with because IT will be getting a long list of stuff to do from me as it is.... Thanks all
Technical SEO | | Houses0 -
Changing the URL structure will it help me or hurt me?
I got handed a website running on Joomla without the SEO friendly URL check box selected so our URLs all look like this www.rotaryvalve.com/index.php?option=com_content&view=article&id=22&Itemid=37 . I am hoping to rework this website in the near future here and plan on changing the URL structure across the website so there are some actual keywords in the URL. When I did this I was thinking of just doing 301 redirects to the new pages and hopefully the hit from the search engines wouldn't be too bad. Can anyone speak from experience as to what the best way to go about doing this would be so I don't end up falling back ranking wise. Would change the URLs end up helping me or hurting me? Thanks
Technical SEO | | wmwmeyer0 -
Importance of SEO Friendly URLs
Hey SEOZ! How important do you all think SEO friendly URLs are to SEO. Here is an example: Non: http://www.domain.com/cart.php?m=product_detail&p=2964 Friendly: http://www.domain.com/product_name_here.html I have always heard mixed reviews but did an experiment comparing results on the same domain and actually noticed quite a difference with the friendly ones. Thanks!
Technical SEO | | 6thirty0 -
How can i redirect a url that has % in it?
Google webmaster tools shows a 400 eroor for an old link that contains a 30% off in it. The problem is the % I would like to 301 redirect this link : http://www.geographics.com/Graduation-Stationery,-35%-OFF-Printable-Certificates-Blank-Gift-Certificates/c1353_1354_1359/index.html to http://www.geographics.com/Graduation-Stationery-Printable-Certificates-Blank-Gift-Certificates/c1353_1354_1359/index.html We do not know how to do this in httaccess. Can you please advise? Thanks a lot! Madlena
Technical SEO | | Madlena0