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 Elements for Canonicalized URLs?
I am helping a client with SEO for their ecommerce store. They have around 65 products, but close to 500 URLs all for those same products. Basically they have a bit of an index bloat problem but long story short restructuring was too much of a lift for them, so I got them set up with a canonical URL strategy to ensure all duplicate pages point to one "main" product page. Getting to the point: They also need an on-page overhaul. I've created keyword optimized titles, metas, H1s, etc. for each product. Do these elements need to be added to every single one of the 450+ product pages OR do I only need to add them to the 65 "main" product pages that everything else is pointing to, since that will ultimately be the page that gets crawled?
Technical SEO | | AJTSEO0 -
Url folder structure
I work for a travel site and we have pages for properties in destinations and am trying to decide how best to organize the URLs basically we have our main domain, resort pages and we'll also have articles about each resort so the URL structure will actually get longer:
Technical SEO | | Vacatia_SEO
A. domain.com/main-keyword/state/city-region/resort-name
_ domain.com/family-condo-for-rent/orlando-florida/liki-tiki-village_ _ domain.com/main-keyword-in-state-city/resort-name-feature _
_ domain.com/family-condo-for-rent/orlando-florida/liki-tiki-village/kid-friend-pool_ B. Another way to structure would be to remove the location and keyword folders and combine. Note that some of the resort names are long and spaces are being replaced dynamically with dashes.
ex. domain.com/main-keyword-in-state-city/resort-name
_ domain.com/family-condo-for-rent-in-orlando-florida/liki-tiki-village_ _ domain.com/main-keyword-in-state-city/resort-name-feature_
_ domain.com/family-condo-for-rent-in-orlando-florida/liki-tiki-village-kid-friend-pool_ Question: is that too many folders or should i combine or break up? What would you do with this? Trying to avoid too many dashes.0 -
Removed URLs
Hi all, We have recently removed 200+ articles from our blog. However, those links are still being shown on Google weeks after their removal. In there a way to speed up the process? What effect will this have on our SEO ranking?
Technical SEO | | businessowner0 -
Should change some pages with key stuffing?
Hello, i have a website with 1 years old and when i started, when i created the pages, theses have key stuffing (20-30-40 same words in meta descriptions and text, sometimes 15, sometimes 20 and sometimes 40). Since i saw this (about 4 months), i change that, doing new pages with 5-10 same keywords. Some pages with many keywords (20-30-40) work very fine and i would not lose the position in google, but i don't want to be penalized for that. Then, my question is: Should change the old pages with key stuffing or let them? Thanks so much.
Technical SEO | | pompero990 -
Category URL Duplicate Content
I've recently been hired as the web developer for a company with an existing web site. Their web architecture includes category names in product urls, and of course we have many products in multiple categories thus generating duplicate content. According to the SEOMoz Site Crawl, we have roughly 1600 pages of duplicate content, I expect primarily from this issue. This is out of roughly 3600 pages crawled. My questions are: 1. Fixing this for the long term will obviously mean restructuring the URLs for the site. Is this worthwhile and what will the ramifications be of performing such a move? 2. How can I determine the level and extent of the effects of this duplicated content? 3. Is it possible the best course of action is to do nothing? The site has many, many other issues, and I'm not sure how highly to prioritize this problem. In addition, the IT man is highly doubtful this is causing an SEO issue, and I'm going to need to be able to back up any action I request. I do feel I will need to strongly justify any possible risks this level of site change could cause. Thanks in advance, and please let me know if any more information is needed.
Technical SEO | | MagnetsUSA0 -
Changing E Commerce platforms
Hey All, Im Olga and new to search engine optimization and web development. I recently changed from O S Commerce to Go daddy Quick shopping Cart. Before on my old site I had a lot of images show up on google searches on the first page in the image section that have recently vanished due to the change. I think that is where the majority of my sales were coming from as I did not really rank for any keyword searches. My old web designer did everything for my old site and told me a year ago he was to busy to help me out anymore and I did not know how to work OS Commerce hence the change to quick shopping cart. Does anyone know how to get images back into google images, or any other beginner strategies to help me rank in google. I have used all of the tools on this program and pretty much got everything figured out only I think the industry I am in is VERY competitive. Would love any advice or help. Thanks, Olga Girls Gone Biker
Technical SEO | | girlsgonebiker0 -
Google News URL Format
Hi, We are currently redesigning our gaming website (www.totallygn.com) and one of our main goals is to get listed by Google News in future. Looking at the Google News URL requirements "The URL for each article must contain a unique number consisting of at least three digits." How does the above affect SEO structure? I was planning on using a format such as www.totallygn.com/xbox-360/360-reviews/fifa-12-review how would this compare to something like? www.totallygn.com/xbox-360/360-reviews/fifa-12-review234 Thanks in advance for your help
Technical SEO | | WalesDragon0 -
Special characters in URL
Hello everybody, my question focus on special parameters in URL. I i am working for a website that use a lot of special entities in their URLS. For instance: www.mydomain.com/mykeyword1-mykeyword2%2C-1%2Cpage1.html I am about to make 301 redirect rules for all these urls to clean ones. IE: www.mydomain.com/mykeyword1-mykeyword2%2C-1%2Cpage1
Technical SEO | | objectif-mars
would become:
www.mydomain.com/mykeyword1-mykeyword.html I just wanted to know if anybody has already done this kind of "cleanup" and if i could expect a positive boost or not. Thanks0