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
-
Absolute urls
I am redesigning my website with an updated theme.
Link Building | | patmatt
One of the theme plugins takes my url: https://example-site.com/1st-level-page/2nd-level-page/page-content and changes it to https%3A%2F%2Fexample-site.com%21st-level-page%22nd-level-page/page-content%2F Does this effect how a web crawler see's my internal links?
Can this have a negative effect on my SEO?
Should I edit the plugin to force it to render the url exactly as written?0 -
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 -
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 -
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 -
Canonicals Url question
I manage a computer repair company website, www.callnerds.com One of our main marketing strategies are blog articles and press releases to newspappers. Because of this, we have a subfolder for the author of the newspaper articles who is becoming well known, and we wanted a place for people to connect with her personally. on this site callnerds.com/andrea We only publish articles that Andrea writes. Then on the blog we publish all of the articles, including articles that andrea writes, in addition to articles written by everyone else on our staff. i would like suggestions on wether a canonical link on the /andrea site should be used. the canonical link wold point to our blog. Her site is starting to get high quality links from newspapers and magazines, however all of the content on the site is duplicate content of the same article on our blog. Any thoughts?
Link Building | | NerdsOnCall0 -
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 -
Whats the value difference in related and non related link?
Whats the value difference in related and non related link? In % We always hear that links has to be related to the topic of the website, but whats the difference it makes? I wish to hear some responses from SEOMOZ staff
Link Building | | DiamondJewelryEmpire0 -
Index.php OR .php - Which is better for urls
I was wondering. When I build links should I build them using "index.php" OR ".php" at the end? Does one have any more value than the other from an SEO standpoint Example: www.mywebsite.com\hotdogs\index.php or www.mywebsite.com\hotdogs.php
Link Building | | openspan0