|
#1
|
||||
|
||||
|
hi,
i made a website and want to change the URL from dynamic URL to static html SEO Friendly URL, i google it, and found that it could happen via modifying the .htaccess file, i tried most of the code written on the internet and all of them did not work. So can anyone here help me ?for example: the URL now is: h**p://www.mydomain.com/view.php?id=23 and want the URL to have the id number and the title of the page which is stored in database. so, i want it to be: h**p://www.mydomain.com/id_mytitle.html for example: h**p://www.mydomain.com/23_mytitle.html Can anyone here help me? and Thank you in advance.
Last edited by OneManShow; 12-22-2007 at 01:05 PM. |
|
#2
|
|||
|
|||
|
Options +FollowSymLinks
RewriteEngine on RewriteRule (.*)_$yourtitle\.htm$ /view.php?id=$1 Course, you'll have to modify the script to replace your title with the title variable. |
|
#3
|
||||
|
||||
|
Quote:
will it be h**p://www.mydomain.com/20_test.htm ?????? Last edited by OneManShow; 12-22-2007 at 01:06 PM. |
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
|
|
All times are GMT -5. The time now is 06:52 AM.



So can anyone here help me ?






