How can i solve 404 not found after installation?

0
230

If you are having 404 not found after you install bdtask softwares this means that you need to adjust the main .htaccess for bdtask software.

To set up and fix your Blank Page or 404 Page Problem please check the following steps :

1. Log into your cPanel.
2. Navigate to the section Files >> File Manager:

3. If you wish to edit .htaccess file for your main domain, navigate to public_html folder. If you need to make some changes to the addon domain, move to public_html/youraddondomain.com folder.

Once there, make sure that Show Hidden files (dotfiles) option is enabled in the Settings menu:

4. Locate .htaccess file, right-click >> Edit:

5. If there is no .htaccess file located in your File manager, feel free to create a new one using File option:

and Save the file.It should work now. Here we added all the details .htaccess based on server company. Please use that .htaccess code only what is you need based on your server.

 

Installation on a subfolder:

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

1&1 Installation: 

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]
To know Details about subfolder, folder and subdomain .htaccess visit here >>
Godaddy Server .htaccess code: 
RewriteEngine On
RewriteCond $1 !^(index\.php|resources|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L,QSA]
to know details please visit this here >>

Namecheap Server installation with .htaccess :

RewriteEngine On
RewriteCond %{HTTP_HOST} ^example\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.example\.com$
RewriteRule ^(.*)$ "http\:\/\/domain\.com/$1" [R=301,L]
For more details please visit here >>

When you are 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

LEAVE A REPLY

Please enter your comment!
Please enter your name here