I have a photography site with a daily photos feature. Somehow, someone has figured out that typing in a dummy url will generate a single page with all the daily photos - I suspect it is a simple way for them to browse my entire daily photo collection and download the ones they like.
I noticed this because of the unusual url in my google analytics reports.
My url structure is like this:
<a href="http://www.mysite.com/stories/daily_photos/year/month/day.php">http://www.mysite.com/stories/daily_photos/year/month/day.php</a>The user is simply changing segment 3 like so:
<a href="http://www.mysite.com/stories/daily_photos/testing.php">http://www.mysite.com/stories/daily_photos/testing.php</a>This pulls up a consolidated page of all daily postings. I also just realized that simply changing segment 3 to anything at all still pulls up the page! EE implements 404 up to segment 2, then allows you to use a “require_entry” parameter from there onwards if necessary. Using the “require_entry”, the entire page goes blank. I also have “enable strict urls” set to “yes”. ( so not working for me).
Not sure how to enforce a rule which says if the url is non-existent, regardless of segment values, it should go to a 404 page. Ideas?