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.
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
-
Need help please with url guidelines.
Hi SEO PROS, I have a website and I am planing to change all the urls. I need to know what is the right way of making the urls. Here is some information. We are based in Brooklyn NY and we sell our services to Manhattan clients and Manhattan has few names. NY, NYC, Manhattan and NY. So by looking at my service area I came up with this url. http://www.signsny.com/brooklyn-ny/awnings this is my current url. http://www.signsny.com/sign-types/awnings-canopies-brooklyn-NYC. This is what I am planning to change it to. Please guide me to the right direction, so in future I don't have to re-do them again. Thanks Abie
Technical SEO | | signsny0 -
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 -
Updating content on URL or new URL
High Mozzers, We are an event organisation. Every year we produce like 350 events. All the events are on our website. A lot of these events are held every year. So i have an URL like www.domainname.nl/eventname So what would you do. This URL has some inbound links, some social mentions and so on. SO if the event will be held again in 2013. Would it be better to update the content on this URL or create a new one. I would keep this URL and update it because of the linkvalue and it is allready indexed and ranking for the desired keyword for that event. Cheers, Ruud
Technical SEO | | RuudHeijnen0 -
Basic URL Structure Question
Hi, Putting together a URL for a product we are selling. We sell IT Training courses and the structure is normally Top Folder=Main Courses section Sub Folder=Vendor Page Specific=Course Name + Term An example is courses/microsoft/mcse-training However I have a product where the vendor and course name are the same. How should I best organise the URL - double mention or single mention So a) courses/togaf/togaf-foundation-training or b) courses/togaf/foundation-training
Technical SEO | | RobertChapman0 -
Should I change my host
Have a feeling that the answer will be obvious here but more opinions are always good... I own a number of domains, mainly com, which are targeted at the UK but hosted in the netherlands. I have noticed a very high number of dutch hits to my sites. Lower than UK but takings population into account it works out to be higher. I fear my decision to renew my dutch server instead of going for a UK one is helping me rank in the wrong part of the world. I have paid a couple of months ahead for the dutch server but am wondering if the cost of writing off a couple of hundred pounds will be less than I'm losing due to my location. Should I take the financial hit on the server in the hope that buying a UK one will increase my relevant traffic?
Technical SEO | | Grumpy_Carl0 -
Blank Canonical URL
So my devs have the canonical URL loaded up on pages automatically, and in most cases this gets done correctly. However we ran across a bug that left some of these blank like so: Does anyone know what effect that would have? I am trying to provide a priority for this so I can say "FIX IT NOW" or "Fix it after the other 'FIX IT NOW' type of items". Let me know if you have any ideas. I just want to be sure I am not telling google that all of these pages are like the home page. Thanks!
Technical SEO | | SL_SEM0 -
Why sudden change in rankings?
I have been working on a domain for site which has only been up for a few months. I have mainly been working on building trust and authority for the site, with only a few links to my keyword phrases, which I was saving for the end, and concentrating on good quality non-spammy type links. It was progressing nicely until last weekend when I went from the first page on Google to the 3rd and 4th pages. Was there some kind of update?
Technical SEO | | waynekolenchuk0