404 Not Found Print

  • 1

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 Workplus directory)

Installation on a subfolder.

This .htaccess may apply if you installed Workplus 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]


Was this answer helpful?

« Back