Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
Moving site from www to non www and also hosting to vps what will be the effect?
- 
					
					
					
					
 Hi SEO gurus, 
 I am trying to move my site from shared hosting to VPS hosting and also moving from www to non www version.
 What is the best possible way to avoid any issue and without losing the backlinks.
 Is it good or bad to do? URL: https://buylikesservices.com/
- 
					
					
					
					
 
- 
					
					
					
					
 Private hosting is better but it comes more expensive 
- 
					
					
					
					
 I have a website The Tourist Spot, earlier it was indexed with a non-www version but later I got it redirected to the www version. But when check my indexed pages on google, I find that I have both versions of the website indexed. Now I want to remove the non-www version. I tried to remove using the console but there was a notification that if I submit to delete page then all versions will be removed from google for the next 6 months. Now I need help to remove/deindex the non-www version. Anyone help me, please? 
- 
					
					
					
					
 To have a unique domain structure, you should redirect www to nonwww using 301 redirect as other members said too. And regarding changing your webhosting, the best way is to migrate your website content at first and when everything was ready at your new hosting, then change nameservers of your domain through the control panel of your domain, In this case your website faces least downtime. Changing hosting only changes the IP of your website and search engines understand it and its a normal procedure for almost all websites to change their webhosting. So only try to do it with lowest possible downtime. 
- 
					
					
					
					
 Why take the risk? Having your site load with the www doesn't hurt you. It's not as if the site will perform better without the www and if your site is configured properly your site will load no matter how you have that part of it set. Google views www.domain.com as a different site from domain.com. You can mitgiate your risk by doing 301 redirects from your www site to your non www but there is always going to be some amount of risk and the potential to see a temporary dip while Google figures out what just happened. Not sure I see enough benefit in making the move to warrant changing it. 
- 
					
					
					
					
 @seoblogs61 Hey, sorry for the super slow reply. Hosting shouldn't matter unless it changes the URLs (any further than you're deliberately changing them). Moving from www to non www means you need to make sure there is a 1:1 mapping of old to new URLs as 301 redirects. This may be possible using a server config rule. Be aware that any URL migration comes with SEO risks. The 301 redirects in theory will carry across most of the value of your backlinks, but there may be delays in Google understanding the new relationship, or a slight dilution, or some technical hitch which causes some URLs to not be caught by your rule. 
Browse Questions
Explore more categories
- 
		
		Moz ToolsChat with the community about the Moz tools. 
- 
		
		SEO TacticsDiscuss the SEO process with fellow marketers 
- 
		
		CommunityDiscuss industry events, jobs, and news! 
- 
		
		Digital MarketingChat about tactics outside of SEO 
- 
		
		Research & TrendsDive into research and trends in the search industry. 
- 
		
		SupportConnect on product support and feature requests. 
Related Questions
- 
		
		
		
		
		
		We are redirecting http and non www versions of our website. Should all versions http (non www version and www version) and https (non www version) should just have 1 redirect to the https www version?
 We are redirecting http and non www versions of our website. Should all versions http (non www version and www version) and https (non www version) should just have 1 redirect to the https www version? Thant way all forms of the website are pointing to one version? Intermediate & Advanced SEO | | Caffeine_Marketing0
- 
		
		
		
		
		
		Moving html site to wordpress and 301 redirect from index.htm to index.php or just www.example.com
 I found page duplicate content when using Moz crawl tool, see below. http://www.example.com Intermediate & Advanced SEO | | gozmoz
 Page Authority 40
 Linking Root Domains 31
 External Link Count 138
 Internal Link Count 18
 Status Code 200
 1 duplicate http://www.example.com/index.htm
 Page Authority 19
 Linking Root Domains 1
 External Link Count 0
 Internal Link Count 15
 Status Code 200
 1 duplicate I have recently transfered my old html site to wordpress.
 To keep the urls the same I am using a plugin which appends .htm at the end of each page. My old site home page was index.htm. I have created index.htm in wordpress as well but now there is a conflict of duplicate content. I am using latest post as my home page which is index.php Question 1.
 Should I also use redirect 301 im htaccess file to transfer index.htm page authority (19) to www.example.com If yes, do I use
 Redirect 301 /index.htm http://www.example.com/index.php
 or
 Redirect 301 /index.htm http://www.example.com Question 2
 Should I change my "Home" menu link to http://www.example.com instead of http://www.example.com/index.htm that would fix the duplicate content, as indx.htm does not exist anymore. Is there a better option? Thanks0
- 
		
		
		
		
		
		6 .htaccess Rewrites: Remove index.html, Remove .html, Force non-www, Force Trailing Slash
 i've to give some information about my website Environment 1. i have static webpage in the root. 2. Wordpress installed in sub-dictionary www.domain.com/blog/ 3. I have two .htaccess , one in the root and one in the wordpress Intermediate & Advanced SEO | | NeatIT
 folder. i want to www to non on all URLs Remove index.html from url Remove all .html extension / Re-direct 301 to url
 without .html extension Add trailing slash to the static webpages / Re-direct 301 from non-trailing slash Force trailing slash to the Wordpress Webpages / Re-direct 301 from non-trailing slash Some examples domain.tld/index.html >> domain.tld/ domain.tld/file.html >> domain.tld/file/ domain.tld/file.html/ >> domain.tld/file/ domain.tld/wordpress/post-name >> domain.tld/wordpress/post-name/ My code in ROOT htaccess is <ifmodule mod_rewrite.c="">Options +FollowSymLinks -MultiViews RewriteEngine On
 RewriteBase / #removing trailing slash
 RewriteCond %{REQUEST_FILENAME} !-d
 RewriteRule ^(.*)/$ $1 [R=301,L] #www to non
 RewriteCond %{HTTP_HOST} ^www.(([a-z0-9_]+.)?domain.com)$ [NC]
 RewriteRule .? http://%1%{REQUEST_URI} [R=301,L] #html
 RewriteCond %{REQUEST_FILENAME} !-f
 RewriteCond %{REQUEST_FILENAME} !-d
 RewriteRule ^([^.]+)$ $1.html [NC,L] #index redirect
 RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index.html\ HTTP/
 RewriteRule ^index.html$ http://domain.com/ [R=301,L]
 RewriteCond %{THE_REQUEST} .html
 RewriteRule ^(.*).html$ /$1 [R=301,L]</ifmodule> The above code do 1. redirect www to non-www
 2. Remove trailing slash at the end (if exists)
 3. Remove index.html
 4. Remove all .html
 5. Redirect 301 to filename but doesn't add trailing slash at the end0
- 
		
		
		
		
		
		Adult Toys Sites
 Does anyone know of any changes SEOwise when running an adult toy site versus a normal eCommerce site? Is there any tips or suggestions that are worth knowing to achieve rankings faster? Thanks, Intermediate & Advanced SEO | | the-gate-films0
- 
		
		
		
		
		
		On 1 of our sites we have our Company name in the H1 on our other site we have the page title in our H1 - does anyone have any advise about the best information to have in the H1, H2 and Page Tile
 We have 2 sites that have been set up slightly differently. On 1 site we have the Company name in the H1 and the product name in the page title and H2. On the other site we have the Product name in the H1 and no H2. Does anyone have any advise about the best information to have in the H1 and H2 Intermediate & Advanced SEO | | CostumeD0
- 
		
		
		
		
		
		Redirecting non www site
 Hello Ladies and Gentlemen. I 100% agree with the redirecting of the non www domain name. After all we see so many times, especially in MOZ how the two different domains contain different links, different DA and of course different PA. So I have posed the question to our IT company, "How would we go about redirecting our non www domain to the www version?", "Where would we do that?", " we cant do the redirect on our webserver because the website is listed as an IP address, not a domain name, so would we do the redirect somewhere at GoDaddy?" who is currently maintain our DNS record So here is the response from IT: " I would setup a CNAME record in DNS (GoDaddy), such that no matter if you go to the bare domain, or the www, you end up in the same place. As for SEO, having a 301 redirect for your bare domain isn't necessary, because both the bare domain and the www are the same domain. 301 is a redirect for "permanently moved" and is common when you change domain names. Using the bare domain or the www are NOT DIFFERENT DOMAINS, so the 301 would not be accurate, and you'd be telling engines you've moved, when you haven't - which may negatively impact your rank. It sounds to me that IT is NOT recommending the redirect. How can this be? Or are we talking about two different things? Will the redirect cause the melt down as the IT company suggests? Or do they nut understand SEO? Intermediate & Advanced SEO | | Davenport-Tractor0
- 
		
		
		
		
		
		Www and non www how to check it.......for sure. No, really, for absolutely sure!!
 Ok, I know it has been asked, answered, and re-asked but I am going to ask for a specific reason. As you know, anyone who is a graphic designer or web developer is also an expert in SEO....Right??? Intermediate & Advanced SEO | | RobertFisher
 I am dealing with a client who is clinging to a developer but wants us to do the SEO on a myriad of sites. All connect to his main site via links, etc. The main site was just redeveloped by a developer who claims extensive SEO knowledge. The client who referred me to them is getting over twenty times the organic clients they are and is in a JV with the new client. Soooo, I want to show them once and for all they are wrong on the www. versus non-www. When I do a Site:NewClient.com in Google I get a total of 13 www.newclient.com url's and 20 newclient.com url's without the www. Oddly, none are dupes of the other. So, where the www.NewClient/toy-boat/ is there, the other might be non www. NewClient/toy-boat/sailing-green/ Even the contact page is in the www.NewClient/contact versus the non www of NewClient/Contact-us/ But, both pages seem to resolve to the non www. (A note here is that I originally instructed the designer to do non www to www. because the page authority was on the www.NewClient and he did opposite. With pages that are actually PDF files, if you try to use the www.NewClient/CoolGuy.pdf it comes up 404. When I check our sites, using Site:We-Build-Better.com ours return all www.We-Build-better/ url's. So, any other advice on how to insure these correct or incorrect? Oddly, we have discovered that sometimes in OSE, even with a correct canonical redirect it shows one without authority and the other with....we have contacted support. Come on mozzers, hook a brother up!0
- 
		
		
		
		
		
		Badges For a B2b site
 love this seo tactic but it seems hard to get people to adopt it Has anyone seen a successful badge campaign for a b2b site? please provide examples if you can. Intermediate & Advanced SEO | | DavidKonigsberg0
 
			
		 
				
		 
			
		 
			
		 
			
		 
			
		 
			
		 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				