301 Redirect is known as one of the most search engine friendly method for a web page redirection. It is the most safest method for redirection and it also preserves search engine rankings for a particular page.Whenever it is needed to change any file and move pages around it is the most safest option.
.htaccess 301 Redirect
One of the simplest way to redirect is the use of .htaccess redirect. .htaccess redirect helps in redirecting a non www domain to www domain. Means it will redirect the domain.com to www.domain.com. For this redirection we need to create a simple .htaccess file with the code below.
Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^domain.com [nc]
rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc]
You need to replace the domain.com and www.domain.com with your website's actual name. Create the .htaccess file with the code above and place it in the root directory of your website.
Note* The .htaccess method given above works only on Linux servers having the Apache Mod-Rewrite module enabled in it.
skip to main |
skip to sidebar
Web Development, Web Designing, SEO Services
Search This Blog
About Me
- Mini
- We provide PHP web development, web designing and SEO services. contact at:- mini.hightech@gmail.com
Labels
- .htaccess redirect (1)
- 301 redirect (1)
- b2b portals (1)
- benefits of b2b portals (1)
- blog promotion (1)
- blog promotion tips (1)
- blogging (1)
- boonex social networking script (1)
- business portals (1)
- complex databases (1)
- database (1)
- dolphin (1)
- dynaic sql statements (1)
- dynamic sql (1)
- dynamic website development (1)
- embedded SQL (2)
- embedded SQL statements (1)
- extensible markup language (1)
- free seo tools (1)
- free Social Networking Scripts (1)
- google (1)
- how to create xml sitemap (1)
- how to promote a blog (1)
- html (1)
- html tags (1)
- html vs xml (1)
- hypertext markup language (1)
- java (1)
- java programming (1)
- java programming language (1)
- joomla (1)
- joomla application development (1)
- joomla integration (1)
- mysql (1)
- object oriented database (1)
- Object Oriented Database Management System (1)
- Object Relational Database Management System (1)
- on page seo tags (1)
- online marketing (1)
- online store management system (1)
- OODB (1)
- oodbms (1)
- open source Commerce (1)
- ordbms (1)
- oscommerce (1)
- PHP (1)
- php open sources (1)
- php pragramming language (1)
- search engine algorithm (1)
- search engine friendly (1)
- search engine optimization (1)
- search engine results (1)
- search engines (1)
- SEO (1)
- seo friendly website (1)
- seo html tags (1)
- seo tags (1)
- seo tips (1)
- seo tools (1)
- sitemap (1)
- Social Networking Scripts (1)
- sql (1)
- static website development (1)
- sun microsysytems (1)
- tools for website development (1)
- use of embedded SQL (1)
- web analysis tools (1)
- web design tools (1)
- web development (2)
- web development tips (1)
- web development tools (1)
- web page redirection (1)
- web tools (1)
- website development (2)
- xml (1)
- xml sitemap (1)
- xml sitemap for Googl crawling (1)
- yahoo (1)
Blog Archive
Blogroll
Back on top ^
created by Nuvio | Webdesign
Complete Web Solution © 2008 Ken ahlin | Converted to XML Blogger Template by ThemeLib