Hi Friends , My need I depicted Below.... Please Help me how it can possible. Explanation by Example : Suppose, there is one website url : www.sitename.com/article.php?id=5 I can convert the URL in SEO friendly manner with rewrite rule in .htaccess file as below : www.sitename.com/article/5 [I CAN DO THIS] But what I want is, The name of the Article in the URL like : www.sitename.com/article/the_name_of_the_article_here [I WANT THIS] I tried lot for the solution of this problem but didn't got any. Please tell me if you can suggest any tip. You can contact me : anes.pa@gmail.com I am waiting for your Good help Regards Anes
Add a couple of extra columns to the article table - one being the appropriate url, the other a hash with a short (3 or 4 byte) index. So rather than look for '5', you look for the hash of 'article/the_name_of_the_article_here'
@amskape the_name_of_the_article_here is not unique , consider wat if in future you create another article with the same name ? Solution sitename.com/the_name_of_the_article_here_id or siename.com/id/the_name_of_the_article_here where id is unique id , probably from your database article table.
Well, if you run any CMS, You can just configure it to make URL like that Are you running on Any CMS? Or Just running a Basic PHP site? If it is a CMS, Simply google for the thing you need and you can get it solved Or else. that would make some Time of Yours :| Thanks