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 http://www.mysite.com/mypage/ or http://www.mysite.com/mypage.html more than dynamic URL example http://www.mysite.com/index.php?page=page1 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)
<?php
if(isset($_GET['page']))
$p = $_GET['page'];
else
$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
If you're new here, you may want to subscribe to my RSS feed. You may copy or publish this article to your blog or other site as long you give credit link back to this site article. Thanks for visiting my blog!







July 6th, 2008 at 5:45 pm
[...] Read the original here: SEO: Search engine friendly link, Using URL Rewrite on .htaccess [...]
July 7th, 2008 at 10:35 am
Hey, Istanto I love this article thanks for share
July 7th, 2008 at 11:37 pm
is there way we generate friendly url automatically on website? i mean script to make url friendly without need to check it manually.
July 9th, 2008 at 1:46 pm
Hi..Isanto..Could you please help me change the description and keywords for my 4images gallery.I saw your gallery Innovativedesktop.com and you seem to have done it perfectly.How did you do that..please help me..
ripejuices[at]gmail.com
July 9th, 2008 at 5:13 pm
Hi Ripe.. looking on your 4images templates and find the file with name header.html and add/edit meta for description and keywords. You can also add more meta I put sample in here so you can learn it and might make it better.
META NAME=”DESCRIPTION” CONTENT=”{image_description}, your page description, blabla”
META NAME=”KEYWORDS” CONTENT=”{image_description}, your keyword, blabla”
(I remove < and >)
By using this code it will automatically renew your meta description and keyword following your {image_description} data. I believe you can modify it with easy.
GL
July 9th, 2008 at 5:20 pm
@fahri sorry I’m still learn to make better code to generate it automatically.. In gamescript there is some sample code you can read it to answer your question.
July 9th, 2008 at 6:28 pm
nice aticle bro.
btw…just by include script ??
November 30th, 2008 at 7:37 pm
Tipdownload is one of the most popular software download sites, featuring free downloads of shareware,free ware,trialware and so on. Professional team building the blameless system,several kinds of software you can see: Education,security&privacy,system utilities,Game&Entertainment… All of them is functional.The operation is easy.The speed is fast.We are renewing our website all the time.Our website sometimes provide bonus for our customers in the festival day.Such as lottery and discount.During the time,all the customers have the right to join the action,so watch on us all the time ,don’t miss anything.