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
-
Very old site wanting a revamp - how to handle all the redirects/URL changes
Hi all, I have a very very old site, that requires a facelift (going from an old clunky CMS to wordpress). A problem I know I am going to face is that this site has a very poor URL structure (www.site.com/section/1/section/ etc) which I plan on cleaning up. but how do I handle the 100+ backlinks this website has point to such links? If someone could point me in the direction of an article or such that would be great. Thanks,
Link Building | | Greenroads0 -
Link building for a non-linkable site?
Hello, I am trying to zone in on a link building strategy for a non-linkable site. What I mean by non-linkable is I have a construction site. It's a family owned and operated small business. Our clients are farmers and older people usually. We go do a job, do it right the first time, and leave. Basically even if a couple of people who link to me for some weird reason, this is no way in the realm of 6,000 that my main competition has. I have tried to get as many quality citation resources as possible by using get listed, and white spark. My domain authority is only 16 though, so I must be able to increase this somehow. I have listed with Google +, Bing, Yahoo and every other major citation I could find. So now with trying too increase links with other ideas. I read somewhere to donate to charitable organizations, but if they link back to me as a donor, in an unrelated field, isn't that spammy like? So a construction site donating to a disease website, and then getting a backlink in return, does that look weird. It just seems like there are so many rules that I do not want to mess something up. I do not want get spammy links, but not sure if citations count as links so I am doing a win-win thing? Thanks for any tips Chris
Link Building | | asbchris0 -
Will removing a 301 re-direct from an old spammed URL drop the links from our profile?
Essentially there is an old page that has been the target of an old school link building agency. There is a 301 re-direct from the old page to the newer version. if I drop the 301 re-direct and update our sitemaps. Will those links be removed from our profile? The old URL passes nothing in actual value & a link building campaign has been running on the new page for over a year.
Link Building | | BenjyH0 -
On my latest report we have dropped one point on Domain authority. I also note that our 3 competitor rankings have dropped as well. Has something changed to make this occur.
On my latest report we have dropped one point on Domain authority. I also note that our 3 competitor rankings have dropped as well. Has something changed to make this occur.
Link Building | | Fodders0 -
Best SEO Friendly URL
Hi. Currently I'm using the following url: mysite.com/this-is-the-news-title/news-1234 The news title followed by the directory and the news id. Same goes to mysite.com/my-name/user-123 I think its better for SEO since the relevant words (news title and name) are to the left of the link. But some people are saying that this is not good for SEO because crawlers can't "organize" the urls in directories. So they say its better to use: mysite.com/news/this-is-the-news-title/1234 mysite.com/user/my-name/123 Cause then the crawler know what is a news and what is a user. What do you guys think? Thanks.
Link Building | | rapchan0 -
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 -
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