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 -
Should my URLs with or without a slash? And how to avoid multiple redirects?
Moz, I am noticing that I need to go back and update my outbound links to your site. There are a lot of them because your content is so great and we love you guys. Could you explain your logic for making the change? Example on my Schema Markup Website Audits page: https://moz.com/blog/state-of-searcher-behavior-revealed/ redirected to: https://moz.com/blog/state-of-searcher-behavior-revealed
Link Building | | jessential0 -
What are he benefits of getting 200+ links from DA 40+ non-relevant websites?
I have a client who has an opportunity to sponsor a prestigious national organisation. In return, they will get 200+ links from the websites of the organisation's members. Most of which are DA 40+.None of the linking sites have any relevance to my client's industry.1) How likely do you think it is that Google will view these as paid links?2) Do you feel that there is potential harm in gaining this many non-relevant links in a short time-frame?3) The client wants me to quantify the ranking benefits of gaining these links and calculate a potential ROI. If that's even possible, how would you go about that?Thanks in advance
Link Building | | richdan2 -
Linkbuild on 'new' or 'old' url?
Hi, I'm trying to rank for a keyword. For the last year and 4 months the rank hasn't changed much. It stays on the 3th page. Within this period the rank has first gone down and then up. Three months ago I started doing linkbuilding for the url the keyword was linked to. This is a main category page. Lately, I don't know when exactly I've discovered that the keyword is ranking for a different url, a product category of these items for 1 brand. I'm wondering if it's wise to shift my focus and start using the 'new' url for linkbuilding? The 'old' url isn't in the top 100 for the keyword. However, if you search for the url in Google, it shows up. And, if I'm advised to shift my focus to the 'new' url, is it advisable to go back and change the backlinks to the 'new' url? A question related to the above one, is there another tool like Open Site Explorer which shows you an overview of the backlinks directing to a deeplink? Like MajestickSEO. I'm trying to get the most extensive overview possible. Thanks in advance.
Link Building | | anubis20 -
Will 404-ing a URL neutralise any bad incoming links?
We're cleaning up one of our sites which was affected by Penguin. If we rename an example page1.html (which has 400 bad incoming links) to page2.html (with no 301 redirects), will Google disregard the poor links entirely? So, page1.html will return a 404 page. Many thanks for your help. James P.S. I am aware that we may lose any positive link juice from any 'good' links which come in to page1.html.
Link Building | | bytestart0 -
Tiny Urls Passing on links
I setup a few tiny urls last week to test if the pass on any page authority. Is this something you have tried and tested ?
Link Building | | onlinemediadirect1 -
Do http:// links to a http://www. site count the same to Google?
In terms of links to one's site helping your position on Google, if your site defaults to http://www.example.com (automatically adds "www." even if it isn't typed), does Google count links that appear as http://example.com (without the www.) with the same "weight"? Thanks.
Link Building | | celife0 -
Marketing URLs - best practices
Hi, We do have a consistent url structure like http://www.company.com/productname-london
Link Building | | ecnic
http://www.company.com/productname-auckland
etc. Now marketing wants to include each URL in our yearly printed catalogue.
Out of marketing reasons (I agree with that), they think the URLs are too long and should be for example: http://www.company/london
http://www.company/auckland
etc. Our brochure is very important for direct customers and we have a target group that actively uses the internet and social media and therefore will pick up these links. Even if we do correct redirects in the background - couldn't we have the problem
that we have a double set of urls? What do you think about that?0