Www no longer redirects
-
Hi there,
A while back I dropped the www from my domain.
Everything redirected ok and I could still access my site using www and it would simply redirect to http://mysite
This no longer seems to be occurring. I don't think I have changed anything?
I don't believe I had anything in my htaccess however I am looking for some assistance in doing so. I've done a bit of reading but am not 100% confident!
If anyone is interested, the url is http://cdkeyprices.com
Thanks
-
Thanks Wesley, all seems fine now. The redirect worked fine it seems.
Thanks again
-
Mark, i tried your website and the redirect is working fine. If any of the answers below was helpful to you you should mark it as the right answer to close this question.
-
Try adding this to .htaccess and see if it works:
RewriteEngine On RewriteCond %{HTTP_HOST} !^cdkeyprices\.com RewriteRule (.*) http://cdkeyprices.com/$1 [R=301,L]
-
Have you tried:
- deactivating all plugins to see if this resolves the problem? If this works, re-activate the plugins one by one until you find the problematic plugin(s).
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
-
301 redirects
I am in the process of truncating many of the URLs using a plugin installed on Wordpress. The question is does google penalize or have issues with too many 301 redirects on your site. I have many many products I want to do this with. I thought I read somewhere that 301 redirects should be held to a minimum. Would appreciate any assistance
On-Page Optimization | | xinar0 -
Domain Redirection
hi all - question we seem to see people ranking better naturally when they have the seo term in their title. Say we were optimising for "red buses". Our company was called Diamond we are using Diamond.co and have a DA of 32 (Page Title Diamond Red Buses | Bla) Should we buy diamondredbuses.co.uk ? Is it best to continue on our domain and redirect? Or move domains? How much would it affect?
On-Page Optimization | | KellyDSD860 -
Backlink URL: With or Without WWW?
When it comes to backlinks. Does it matter with or without WWW? For example my website is without WWW and I backlink with WWW, will it still affect my website rank?
On-Page Optimization | | Japracool0 -
Is www. still important?
How important is the www in front of a domain name nowadays? We redesign a lot of sites and we want to focus on best practices - is it still important to include the www or redirect to shorter (non-www) url?
On-Page Optimization | | jcduron0 -
Losing Page Rank after 301 redirect from http to www
Hi Guys I have site-wide redirected all http// to www and all the category pages lost their page ranks (except home page). I would like to know if this is normal and is it one of the possible causes in losing keyword ranking?
On-Page Optimization | | ilovebodykits0 -
Can you 301 redirect to a page that has other pages 301 to it?
Two years ago updated url page to include better keywords and used a 301 redirect from the old page to the new. so www.example.com/keyword-1st-generation.html now points to ... www.example.com/keyword-2nd-generation.html That moved the pages up in ranking, but now have better kw for the url, so is it okay to redirect the /keyword-2nd-geration-html to www.example.com/keyword-3rd-generation.html And what is a good length of time before removing the 1st-generation url? It's been 3 years and there is no chance of using it again. Plus, no sign of it in analytics.
On-Page Optimization | | AllIsWell0 -
Www redirect
I get the following message when I try to start a new campaign. "We have detected that the domain www.shewula.nl and the domain shewula.nl both respond to web requests and do not redirect" In the q&a I found answers to this problem and tried to fix it. No success yet. This is what I have in my old ht.access file: RewriteCond %{HTTP_HOST} ^www.shewula.nl$ RewriteCond %{REQUEST_URI} !^/STICHTING_SHEWULA/ RewriteRule (.*) /STICHTING_SHEWULA/$1 [last] RewriteCond %{HTTP_HOST} ^shewula.nl$ RewriteCond %{REQUEST_URI} !^/STICHTING_SHEWULA/ RewriteRule (.*) /STICHTING_SHEWULA/$1 [last] I changed it to ( got it from the answers 😞 RewriteCond %{HTTP_HOST} ^shewula.nl
On-Page Optimization | | thomasfasting
RewriteRule (.*) http://www.shewula.nl/$1 [R=301,L] This gave me a 500 internal error in the server header checker tool. Does anybody know how I can fix this? The website is in a folder in the root of my other website www.fastingfotografie.nl Could this give me a problem? Thanks. Thomas0