User Tools

Site Tools


not_found_pages_404

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
not_found_pages_404 [2017/07/19 15:11] – [Customize Error (Globally)] lucynot_found_pages_404 [2017/07/19 15:15] lucy
Line 30: Line 30:
  
 If you create a campaign using an IP address instead of a domain then the 404 page will not be displayed if the user enters the URL to the document root directory (e.g. http://91.228.11.25/).  If you create a campaign using an IP address instead of a domain then the 404 page will not be displayed if the user enters the URL to the document root directory (e.g. http://91.228.11.25/). 
 +
 +
 +===== Create an "error" page that redirect the user to a different website =====
 +
 +If you want to display an error for a few seconds and then redirect the user to an existing website, you could save a html header in the not found template. In this case the user gets redirected to www.example.com after 3 seconds:
 +
 +  <!DOCTYPE HTML>
 +  <html lang="en-US">
 +  <head>
 +  <meta charset="UTF-8">
 +  <meta http-equiv="refresh" content="3; url=http://example.com">
 +  </head>
 +  <body>
 +  This is an error page. If you are not redirected automatically, follow this <a   href='http://example.com'>link to example</a>.
 +  </body>
 +  </html>
  
not_found_pages_404.txt · Last modified: 2020/01/16 20:43 by lucy