- Original Poster
- #1
Hi
I have a site that I've now got on a https: so obviously a 301 redirect was put in from http
Trouble is i have pages that are duplicate as well ..co.uk/redreview.htm and ..co.uk/redreview
here is my htaccess code
Options +FollowSymlinks
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.htm -f
RewriteRule ^(.*)$ $1.htm
# RewriteBase /
# RewriteRule ^(.*)\.htm $1 [R=301,L]
RewriteEngine on
rewritecond %{http_host} ^freebetsonline.org.uk [nc]
rewriterule ^(.*)$ hxxp://wxw.freebetsonline.org.uk/$1 [r=301,nc]
RewriteEngine On
RewriteCond %{HTTPS} !on
RewriteRule (.*) hxxps://%{HTTP_HOST}%{REQUEST_URI}
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.htm -f
RewriteRule ^(.*)$ $1
#RewriteCond %{THE_REQUEST} \.htm
#RewriteRule ^(.*)\.htm$ /$1 [R=301,L]
-----------------------------------------------------------------------------------------------------------------
Would someone mind showing me what is should be please so all http 301s to https and all .htm versions go no none .htm
obviously I edited the code so it didnt hyperlink out here
I have a site that I've now got on a https: so obviously a 301 redirect was put in from http
Trouble is i have pages that are duplicate as well ..co.uk/redreview.htm and ..co.uk/redreview
here is my htaccess code
Options +FollowSymlinks
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.htm -f
RewriteRule ^(.*)$ $1.htm
# RewriteBase /
# RewriteRule ^(.*)\.htm $1 [R=301,L]
RewriteEngine on
rewritecond %{http_host} ^freebetsonline.org.uk [nc]
rewriterule ^(.*)$ hxxp://wxw.freebetsonline.org.uk/$1 [r=301,nc]
RewriteEngine On
RewriteCond %{HTTPS} !on
RewriteRule (.*) hxxps://%{HTTP_HOST}%{REQUEST_URI}
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.htm -f
RewriteRule ^(.*)$ $1
#RewriteCond %{THE_REQUEST} \.htm
#RewriteRule ^(.*)\.htm$ /$1 [R=301,L]
-----------------------------------------------------------------------------------------------------------------
Would someone mind showing me what is should be please so all http 301s to https and all .htm versions go no none .htm
obviously I edited the code so it didnt hyperlink out here