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
-
Is it a good practice to get link for your original page by shorter URL links
Hello Moz Community, I have a question regarding getting links on bitly, tiny, or an other url shortner, Is it a good practice to get link for your page by shorter url I mean lets suppose i am getting natural guest post link from content for my blog home page
Link Building | | JoeySolicitor
https://coupontoaster.com/blog/ ; and shorten it with bitly and then hyper link so is it a good practice am I getting the same power and SEO consideration as if i would have done this without url shortener. And what anchor texts shall i be using like rich anchor text or any other like click here, visit here, bitly or etc Please kindly help me with this thanks1 -
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 -
Sending Domain Authority from Root www domain to *
Hello all Some advice please. Im working with a friend who has a website (obviously). Its based on wordpress and is accessible by the link http://exampledomain.com. The problem is he has some good links out there which are pointing at http://www.exampledomain.com. As yet Im uncertain how he has setup his DNS, he maybe is doing a forward which would leave the DA back with the www subdomain. What is his best practice to inherit those links into his actual domain? Thanks
Link Building | | DarrenMOB0 -
Will Google penalize for backlinks on non-indexed pages?
Have a client who has a bunch of links from spammy sites that aren't even indexed by Google. Will Google penalize (i.e. Penguin) for backlinks from spammy sites that aren't indexed? I'm guessing "Yes, Google still crawls non-indexed sites and may penalize the sites linked to from the banned site." Anyone have any data or experience with this? Anyone have a non-indexed or banned site? Does Google still crawl it?
Link Building | | AdamThompson0 -
Which tool is best for analyzing link prospect urls
Hi Mozers, I am currently looking for the best tool for analyzing bulk urls which are potential link prospects. I would like information on seo quality metrics like rel=nofollow etc. Your advise is much valued. Thanks, Fuad
Link Building | | Fuad_YK0 -
Duplicate content: One version is commercial and the other non commercial for linking purposes
I wanted to know if the following plan would be considered white hat or black hat. I am in the process of creating an instructional how to guide for a particular task. My how to guide will be a DIY guide so that with time and practice, customers can do this task for themselves and save money. I think that it would be a great resource. I want to ask other websites for links to this how to guide but the problem is that my blog has a commercial feel to it. These other websites that I plan on asking for a link probably won't link to my site because it promotes my services. They would be non profits, etc. My site needs to appear non commercial. In order to get around this stigma, I want to duplicate my how to guide twice on my blog. The first instance will be for normal visitors searching for my services. In the second instance, my banner, my tel number, my call to action will be deleted from my site. My website will be neutral. When I request a link from the non profits, I plan on sending a link to the neutral portion of my blog in the hopes that they will see a non commercial site and link to me. What do you think? I could also tell the webmasters that I've neutered my website for this resource only. Will this plan give link juice to my root domain?
Link Building | | jamesjd70 -
Some doubt about news section URL
I have a simple question, I have a website and i want to create a news category. I want to know what is the best way to create a url friendly for this category. I was looking around for news website like New York Times, and others, they use a format like this for the url http://domain.com/year/month/day/category/ etc. My question is about the use of the date in that format, like subdirectory, can somebody explain me about it. Any reason to use this format? What is the diference between using this format like: http://domain.com/news/çategory/article-date-id.html and this one use for the new york time shown before. Wich one will be work better? Thank You so much for your help
Link Building | | NorbertoMM0 -
Whats the value difference in related and non related link?
Whats the value difference in related and non related link? In % We always hear that links has to be related to the topic of the website, but whats the difference it makes? I wish to hear some responses from SEOMOZ staff
Link Building | | DiamondJewelryEmpire0