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:
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
- how do i include the mis-directed URL in my missing.html page
nice to know:
- Can i have that mis-directed URL auto-fill in a Word Press Search Box on that Missing HTML page?