error 404 on link

Questions & Problems about Installing or Upgrading with Version 3 phpList.
Forum rules
Please help the volunteers to help you by supplying the version of phpList you are using, browser & version and if possible, a link to your phpList installation.

error 404 on link

Postby mulbzh » 2:39pm, Wed 14 May, 2014


i had installed phplist 3.0.6
I put all the files in

when i am in administration interface, if i click on one link, i have got error 404 (not found), for all link it is the same error :?

If i look in URL, i can see :
but if i change this URL to, it works !

but i have to always put index.php in URL for it work....

I had change in config.php something, i put $pageroot as $pageroot = '/newsletter';

but it is not better !
any ideas ?

phpList newbie
Posts: 4
Joined: 2:29pm, Wed 14 May, 2014

Re: error 404 on link

Postby danwaterloo » 4:37pm, Wed 14 May, 2014

It sounds like you need to tell apache to recognize the index.php file as a default page to display

you can do that using a .htaccess file, put it in your lists directory...
this content works for me... should work for you....

Code: Select all
DirectoryIndex index.php

<FilesMatch "\.(php|inc)$">
Order allow,deny
deny from all
<FilesMatch "(index.php|dl.php|ut.php|lt.php|download.php|connector.php)$">
Order allow,deny
allow from all

# if you want more than this for attachments, you can increase these values
# but you really, really should consider uploading them somewhere
# and only sending a link in your mails
# bigger than this really doesn't make sense in emails

## these lines are now commented out, to avoid 500 errors,
## but you should consider adding them

#php_value upload_max_filesize 3M
#php_value post_max_size 4M
PL Master
Posts: 276
Joined: 3:51am, Wed 30 Oct, 2013

Re: error 404 on link

Postby mulbzh » 9:28am, Thu 15 May, 2014


i look in .htaccess in my newsletter directory and it is already like this :(
phpList newbie
Posts: 4
Joined: 2:29pm, Wed 14 May, 2014

Re: error 404 on link

Postby Dragonrider » 10:10am, Thu 15 May, 2014

If you've set your $pageroot in the config.php file (not config-extended.php which needs to be renamed config.php to work), then can you please check your admin pages for config>Settings and look at your Subscription settings and ensure that the URL's shown there are correct for your path to your newsletter directory, no extra "/" or missing or extra directories given.

If that's correct, please see if removing the / from the start of your $pageroot="/newsletter"; makes any difference. Then get back to us.
My sites:-,,,
Latest phpList version is now 3.0.12 (3 February 2015) and requires a minimum of MySQL 5.0 and PHP 5.3.x
Posts: 3460
Joined: 6:58am, Sun 02 Jul, 2006
Location: Ilkley, West Yorkshire, United Kingdom

Re: error 404 on link

Postby mulbzh » 12:18pm, Thu 15 May, 2014

i had changed Subscription settings with correct URL but the problem is still the same.

i had changed $pageroot but not better.

I think the problem is about htaccees.
I had installed Phplist in but there is one other website in with one other htacess

AuthName "Restricted Area"
AuthType Basic
AuthUserFile /var/www/vhosts/
AuthGroupFile /dev/null
#require valid-user

Options +FollowSymlinks
RewriteEngine on

RewriteCond %{HTTP_HOST} !$
RewriteRule (.*)$1 [R=301,L]

RewriteRule ^([0-9]{1,3})(-[a-z0-9-_]+)?/?$ index.php?id=$1 [L,QSA,NC]
RewriteRule ^([a-z0-9-_]+)/?$ index.php?section=$1 [L,QSA,NC]
RewriteRule ^([a-z0-9-_]+)/([0-9]{1,3})(-[a-z0-9-_]+)?/?$ index.php?section=$1&$
RewriteRule ^([a-z0-9-_]+)/([0-9]{4})/?$ index.php?section=$1&year=$2 [L,QSA,NC]
RewriteRule ^([a-z0-9-_]+)/([0-9]{4})/([0-9]{2})/?$ index.php?section=$1&year=$$
RewriteRule ^([a-z0-9-_]+)/([0-9]{4})/([0-9]{2})/([0-9]{1,3})(-[a-z0-9-_]+)?/?$$
RewriteRule ^([a-z0-9-_]+)/([a-z0-9-_]+)/?$ index.php?section=$1&page=$2 [L,QSA$
RewriteRule ^([a-z0-9-_]+)/([a-z0-9-_]+)/([a-z-]+)/?$ index.php?section=$1&page$
RewriteRule ^([a-z0-9-_]+)/([a-z0-9-_]+)/([0-9]{1,3})(-[a-z0-9-_]+)?/?$ index.p$
RewriteRule ^([a-z0-9-_]+)/([a-z0-9-_]+)/([a-z-]+)/([0-9]{1,3})(-[a-z0-9-_]+)?/$

RewriteRule ^medias/thumb/(.*)$ php/resize3.php?width=auto&height=120&max_width$
RewriteRule ^medias/square/(.*)$ php/resize3.php?width=150&height=150&method=cr$
#RewriteRule ^medias/original/(.*)$ medias/$1 [L,NC,QSA,NE]

AddType application/x-httpd-php .php .htm .html
php_flag zlib.output_compression On
php_value zlib.output_compression_level 9

FileETag none

RewriteRule ^(js|css)/([0-9.]+)/([a-z0-9]+).(js|css)$ /min/?g=$3.$4&v=$2

DirectoryIndex index.php

do you think is the problem ?
phpList newbie
Posts: 4
Joined: 2:29pm, Wed 14 May, 2014

Re: error 404 on link

Postby mulbzh » 6:54am, Tue 20 May, 2014

no idea ?
phpList newbie
Posts: 4
Joined: 2:29pm, Wed 14 May, 2014

Return to Installing and Upgrading

Who is online

Users browsing this forum: No registered users and 3 guests