https://www to https:// Problem

by 2 replies
3
I have a website that seems to go to https://whatevercoolsite.com fine when I type it. But, SEM Rush keeps showing https://whatevercoolsite.com AND https://www.whatevercoolsite.com in its reporting as getting traffic to both. Here's the part of my htaccess that works with that part. Do you see anything missing or incorrect?

# Redirect all requests to https
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://whatevercoolsite.com/$1 [R=301,L]
</IfModule>
# End redirect all requests to https

# Begin redirect from www. to normal domain
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.whatevercoolsite\.com$
RewriteRule ^(.*)$ https://whatevercoolsite.com/$1 [R=301,L]
</IfModule>
# End redirect from www. to normal domain
#search engine optimization #https or or #https or or www #problem
  • Banned
    [DELETED]
  • Banned
    [DELETED]

  • Who cares what SEMrush says? SEMrush is just making wild guesses at traffic.

    Can you actually access the WWW version of your URLs? What does your analytics and server logs show?

    That's all that matters.
  • Does your site exists with a www that you know of? Or its just SEMrush that is only showing it?
  • [DELETED]
  • [DELETED]

Next Topics on Trending Feed

  • 3

    I have a website that seems to go to https://whatevercoolsite.com fine when I type it. But, SEM Rush keeps showing https://whatevercoolsite.com AND https://www.whatevercoolsite.com in its reporting as getting traffic to both. Here's the part of my htaccess that works with that part. Do you see anything missing or incorrect? # Redirect all requests to https