|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome. |
Share Thread: & Tags
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
What I am trying to do is make is so any external link from my site automatically opens in a new window, without having to use a target="_blank" tag. Is there a way to do this in htaccess.I assume that there is but I dont know how to do it.
|
|
|||
|
.htaccess won't do that, you are stuck with target or JavaScript.
|
|
|||
|
In regards to the new window links, you can add
<base target="_blank"> to each page so that all the links on that page will open in a new window. Add it between the <head> and </head> on each page. I think that's the only thing you can do--I don't think you can do it in .htaccess.
__________________
Bill Hartzer's Blog |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |