The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
htacess redirect?
Hello, how do you write a redirect condition in htacess y if someone types in exactly http://www.example.com/folder/, it will redirect to exactly http://www.example.com/folder.php and not affecting any files inside the /folder?
Thanks |
#2
|
||||
|
||||
you can try
Code:
RedirectMatch 301 ^/folder/ http://www.mydomain.com/file.php |
#3
|
|||
|
|||
or try
Code:
RedirectMatch 301 ^/folder/ http://www.mydomain.com/forum.php |
#4
|
||||
|
||||
am I going blind or is that the same thing I posted?..lol
|
#6
|
|||
|
|||
Yea, kinda like posting at the .com, the support staff post right hours later after you help someone & post asking the same thing, i think they're getting paid by the post on support.
|
#7
|
|||
|
|||
Quote:
Didn't realize adding / in front of folder works. I have try RedirectMatch 301 ^folder/ http://www.mydomain.com/file.php and this doesn't work as to what I want. Thank you very much! |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|