This redirect has me racking my brain
-
I cannot tell if something is wrong with my domain redirect or if it is some default behavior by Chrome. I made a short video, I used Moz first since they are using an SSL certificate too. But the gist is immediately when I type in the address it flashes www, then redirects to the non www. domain. Because of how its happening so quick I cannot tell if this is just default Chrome behavior or if I have the DNS set up incorrectly. Here is the video. http://screencast.com/t/UDHmdTCbQv
-
This looks like it could be a non issue, it doesn't do it in any other browsers and does not do it on other computers, which I think is strange.
On another note I wanted to email you and ask you about something totally unrelated, is there a good email address for you? The only one I have is the support one. Or you can email me at lesley@dh42.com
-
This is baffling me. This is what I have in my htaccess http://screencast.com/t/zB6UME7aCT This is my httpd.conf for port:80 http://screencast.com/t/DXoDU5Fnt and for port 443 http://screencast.com/t/KtB5NKvkYP Also this is what I have in my dns file in CPanel, http://screencast.com/t/8atFbpKdM The CNAME is still there, because when it is removed since it redirects to www first, the site breaks.
-
Howdy Lesley!
It looks like the www is 301 redirecting correctly to non-www, but that is happened in Apache, looks good. The DNS record looks to be setup as a CNAME currently, I might suggest changing that to an A record (so 'www.dh42.com' point to 67.225.148.201 as well). The 301 redirect from non SSL to SSL looks good too!
Remove that CNAME record to reduce a roundtrips. Also in Apache, make sure someone visiting 'www.dh42.com' gets redirected to the non-www and SSL version of the site ('https://dh42.com'). In the current setup, there is an extra 301 redirection that you can remove.
Your Apache config might looks like this to achieve that:
skip a redirection and directly go from http://www to https://(non-www)
RewriteCond %{HTTP_HOST} www.(.*.)?dh42.com
RewriteRule (.*) https://%1dh42.com$1 [R=301,L]
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
-
Have issues about expired domain? How to work on it? How to redirect?
Using expired domains to redirect on your site? For this you need to first Active your expired domainsand put two to three articles After google will got it that its now active and so google start crawling after that you need to put same articles that you created on expired site on your new site with same urls Now make a wild card redirect to exact urls or posts you created on your site
Intermediate & Advanced SEO | | LyleTLai0 -
Redirect Chains
Hi There, I have had conducted a few migrations recently and have a common issue which is this: HTTP (old site) -> HTTPS (old site) -> (HTTPS) (new site) Which causes a redirect chain. How should you prevent this before migration or fix it after migration? Cheers.
Intermediate & Advanced SEO | | kayl870 -
Redirecting a Few URLs to a New Domain
We are in the process of buying the blog section of a site. Let's say Site A is buying Site B. We have taken the content from Site B and replicated it on Site A, along with the exact url besides the TLD. We then issued 301 redirects from Site B to Site A and initiated a crawl on those original Site B urls so Google would understand they are now redirecting to Site A. The new urls for Site A, with the same content are now showing up in Google's index if we do a site:SiteA.com search on the big G. Anyone have any experience with this as to how long before Site A urls should replace Site B urls in the search results? I undestand there may be a ranking difference and CTR difference based on domain bias, etc... I'm just asking if everything goes as planned and there isn't a huge issue, does the process take weeks or months?
Intermediate & Advanced SEO | | seoaustin0 -
Redirect to url with parameter
I have a wiki (wiki 1) where many of the pages are well index in google. Because of a product change I had to create a new wiki (wiki 2) for the new version of my product. Now that most of my customers are using the new version of my product I like to redirect the user from wiki 1 to wiki 2. An example of a redirect could be from wiki1.website.com/how_to_build_kitchen to wiki2.website.com/how_to_build_kitchen. Because of a technical issue the url I redirect to, needs to have a parameter like "?" so the example will be wiki2.website.com/how_to_build_kitchen? Will the search engines see it as I have two pages with same content?
Intermediate & Advanced SEO | | Debitoor
wiki2.website.com/how_to_build_kitchen
and
wiki2.website.com/how_to_build_kitchen? And will the SEO juice from wiki1.website.com/how_to_build_kitchen be transfered to wiki2.website.com/how_to_build_kitchen?0 -
301 Redirection
Hi there guys, I have a question about redirection. My boss has just bought a new domain name and he wants it to redirect to our current site when looking for specific products. www.example.com is our current website www.productname.com is the new domain So the new domain would be redirected to example.com. Would that be considered against Google Policies? Thanks
Intermediate & Advanced SEO | | PremioOscar0 -
What is the Proper Use of 301 redirects for SEO purposes?
I heard and read from different sources that 301 redirects from aged domains with healthy link profiles is great to boost a sites rank as oppose to building a site around the page and linking it to the domain you want to rank. Whats is the best practice for this strategy? Thanks
Intermediate & Advanced SEO | | junkcars0 -
Old page redirection method ?
New web site uploaded .but still there are many old site's pages index in Google .I have created 301 redirect for similar page but what about rest of pages?as eg there is a page called www.xxxx.com/testimonial.php but new site don't have a testimonial pages so what i can delete old page and redirect to home page or what please advice me
Intermediate & Advanced SEO | | innofidelity0 -
How do I go about changing a 302 redirect to a 301.
Hello Friends! Thanks for viewing my question. Ok,My question today is How do I go about redirecting a 302 link to a 301 link. I understand the benefits of doing this as far as link juice and how the Search Engines views the two Re-Directs. I am wanting to know where I would start to do this. Thank you in advance for any help or suggestions!
Intermediate & Advanced SEO | | FrontlineMobility0