404 Page / Missing.html Customization
Posted by: MacMyDay
Posted on: 2009-02-13 10:53:00
I see I've got alternatives to custom error pages. Either using missing.html or changing .htaccess file.
I simply want a page to display as missing.html; but within this page I would like to include the wrong URL the user entered or linked from. In the standard 404 error page is usually states:
Not Found
The requested URL /xxxxxxx/ was not found on this server.
How can I drop this phrase into my custom 404 missing.html page?
Frankly, Ideally what I'd like to do is have that URL automatically entered into a search box on my WordPress website. I know that'd be tricky but what's happened is I migrated my site from the old blog system "Radio" to word press. I've got all my posts, but within some of those posts I refer back to pages. It's impossible to identify all those pages with self-referrals AND identify the new Word Press URL for that page.
So in summary I'd like
1) how do i include the mis-directed URL in my missing.html page
nice to know:
2) Can i have that mis-directed URL auto-fill in a Word Press Search Box on that Missing HTML page?
Thanks