PHP Redirect to Self (refresh)
Exit(); // if more than one header, you will get "header already sent" error if don't exit out
PHP Redirect to other page
header( 'Location: http://www.example.com/other_page.html' ) ;
A : Due to Google’s redirect penalty.
Update on Google penalty (04/17/16): https://searchenginewatch.com/sew/news/2342766/google-warns-against-sneaky-redirects-in-updated-guidelinesTags: google, penalty, php, rediret
Categorized in: Web Development
This post was written by hackya