Redirect a Page Using 301 Redirect Mod_Rewrite
Mod_Rewrite is one of the most useful modules which a server can have in terms of SEO. 301 redirect using Mod_Rewrite is one of the best options suggested for redirecting a page from one URL to another. Mod_Rewrite allows to organize the file structure of the website in a dynamic way.
If your site URL is linked properly or the website is not progressed in a right direction, a simple code inserting into the .htaccess file will solve the problem.
Benefits of Mod_Rewrite
- Make website URLs more descriptive to improve its user friendliness and search engine optimization
- Prevent undesired inline linking
- Hide the inner workings of the website address to visitors
Code:
- RewriteEngine On
- Rewritecond %{http_host} ^blazedream.com
- RewriteRule ^(.*) http://www.blazedream.com/$1 [R=301,L]

+ There are no comments
Add yours