404 After Installation

Only apply the following suggestions if you are getting 404 error not found, the default Daedelix PSA .htaccess file should work well on most servers.

If you are getting 404 not found after you install Daedelix PSA this means that you need to adjust the main .htaccess for Daedelix PSA.

Make sure that you have mod_rewrite enabled on your server.

If you are using OSX make sure you have enabled to show hidden files otherwise the .htaccess won’t be uploaded to the server. (if it’s skipped you need to turn on show hidden files and re-upload in the Daedelix PSA directory)

Installation on a subfolder.

This .htaccess may apply if you installed Daedelix PSA next to WordPress installation and you are auto-redirected to WordPress default 404 Page.

RewriteEngine on
RewriteBase /foldername/
RewriteCond $1 !^(index\.php|resources|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L,QSA]
AddDefaultCharset utf-8

Installation on subdomain

RewriteEngine on
RewriteBase /
RewriteCond $1 !^(index\.php|resources|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L,QSA]
AddDefaultCharset utf-8

Getting an error 500 and you are using cPanel

RewriteEngine on
RewriteCond $1 !^(index\.php|resources|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ subfolder/index.php?/$1 [L,QSA]
AddDefaultCharset utf-8

1&1 Installation

For 1&1 hosting use the following .htaccess

RewriteEngine on
RewriteBase /
RewriteCond $1 !^(index\.php|resources|robots\.txt|static) [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/?$1 [L,QSA]

Windows Installation (IIS)

Check the following article for windows web.config file.

NGINX Installation

Check the following article for NGINX config.


Other solutions:

If you are managing the server and using Apache make sure that you have configured AllowOverride to All in /etc/httpd/conf/httpd.conf or  /etc/apache2/apache2.conf

This can happen if you don’t have this option set to All.

You can read more here and here

Did you find this article useful?

  • Disabling Customers Area

    If you want to disable the customers area, you can achieve this but adding a simple hook which is av...
  • Implement PSA (3)

    Now that the PSA is working we should set up all the features and 3rd party accounts. 1. Instal...