Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
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 Should be the URL of third party blog for my website
Hi All, What Should be the URL of third party blog for my website. Lets say if i have a website xyz.com (which provide pest control services in New York City) and I want to create third party blogs on platforms like blogspot, weebly etc so should i create the blog url as xyz.blogspot.com or i can use a keyword in the blog URL such as pestcontrolnyc.blogspot.com? Which URL would be the best as per Google's guidelines. Note: I have already have a blog within the domain as xyz.com/blog/ and i do weekly posting on this blog. But at the same time i want to create 1-2 third party blogs to get some backlinks from other sources.
Link Building | | Mr.Suren0 -
Reversing Canonical URLs?
A few months back, we set up canonical URLs on some pages with duplicate content to give some newer pages more link juice. Now, we need to do the opposite and give that same juice to some of the original pages. If we set up canonical URLs on the newer pages to point back to the original pages, are we losing the juice we've been building all along? Sorry for all this convoluted juice talk. Hopefully, my point is getting across here.
Link Building | | frankmassanova0 -
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 -
Is www.indexkings.com safe to use?
Does anyone know if www.indexkings.com is a safe site to use to index a url in the eyes of Google?
Link Building | | SEOQuest720 -
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 -
How to save links from an old website when building a new website even if the site map changes?
I have a client that needs a new website with better navigation, etc. The site has been up for a number of years and has backlinks that I would like to keep when building the new site in WordPress.
Link Building | | Doug_Hay0 -
Remove links or change anchor text?
I am currently in the process of cleaning up the link profile for a website that has been hit by Penguin thanks to loads of links from free directories with exact match keyword anchor texts (about 200 root domains from total of 300 root domains). I was wondering whether it's best to remove these un-natrual keyword anchor text links altogether, or change the anchor texts to brand (domain name, domainname.com, www.domainname.com, http://www.domainname.com)? I am currently trying to remove these links but was thinking it would be quicker to get to a healthier link profile (in terms of brand/commercial anchor text split) by altering the anchor texts and not removing them. Some of these directories are the worst of the worst on the other hand. Also note that I'm only really getting about a 30% response rate from the owners of these directories. Any thoughts? Many thanks in advance.
Link Building | | ec9awp0 -
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