View Issue Details

IDProjectCategoryView StatusLast Update
0020144phpList 3 applicationConfigurationpublic12-01-20 13:06
Reporterbulgin 
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionno change required 
Product Version3.4.8 
Target Version3.4.9Fixed in Version 
Summary0020144: 404 error custom page not working
DescriptionI have version 3.4.9.

My install is in: subdomain-name.domain.com

When creating a custom 404.html page in any of the following and commentating as:
define('ERROR404PAGE', '404.html'); in phplist config.php

/home/directory/public_html/404.html
/home/directory/public_html/subdomain-name/404.html
/home/directory/public_html/subdomain-name/lists/404.html

accessing a non-existent html page in any of those directories, produces the standard system 404 not the custom 404.html
Tags404, configuration

Activities

bulgin

10-01-20 22:26

reporter   ~0062952

SOLVED: The custom 404.html file MUST be in the - for the example given above - /home/directory/public_html/subdomain-name.com/404.html and it only works with bad phplist embedded links.

For example, just randomly trying sub-domain-name.com/blablabla won't produce the custom 404.html - it would appear it MUST be a link embedded in the actual email for this work.

Perhaps the config.php notes should make this more clear regarding that it would only work with bad links embedded in the actual message.

michiel

12-01-20 13:05

manager   ~0062953

The ERROR404PAGE only works for pages that are under control of phpList. If you want other pages to work with the same file, you need to configure your webserver to use that file.