The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
.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 |
#2
|
||||
|
||||
Try this.
Code:
RewriteRule ^/?([a-zA-Z\_]+)\.html$ /mod.php?do=$1 [L] |
#3
|
|||
|
|||
Wow you really are helpful!!
Tahnk you so much, and thank you so much for all the help with the template engine!! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|