Just wanted to show you guys http://www.usewaterincar.com/ I created a custom PHP script that'll alternate between 2 pages, 1 is a squeeze page that'll capture the name/email, and essentially sell to the customer. The 2nd is a review page that'll show my top 3 for the niche. Everytime you refresh the page it'll alternate between the pages, going to test and see which one converts more. - Danny
I've received a few PM's asking for help on how to do this. I've written out some instructions so that anyone can do this. Go ahead and create 2 files which are named as follows: index.php count (no extension!) In the count file, type in 0 and just save it. In the index.php file you will need the following script: <?php $counter = file_get_contents('./count'); if ($counter) { include('./file1.html'); $counter--; } else { include('./file2.html'); $counter++; } file_put_contents('./count', $counter); ?> PHP: On the lines where it says include, change the file1.html and file2.html to whatever files you want it to alternate between. Make sure the files count and index.php are in the same folder and upload it. You can change the relative path... in the script ./ means the same folder, ../ would mean 1 folder up and so forth. If you need any help setting it up just let me know! - Danny
It shouldn't matter at all, php include doesn't affect the indexing of your pages or SEO at all. PHP include is a server side script, so Google will see the same html source code as the you will. - Danny