calvinmicklefinger - 9:53 pm on Jun 7, 2010 (gmt 0)
So, you send the index page when "i" is blank, the correct numbered page if it exists, and the 404 HEADER and error message when a page does not exist.
The index.php is the page that contains the script. All "pages" are loaded into index.php as php "includes." Right now the script pulls 0.php as an include whenever a file does not exist. So, my goal was to have a person either go to the page they were sent to, or the index page. None other.
I have been thinking of this as a "custom" 404 page, but have not been sending any 404 header information, because I did not think it applicable. (Well, really, because I don't know how.)
If a casual visitor starts poking around, I want them to have the "opportunity" to subscribe to my list on the index page (which is an include of 0.php). Otherwise, the visitor will go to the page their link targeted.
How can I meet that desire and avoid being de-indexed (even though I'm not going to e doing much, if anything, in the way of SEO for this site)?