[advanced search]
 

Go Back   NamePros.com > Discussion > Web Design & Development > Programming

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.


Closed Thread
 
LinkBack Thread Tools
Old 08-26-2007, 04:57 PM   #1 (permalink)
NamePros Regular
 
jackdomain's Avatar
 
Join Date: Mar 2007
Posts: 671
39.05 NP$ (Donate)

jackdomain is just really nicejackdomain is just really nicejackdomain is just really nicejackdomain is just really nicejackdomain is just really nice


redirection to a new window

Hi i want to know if it is possible to set something in htaccess to make all the external links openable in a new window...

with out tho have to modify each individual link in the blog


thanks
jackdomain is offline  
Old 08-27-2007, 02:45 AM   #2 (permalink)
Danltn.com
 
Daniel's Avatar
 
Join Date: May 2007
Location: Danltn.com / Nottingham, UK
Posts: 1,201
13.51 NP$ (Donate)

Daniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond repute

Ethan Allen Fund Ethan Allen Fund
Not possible.

However if your using a decent blog tool like WordPress, I'm sure there might be a plugin.

Last edited by Danltn; 08-27-2007 at 04:34 AM.
Daniel is offline  
Old 08-27-2007, 04:07 AM   #3 (permalink)
Senior Member
 
Peter's Avatar
 
Join Date: Nov 2003
Location: Scotland
Posts: 4,900
0.60 NP$ (Donate)

Peter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond repute

Child Abuse Save The Children Save The Children Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009
Quote:
Originally Posted by jackdomain
Hi i want to know if it is possible to set something in htaccess to make all the external links openable in a new window...
I very much doubt it is possible. End of the day it is the browser that decides if a link opens in a new window (making the decision based on the html, it does not have to honor what the html states).
__________________
Manage your portfolio using my new Domain Portfolio Management script.
Securing Your Domain Name From Theft
Peter is offline  
Old 08-27-2007, 04:32 AM   #4 (permalink)
NamePros Member
 
Join Date: May 2006
Posts: 160
81.00 NP$ (Donate)

TwistMyArm is on a distinguished road


I think I would put this in the 'absolutely not' basket for one reason: how a window opens is defined by the HTML output (and ultimately the browser, as peter@flexiwebhost says) and htaccess is only related to accessing the HTML type output.

That is to say, by the time the server is sending the HTML to the browser, htaccess is long forgotten and so it cannot have any effect on the HTML that is outputted.
TwistMyArm is offline  
Old 08-27-2007, 06:04 AM   #5 (permalink)
NamePros Regular
 
jackdomain's Avatar
 
Join Date: Mar 2007
Posts: 671
39.05 NP$ (Donate)

jackdomain is just really nicejackdomain is just really nicejackdomain is just really nicejackdomain is just really nicejackdomain is just really nice


so the answer is not?. ok thanks to answer.
Yes I'm using wordpress and auto blog plugin. I modified the text of the link but when i tryed to modify the "target" of the link, the plugin always stop working.
jackdomain is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Site Sponsors
Advertise your business at NamePros

All times are GMT -7. The time now is 08:28 AM.


Powered by: vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Template-Modifications by TMS
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85