March 10th, 2014, 09:54 AM
How does Google treat redirects?
For anything deeper than the first level of my site, I want to use 'home.php' as the main page rather than 'index.php', so I plan to use the following redirect method for all 'index' pages:
Will Google not like me for that?
<?php header('Location: http://mydomain/foo/home.php'); ?>
March 10th, 2014, 08:21 PM
Google probably won't care much, but you'd be better off just configuring the web server to serve home.php as the index page - saves you the trouble of having to create a bunch of redirect files.
March 11th, 2014, 10:20 PM
Cool. I'll do exactly that.
June 27th, 2014, 02:04 PM
I also agree with E-Oreo.
June 28th, 2014, 01:08 AM
Great work !!!! really good idea.