404 Not Found After Installation

2 min read

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

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

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 RevTec CRM directory)

Installation on a subfolder. #

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

RewriteEngine onRewriteBase /foldername/RewriteCond $1 !^(index.php|resources|robots.txt)RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule ^(.*)$ index.php?/$1 [L,QSA]AddDefaultCharset utf-8

Installation on subdomain #

RewriteEngine onRewriteBase /RewriteCond $1 !^(index.php|resources|robots.txt)RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule ^(.*)$ index.php?/$1 [L,QSA]AddDefaultCharset utf-8

Getting an error 500 and you are using cPanel #

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

1&1 Installation #

For 1&1 hosting use the following .htaccess

RewriteEngine onRewriteBase /RewriteCond $1 !^(index.php|resources|robots.txt|static) [NC]RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule ^(.*)$ 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

If you still have problems please open support ticket and we will be glad to assist you as long your server passes the requirements.

Updated on 2024-11-24