I have migrated to WordPress from other (probably unknown to you) free blogging site (bloguje.cz if you are curious)
The issue is, that previous system had sometimes URL ending with ".php" and sometimes not. So external links to my page can look both ways:
I decided that on Wordpress, all my pages will have custom URL containing ".php" at the end.
And now I am facing the fact, that some users can sometimes receive "404" page when going to my site from the "another example" link.
So i would like to "tweak" my 404 page to contain all the words from URL in search result and search for it. So it would contain "another example" as searched item.
I am using WordPress installation downloaded from czech community page - (everything translated into Czech) and default theme - Twenty Eleven 1.2