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
-
Unsolved My website www.boultaudio.com, but my toxic backlinks kept on increasing, even if i disavow the links? @s
My website best wearable brand is showing decrease in High Quality Backlinks.
Link Building | | blayze010 -
Linking Root Domains www and non-www
I just ran our site through Open Site Explorer. If I run the non-www version I get 30 root domains, if I run www I get 177. Is it wise to try and contact those sites using the non-www version and ask them to update the links to www version? Will that make much of a difference?
Link Building | | Amueller0 -
Keyword Domain URL structure
Hello all, We have a domain with one of the primary keyword within the domain itself (audisite) and reading through some of the topics, having a keyword within the domain itself seems to be not as significant as we had assumed. We currently have a URL strucuture ( http://audisite.co.uk/new-audi/a4 ) which we were thinking of modifying to something like audisite.co.uk/a4 based on the premise that the 'audi' keyword is already in the domain itself. Also in terms of URL optimization, which of these will be the most effective URL (if the content is exactly the same). Or is my whole approach incorrect to URL optimization fundamentally incorrect? /a4 /new-audi-a4 /new/audi-a4 /new-audi/a4 /new/audi/a4 I will be very grateful for any advice/suggestions/pointers. Thank you very much for your time.
Link Building | | nirpan0 -
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 -
Could google recognize urls in data-attributes?
Hi, could google's crawler recognize the following example as a link and will be crawl the url? any experience? ty for your help
Link Building | | censeo0 -
Best Way To Gain Some Quick Naked URL Backlinks.
Hi, Im looking to build as many naked URL backlinks in order to diversify my link profile more, I have alot of anchor text backlinks and I see alot of people getting punished for having alot of anchors texts and not many basic URL links. Any suggestions on how to get alot of these as soon as possible?
Link Building | | Prestige-SEO0 -
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 -
SEO Tool to search mass URLs (for link qualification)
Hi, I have been using OSE and have a compiled list of backlinks to my competitor's sites. The next step would be to go through and qualify all of these links for a link opportunities for my client's site. To save me a lot of time, I require a tool that will search all of these pages (say 1000) for specific keywords in tags or body content. A search query might be - site:(URL list) intitle:directory site:(URL list) "add site" etc Any ideas would be great. Thanks.
Link Building | | DigitalLeaf0