Building your website but no one visited on it? What’s wrong? You might can advertising with easy to get million traffic daily, But in one day you stop advertising you loose all those potential traffic.

Organic traffic from search engine are the best. Most of webmaster looking for traffic from search engine but they don’t know how to get it. I know it’s hard, really hard. Beside the topics, keywords, etc most of important thing we almost forgot it is the friendly search engine link.

Most of great search engine love to indexed permanent link (permalink) example or more than dynamic URL example etc. Even google and most great search engine claim their robot will crawl dynamic URL but most of people doesn’t like it in result. By make your URL friendly will also raised CTR on SERP.

* You should know URL Friendly will not affect on your search engine position ranking.

So let try to make simple Friendly URL using URL rewrite. First write this code on your .htaccess file (you can find this hidden file usually in your website root)

RewriteEngine On
Options +FollowSymLinks

//creating /mypage.html format
RewriteRule ^([0-9a-zA-Z-]+)/?/?.html$ /home/yourusername/public_html/index.php?page=$1

//creating /mypage/ format
RewriteRule ^([0-9a-zA-Z-]+)/?/?/$ /home/yourusername/public_html/index.php?page=$1

* Take attention on modification bold and red font, and in your index.php (Taken from my sample)


$p = $_GET[‘page’];
$p = “0”;

switch($p) {
case “tentang-kami”: include(“./pages/tentang-kami.php”); break;
case “kenapa-kami”: include(“./pages/kenapa-kami.php”); break;
case “berita”: include(“./pages/berita.php”); break;
case “promosi”: include(“./pages/promosi.php”); break;


Done, you will get friendly URL like this sample on 2 of my site in here and here just waiting until search engine indexed your page and send organic traffic for you. For real sample to make sure URL rewrite working take a look on this page and this page.

Good luck 😀

    Digg StumbleUpon Reddit Twitter RSS