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
-
I've published my forst infographic and started outreach to get links. Should I use a canonical URL and if so how?
I've published my first infographic and started outreach to get links. I've also submitted it to several infographic directories. Should I use a canonical URL and if so how?
Link Building | | roadhaulageservices0 -
Non-profit link outreach with limited resources
Our competitive metrics are good but we need to increase our linking root domains to beat our competitors and climb a few critical positions in the SERPs. We have drawn up a link-building strategy based on Moz's very helpful guide, and begun trying outreach. We're a non-profit and the content we are pushing is blog content like this, in-depth articles like this (which, incidentally, do well in search), and we're also going to start creating more infographics and other types of content to try to generate some traction that way. However, based on the success of the campaign so far, it seems unlikely we'll acquire links at the rate we need to in order to keep up with our competitors, particularly given that we only have three people who can spend time on this (at a total of around 1.5 days per week). Clearly this is something we need to persevere with and integrate into our normal content cycle, but I can't see us picking up more than a dozen or so links a year unless something unexpectedly goes viral! It seems like link outreach is so common that it's very hard even to get link targets to engage with you on social media. People just see it as spam. It would be interesting to hear what other people have done successfully to help us figure our what a realistic approach to link building looks like.
Link Building | | SOS_Children0 -
Backlinks from non-relevant site
There's a forum I used to participate in that allows you to include a link to your website in your signature block. I have over 500 posts in the forum so that provides a lot of backlinks to my website. However, I recently decided to remove my website link from my signature for two reasons: The forum is 95-99% dead. Hardly anyone uses it anymore. BTW, the website that houses the forum is still popular within is niche (articles, etc). Just the forum appears to be dead. The website and its forum really have no connection whatsoever to my business. I'm in a completely different niche. However, I have no idea if I've made the right decision. Will removing my signature and the backlinks hurt my site? Or will it help it since the other site really isn't related to mine? Thanks for any thoughts on this!
Link Building | | emh19690 -
Correct URL Structure Question
Dear Moz Community, I have a quick question regarding my internal link structure. Which route would be the best way to design my website? Option A)
Link Building | | CFSSEO
MYSITE.com/category/make/model/state/city Option B)
MYSITE.com/category-make-model-state-city.aspx I've been reading a lot of articles regarding link structure by Matt Cutts (or at least referencing him), but I'm not sure what the best practice is for today. Any information or references would be great. Thank you very much!0 -
Bought links from sites with target keyword in their URL
One of my rivals in a competitive field (real estate) has done this deliberately and extensively -- it accounts for about 2/3 of his inbound links. Result: he's now #1. How strong a ranking factor is keywords in source URL - ie, how easy is it to beat with other ranking factors?
Link Building | | Jeepster0 -
Link Building in non-competitive industry
Hello, My client's home page is targething 2 keywords - one at 43% difficulty (SEOMoz Keyword Difficulty Tool) and one at 50% difficulty. I want to link build for this person, but I analyzed the top 5 competitors and there is no resource section on any of the sites. We want to write 20 articles for our site. So there's no people linking to content that I can find. This messes up my link building because I always make targeted content on the subject that people are already linking to How do I link build in this case. Nothing stands out as something I could do with my site for link bait. Thanks!
Link Building | | BobGW0 -
Do links to blog.domainname.com help the www.domainname.com subdomain?
Hi, Do links to pages within the blog.domainname.com subdomain help the rankings of pages within the main www.domainname.com subdomain? (where "domainname" is the same of course). Thanks.
Link Building | | geoffh0 -
Are In bound links to a Custom URL ineffective
Hi All, I would like to know what would achieve the best inbound link ranking from google. I have to run an inbound link campaign and have to choose between two options: Option 1, get people to link directly to the home page or Option 2, get people to link to a custom url (for example, www.domain.com/index.aspx?dealer1455) the custom url has a function to hide certain menu items on the home page. Also The custom url ID number will also change for each person that links to us. So in effect each link is directed to an individual custom URL. My preference is option 1. But a number of the people linking to us would prefer to link to a custom home page that has their competitors details hidden. At the end of the day the decision needs to be made on what will provide our site with the best rankings in the serps What option is best to improve search engine rankings ? Many Thanks in advance
Link Building | | SaimanRhino0