Like Us Like Us Facebook Subscribe Subscribe us YouTube Whatsapp Share us Whatsapp Query Send your queries

Working Tutorial – How to solve 301 redirect problem using .htaccess

Working Tutorial – How to solve 301 redirect problem using .htaccess

301 redirects are used to permanently move a site to a new location.
Search engines do not apply penalties to 301 redirects the way they
apply them to many other types of redirects.
Some times when you generate SEO reports you see 301 redirect problem. The most common one is you website is not redirecting to Redirecting requests from a non-preferred domain is important because search engines consider URLs with and without “www” as two different websites.Note: if you solve this problem then you will see 15% increase in search traffic

use Following Code in your .htaccess file
Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^ [nc]
rewriterule ^(.*)$$1 [r=301,nc]Replace with your domain name.

This tutorial is tested for domain , server used apache.

3 Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Do you have any Query / Suggestion