I am changing the layout of a website born in 2005. I have html and php pages that I have to redirect. I am writing the follow php code: <? Header( "HTTP/1.1 301 Moved Permanently" ); Header( "Location: http://www.example.com/new-page/" ); ?>
I am not able to edit .htaccess, so I wonder if (from a Google point of view) a php redirect by php is accepted. My doubt is that Google help does not mention any php redirect, but only .htaccess.