<? DEW-CODE.COM  

Downloads

Assorted scripts  (1)
DewNewPHPLinks  (9)





Lost Password?
No account yet? Register

Dew-Code Newsfeed

Resources


 USdigitalcable.com

Dew-Code
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Target links problem (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Target links problem
#1467
Dewed (Admin)
Admin
Posts: 603
graph
User Online Now Click here to see the profile of this user
Dew-Code.com
Re:Same problem here 1 Year, 5 Months ago Karma: 9  
IE8 is.. well just as bugged as 7 and .. no wait wait 6 didn't have that bug..

IE7 & 8 ignore the BASE HREF tag in the head of every page.

I suspect you have a mod rewrite rule that redirects 404 (page not found) back to your home page.

So.. possibly another mod rewrite rule could correct it.

Code:

RewriteRule ^directory/out.php?ID=(.*) out.php?ID=$1 [L]
this needs to go in your .htaccess file, above the rule that redirects 404s The alternative, change all the links to "out.php" from relative links to absolute links. Since out.php lives in your root directory, just remove the leading dot from "./out.php" to "/out/php"
 
Report to moderator   Logged Logged  
 
Nothing to it but to Dew it !
Dew-Code.com
  The administrator has disabled public write access.
#1468
Alex (User)
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
Re:Target links problem 1 Year, 5 Months ago Karma: 0  
First solution didn't solve the problem.

Second one worked! Made the modification in functions.php in the "function draw_sites"

Unfortunately I was not able to also adapt "function draw_search_sites" so for the search result page the problem still exists.

PS : Dewed , I've sent you a message.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1471
tsimpouri (User)
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Re:Target links problem 1 Year, 5 Months ago Karma: 0  
Hello i try the last sollution from Alex but again i have error in explorer 8.

in the last post i dint understand have do i have to do.

Thanks,
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1472
Dewed (Admin)
Admin
Posts: 603
graph
User Online Now Click here to see the profile of this user
Dew-Code.com
Re:Target links problem 1 Year, 5 Months ago Karma: 9  
I think he means the second suggestion worked, which was "Since out.php lives in your root directory, just remove the leading dot from "./out.php" to "/out/php"


that would involve editing the include/functions.php file AFTER making a backup
 
Report to moderator   Logged Logged  
 
Nothing to it but to Dew it !
Dew-Code.com
  The administrator has disabled public write access.
#1474
razvan1958 (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Internet home business opportuni
Re:Target links problem 1 Year, 4 Months ago Karma: 0  
I have the same problem:
- Normal links open in same window
- Featured links open in new window
I changed the codes and got Error 500 on index.php(directory) page.
Does anyone know how to solve problem?
 
Report to moderator   Logged Logged  
 
  The administrator has disabled public write access.
#1475
Dewed (Admin)
Admin
Posts: 603
graph
User Online Now Click here to see the profile of this user
Dew-Code.com
Re:Target links problem 1 Year, 4 Months ago Karma: 9  
editing the script will not cause a server 500 error.

Did you also edit .htaccess ? a typo there WILL cause a server 500 error.
 
Report to moderator   Logged Logged  
 
Nothing to it but to Dew it !
Dew-Code.com
  The administrator has disabled public write access.
Go to top Post Reply
get the latest posts directly to your desktop
Outsource your projects to thousands of programmers at
ScriptLance.com
Newsflash
Interested in
advertising?

This space for rent!

Sign up for PayPal and start accepting credit card payments instantly.
Copyright Dew-Code 2008