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 -
URL parameters affecting link juice
I have a couple of quirks in my online shop that I'm ironing out. One of them is adding some URL parameters to product links.ie: website.com/product.html?&cat=0&featured=Y If someone links to this URL, will I get the link juice as if it was website.com/product.html ? I have URL parameters in Webmaster Tools and robots.txt set up to ignore them so they're not in the Google index, but I have found a few websites that have linked to us using these longer URL's and I'm wondering whether to write to them and ask them if they mind changing them or not.
Link Building | | sparrowdog0 -
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 -
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 -
Open Site Explorer Changed?
I am getting this at the bottom of Open Site Explorer. I have never seen this message before. "Why does my number of inbounds links listed not match my total links count? The listed number may be slightly different because we only show 25 links per domain (so that you see a variety). Additionally you have 18 links from no-indexed pages. Unfortunately, we can't get info for those links." Did SEOMoz change something? If I look at a site, SEOMOZ's OSE doesn't show me all the links it can find anymore? It only shows 25 max???
Link Building | | JML11790 -
Exact Domain Match URL
Hello I have a few competitors ranking VERY well for exact keyword match URL. They have a single hosted page, when a customer clicks to buy inventory ir re-directs to there main url. Will google eventually catch on to this? Excellent position, very little backlink/seo work. Is this something that I should also look into for my own site? Thank you!
Link Building | | TP_Marketing0 -
Longer Tail Keyword for URL and Anchor text
Hello If I am trying to rank for the term blue widgets as a primary, and also the term shiny blue widgets , and big shiny blue widgets as secondary - would the url /blue-widgets or /shiny-blue-widgets or /big-shiny-blue-widgets be better (all else equal) Would the word shiny / big dilute or affect of KW in the domain for the rankings for blue widgets (all esle equal) Regarding anchor text of inbound links, if the anchor text is shiny blue widgets, is that going to help me rank for both queries "blue widgets" and "shiny blue widgets" equally? (all else equal), or would including shiny, affect my ranking for "bliue widgets" Or is it better to keep the anchor text as just blue widgets (of course we could vary it) but Im trying to get a feel for how that would work as we are builfing some links I can control the anchor text. I hope this was clear enough Thanks Sam
Link Building | | Impact-2015550