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
-
What's the difference between these 2 url's in wordpress
https://www.yourdomain.be/blog/-test-article/
Link Building | | conversal
https://www.yourdomain.be/blog/test-article/ What is the difference in wordpress with this "-" in the url? Both url's show the page like it's supposed to. Is this normal?0 -
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 -
Hi I changed my site to https://www.cocaineteskit.co.uk - now unsure
Hi ALL, just changed over to https//.www.cocainetestkit.co.uk with the money being in wholesaling. However I am having my links poorly indexed - any suggestions?
Link Building | | AndreavanEugen0 -
How can a site with no content, non SEO optimized or any value rank better?
I understand there are many more variables to rank #1, but this site is currently #1 for one of our top keywords and I really don't understand what they Competior site barely has 200 words on any given page, very few content other than images with no ALT tags, titles, No H1 tags. in other words the website is not SEO optimized. My site has content, product descriptions, images, relevant titles, and definitely more optimized than competitor. My site VS competitor Total pages: 246 (me) vs 49 (them) Page Authority: 34 vs 26 MozRank: 5.3 vs 4.5 MozTrust: 5.7 vs 5.4 Domain Authority: 22 vs 17 External Links: 65 vs 7 Internal Links 152 vs 1 Followed Links 14 vs 5 More C-Blocks 14 vs 4 Total Social Shares: 127 vs 4
Link Building | | Droidman860 -
Gifly.com: url structure for new site with only one kind of page
Hi, we are launching a new site called Gifly.com, it's all about Gifs. At the moment, our robots.txt is blocking everything because we want to have a solid url structure before going public. There is only one kind of page, the permalink which has this form: http://gifly.com/QPmf/ (the four characters 'QPmf' are completely random) What we made different from the multitude of other Gifs site is that we are
Link Building | | mylittlepwny
trying to categorize gifs with hashtags, so we introduced these kind of urls: http://gifly.com/FoYi/
http://gifly.com/FoYi/#fail
http://gifly.com/FoYi/#blonde
http://gifly.com/FoYi/#dumb This was done for several reason, the first is that each gif can have up to 10
hashtags. Another approach to this could have been: http://gifly.com/fail/FoYi/
http://gifly.com/blonde/FoYi/
http://gifly.com/dumb/FoYi/ ...but we will face tons of duplicated contents for search engines because the same gif
would have 10x permalinks this way. The way we use to navigate between hashtags is via buttons/ajax (see the list of hashtags on the left)
We know that google may have a hard time understanding the site's structure, We'd like to know if the current set of urls, as: http://gifly.com/FoYi/
http://gifly.com/FoYi/#fail
http://gifly.com/FoYi/#blonde
http://gifly.com/FoYi/#dumb could be okay if we provide google a solid sitemap. We are thinking about a first sitemap with the list of hashtags,
each hashtag points to a second sitemap containing the list of new gifs uploaded for said hashtag. Thanks! gifly_logo_r_a.gif0 -
Changing permalinks, 301 nightmare
I would like to change some of permalinks on our website. I have created new posts with new permalinks and the old ones I have redirect by using yoast seo plugin. Today I have opened a category and I have realized that there are of course the post with new permalinks, but also the old once! What should I do with the old posts?
Link Building | | VillasDiani0 -
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 -
I wish to know how can I track users via what keywords they are searching and coming to my site exactly. These are non paid keywords.
There is a list of non paid keywords which is showing up but is that all ? I wish to know all the keywords people are searching and coming to my site? How can I accomplish the same.
Link Building | | shanky10