How to fix 404 error in website 2018
How to fix 404 error in website 2018

How to fix 404 error in website 2018

•404 File Not Found Error

•Fix .htaccess File

HTML Site Code

ErrorDocument 404 /index.html
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]

Notepad File Save = .htaccess

 

PHP Website Code

 

ErrorDocument 404 /index.php
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]

 

Wordpress Website

 

Wordpress 404 ERROR Syntax

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

save as file .htaccess.txt as notepad

 

 

 

 

what clients say about Us

We highly exhort their SEO And SMO to tryout over all Digital Marketing services

ravi kiran

excellent teaching

ramesh

Hi everyone my name is shadab alam and I had come to Hyderabad for do the digital marketing course I have attend the demo class in many institute but here in rakesh tech solutions we get real time study and the fee is affordable so if you are looking for digital marketing course so don’t waste your time. join rakesh tech solutions.

Shadab Alam

Hi, I would like some help with my facebook page for my food truck business. Can you tell what services can you offer?

Suraj

iam interested this job

madhusudhana rao

Our Clients