Google like it when you always use https. So, I put the following code in my .htaccess:
Code: Select all
RewriteBase /
RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]
RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L]
RewriteRule ^download/(.*) /index.php?route=error/not_found [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]
RewriteEngine On
rewritecond %{http_host} ^www.WEBSITE.nl
rewriteRule ^(.*) http://WEBSITE.nl/$1 [R=301,L]
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
The links on the website works also fine.
But..
Visitors who are going directly to any page will get a code in the URL. The visitors from Google are getting the same.
Example: http://website.nl/page goes to https://website.nl/index.php?_route_=page.
It works, but I don't think Google like this..
Before I use the last part of the code I didn’t have this problem. The VQmod codes I know doesn’t work

Any ideas? Thanks!