404 Not found

July 18, 2013 by Admin

How to handle 404 not found error for SEO concern as the crawlers notice to the broken links or not found links and it’s almost required for every website.

If your site is a WordPress site:

Create a 404.php file and upload it beside your other theme files and you need to do some changes in your .htaccess to lead the wrong destinations to the 404.php page. In your WordPress if your public_html or .htaccess is writeable you don’t need to write the code as while installing WordPress do that but some servers for the security concern they don’t give the write permission to the folders in public.

What to write in the .htaccess file for the WordPress sites:

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

If your site is not a WordPress site, again you need to make a 404.php or 404.html file and upload it in your root then write the below single line in your .htaccess file:

ErrorDocument 404 /404.html
ErrorDocument 404 /404.php

Pin It

Latest comments

Listen, discuss, create. We make your website as unique as you.

Heliastar is a full-service design and development website dedicated to consistently providing high customer satisfaction by rendering excellent service, quality products, and furnishing an enjoyable atmosphere at an acceptable price/value relationship.

You can be assured that our friendly approach to web design and hosting does not mean that you have to compromise on price or quality.

Contact Us

Around the block ..

Phone +1 813 964 74 75

Email info{@}heliastar.net

Why Us?

• Highly Experienced in Web Design

• Experts in Web Development

• Experts in Server Administration

• 24/7 Email & Phone Support

• Cost-effective Approach

• Customer Support Plans

• High quality Servers (Linux & Windows)

• Free Consultation

• Free Staff Training

Recent Bolg Posts Recent CommentsCategories
Tag Cloud

© 2006 - 2017 Heliastar Design & Development , All Rights Reserved.