I have a website with a form on every page and as a result it redirects to the https version url when a user clicks on every page of my site. How does https affect rankings, in webmaster tools I used the fetchbot and it only showed some code not all and my developer says its due to googlebot not liking the https redirect? Anyone any experience with google and https urls etc? Thanks
Hi anyone help thanks. this is currently how we do it. on each page this code is called <?php if( $_SERVER['SERVER_PORT'] == 80) { header('Location:https://'.$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF']).''.basename($_SERVER['PHP_SELF'])); die(); } ?>
Google do not like redirects so avoid as far as possible. Either use HTTP or HTTPS within the web page links so that once clicked the user go to that URL without any redirection.