Each search engine I have checked for my sites have indexed a random page like DF_MSAnalysis or my coppermine gallery or whatever. All kinds of other pages other than my index.php. I have tried several htaccess tricks and found none that will redirect all traffic to the main page.
I used to have a script that would redirect all traffic to the main page if they tried accessing my site through any other page than the main one.
Does anyone have a solution or a script that would do the same thing?
Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CPGNuke 8.2b & Dragonfly