![]() |
.htaccess question
I have this php script that displays the content of a db field.
the url looks like this: mod.php?do=some-name-here for better URLs i have a .htaccess document with the following code: Code:
RewriteRule ^/?([a-zA-Z\_]+)$ /mod.php?do=$1 [L] What I wanna do is: I want the URLs so look like this: www.mydomain.com/some-name.here.html How do I add that last ".html"? Thanks in advance Niklas |
Try this.
Code:
RewriteRule ^/?([a-zA-Z\_]+)\.html$ /mod.php?do=$1 [L] |
Wow you really are helpful!!
Tahnk you so much, and thank you so much for all the help with the template engine!! |
All times are GMT. The time now is 05:38 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|