I’m going to relocate to https and to do some modifications of my site. One of them is to change addresses of some pages. For example, the following pages
will have new address
Search engine expert told that I should have the following chain of 301 redirects:
http://site.com/dir/pageone.php -> https://site.com/dir/pageone.php -> https://site.com/pageone.php.
the same for the rest pages …
It is possible to set the first redirect (http -> https) in hoster settings of my account. Doubtless the second redirect must be done in .htaccess. If I write in .htaccess the following
Redirect permanent /dir/pageone.php https://site.com/pageone.php
as I understand .htaccess will redefine hoster settings and there will be only one redirect
http://site.com/dir/pageone.php -> https://site.com/pageone.php.
Tell me, please, how can I define two redirects according to search engine expert instruction?