Forumsee logo

301 Redirecting index.php To Root

Search Engine Optimization - forums.seochat.com
Hi all,

I have an Opencart webstore and have successfully managed to 301 redirect the whole site to the varient except for mydomain.co.uk/index.php and mydomain.co.uk/index.php?

I am using the following code in my .htaccess file:

Code:

Options +FollowSymlinks

RewriteEngine on

RewriteBase /

RewriteCond %{SERVER_PORT} !^443$

RewriteCond %{HTTPS} off

RewriteRule ^(.*)$ https://www.mydomain.co.uk/$1 [R=301,L]

So how do I get the php varients to 301 redirect too?

Many thanks.
Date: Aug 3, 2017   


Last videos:

New And Trending Youtube views
New And Trending Youtube views
One Red Paper Clicp - Internet Success Story
One Red Paper Clicp - Internet Success Story
The correct way of changing domain name ?
The correct way of changing domain name ?

Cars ·
Travel ·
Pets ·
production-frontend