Changing url from non www to www.
-
basically I have realised i have more page authority and links going to www.onestopmuscle.co.uk instead of onestopmuscle.co.uk. I use wordpress and have no clue how to make sure onestopmuscle.co.uk redirects to www. version.
anyone have any ideas? I don't want to mess about with files or i'll most likely make the blog into a disaster.
-
I agree with George _"Wordpress 301 redirects the links from the non-www URL to the www URL so your link juice should still flow to the new URLs and the shared links will still resolve to the right page" _in the long run this will conserve you link juice.
-
Excellent news that you were able to get it to work.
I'd say yes your social media links have zeroed out because they used the old URL without the www. It's not a Google thing though and won't be fixed by re-indexing the site. However, my understanding is that Wordpress 301 redirects the links from the non-www URL to the www URL so your link juice should still flow to the new URLs and the shared links will still resolve to the right page. The only caveat is that the actual number for likes and shares in your social share buttons has reset to 0.
In my opinion, it's a good move (you're just missing the "eye-candy" for now) and this number will rise again as people begin to share using the new URLs.
-
hey guys, finally had the balls to change the site url on the wordpress backend to contain www. ( did it on a old site and it messed it up ) and that worked!! Strange tho seems all my social media likes and shares have gone from the site, everything is at zero... not sure why maybe google needs to index all the pages again?
I do have more links and more page authority with www. than without, so im hoping its a good move.
-
No prob : ) Let us know how it works out..
-
so i create a .htaccess file, get all the right code for the redirects. upload that .htaccess file to the index.php file? I'll phone my hosting tomorrow see if they can sort it, but thanks everyone who has responded helped a lot.
-
Edit: just saw you have already checked with FileZilla. I've created a new htaccess file and pasted in what Wordpress provides as an example then uploaded the new htaccess file to fix this on other sites.
-
tried going into filezilla, cannot find a .htaccess file. I will phone up my hosting.
thanks
-
Do you have anything redirecting in your htaccess file? It could be that or it could be on the hosting end...
-
have changed it to include www. but it still redirects to onestopmuscle.co.uk ( without the www ) :@. this is soo annoying and I know it is probably such a simple fix.
-
The wordpress which is the site.
-
Exactly, and as George said : "you are likely logged in at the old sub-domain of simply onestopmuscle.co.uk rather than the new sub-domain of www.onestopmuscle.co.uk"
-
do i change the site address url to include www. also? or just the wordpress url part? thanks for the help!
-
Hi Scott, yes, this should be correct. After updating this value, you may need to log back in to continue using the admin area. This is because you are likely logged in at the old sub-domain of simply onestopmuscle.co.uk rather than the new sub-domain of www.onestopmuscle.co.uk and with the new redirect, you have to log in again. It's kind of strange behavior I know :).
-
In the Wordpress admin area, under General Settings, there is a input for WordPress Address (URL). Here, you can set the URL you would like to use for your base URL (e.g. http://www.example.com/). If you use www. here, your pages should use the www. version.
Hope this helps!
-
settings > general settings
wordpress url: http://onestopmuscle.co.uk
site address url: http://onestopmuscle.co.uk
So if i change both to have www. it wont cause any problems with the site content on there already? I'm sure I did this before and i couldn't even log into the site! ( old site ).
-
Since its wordpress you can do it in the wordpress settings back end.
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
-
Very old site wanting a revamp - how to handle all the redirects/URL changes
Hi all, I have a very very old site, that requires a facelift (going from an old clunky CMS to wordpress). A problem I know I am going to face is that this site has a very poor URL structure (www.site.com/section/1/section/ etc) which I plan on cleaning up. but how do I handle the 100+ backlinks this website has point to such links? If someone could point me in the direction of an article or such that would be great. Thanks,
Link Building | | Greenroads0 -
Www and non www site
We have 2 sites one with and one without www - http://forrestwilliamssolicitors.com/ The www site has no content and just re directs to the non www site. I have added some links to the site but stupidly have split them between the 2 sites so I am assuming that the links to the www site are a waste? There aren't many to be fair so I may be able to just simply go back to the link and change it but do I need to? Also could someone explain in simple terms what the difference between the 2 sites is and why we need both! Many thanks
Link Building | | stevewilliams0 -
Why is this working for a competitor? Non-relevant backlinks helping them out?
A competitor is using a weird strategy, one I know isn't legit, however it's not only helping them, but doing in with a lot of speed. I've ran their info through ahref, majestic, moz, semrush and for backlinks they have 225ish, here is their breakdown. 169 follow links from their parent distributor site ( which is located in their parent's site's footer ) and then 3 to 5 links from sites that relate to SEO, marketing, unrelated things like pocket calling article and comment spam. maybe 5 of those links are from anywhere close to a related site, and those are from spammy directories from out of country. Why would these backlinks be helping them so much, and how can I get in front of them when these craptactics are working for them? They have 250 backlinks - 25 of them are follow We have 300 backlinks - 90 are follow and from relevant sites like EPA.gov, some EDUs and related sites to our niche. Some explanations or words of wit would really be helpful here, as I feel like something isn't adding up.
Link Building | | Deacyde0 -
Why Moz OSE, Ahrefs, Majestic and so on, don't change their user agent while crawling?
Some blackhat websites, PBNs and other "cheaters" are using various methods to effectively block third party backlink checker bots (OSE, Ahrefs, Majestic...) : robot.txt, IP and such. A simple solution for those bots would be to mimic Google by using its user agent string for example.
Link Building | | astronaute
Or if not legally permitted (which I doubt) use some kind of randomness in user agent strings, urls, and IPs in order to prevent blocking. This should not be a big deal IMHO, am I missing something obvious ?0 -
How to build links for a domain name that is redirected to another url?
I'm helping a friend build links to his site because he recently moved across country. His primary domain isn't very SEO friendly (shef1.com) so he registered another domain (stephenshefrinphotography.com). Shef1.com has been around for awhile and has at least been crawled with a page rank of 1 so we decided to keep shef1.com as the main website and redirect stephenshefrinphotography.com to it. So for SEO sake I know it's best to at least have a keyword in your URL so I have been using the url stephenshefrinphotography.com in my link building efforts for local directories and blog comments. Is this the right way to go about this or should I be using the main url shef1.com? He had virtually no backlinks until I started helping him but the ones I have created over the last month are not showing up on the link analysis in my campaigns. I just want to make sure my efforts aren't in vain. Advice please. Thanks!
Link Building | | mrsmelmitch0 -
Changing links
Hi guys i wanted you views on changing the anchor text of links. I have quality links coming in but with year terms such as 2012 in there, if i want to change them all to 2013 for example would it be badly seen by Google? I cant say i feel comfortable about doing it but they are my links and are related to our products. Any advice much appreciated.
Link Building | | pauledwards0 -
Changing backlinks anchor text
Hi, I've read a few blog post here that suggests the strength of building links using your brand as an anchor text. This supposedly gives the site authority. Currently a chunck of the back links to my homepage are on generic terms i'm trying to rank for which doesn't seem to be working very well. I was thinking of contacting the various webmasters to change the anchor text to that of the site brand name but wondering if this will signal a manipulation of links to the search engines and potentially could be flagged as paid links? Has anybody done this before and what is the danger of doing this? Thanks Duke
Link Building | | clickangel0 -
SEO Tool to search mass URLs (for link qualification)
Hi, I have been using OSE and have a compiled list of backlinks to my competitor's sites. The next step would be to go through and qualify all of these links for a link opportunities for my client's site. To save me a lot of time, I require a tool that will search all of these pages (say 1000) for specific keywords in tags or body content. A search query might be - site:(URL list) intitle:directory site:(URL list) "add site" etc Any ideas would be great. Thanks.
Link Building | | DigitalLeaf0