|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Dreaded mod_rewrite and friendly URLs?
Hi,
Just managed to test whether or not I can use mod_rewrite on my server using this simple code in my .htaccess file within my root directory Code:
RewriteEngine On RewriteRule ^test.php /apagethatexists.php [L] So I could have a link in my site such as http://www.mysite.com/test.php which is actually showing the page http://www.mysite.com/apagethatexists.php. So I was wondering should I go through this effort to change my dynamically written links such as http://www.mysite.com/articles.php?type=news so they show http://www.mysite.com/articles/news I know google can handle dynamic links but is this a better way of writting URLs? Last edited by bhutz : July 2nd, 2004 at 03:40 PM. Reason: can't spell :) |
![]() |
| Viewing: Dev Shed Forums > Web Design > Search Engine Optimization > Dreaded mod_rewrite and friendly URLs? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|