External Links

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
davecjr
Regular
Posts: 167
Joined: Fri Oct 29, 2004 3:09 pm
Contact:

External Links

Post by davecjr »

I recently installed S9Y on Ubuntu for an internal business website. I have found that when I insert an external link in an article that most of the time when you click on that link that should go to an external website, it just takes you back to my initial S9Y front page. I have gotten a couple of external links to work but don't see why one works and most do not. I am new to linux and wonder if this may be a setting on the server that S9Y is installed on. Thanks in advance.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: External Links

Post by garvinhicking »

Hi!

Could you give us an example URL of such an article? Maybe the links are simply malformed?

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
davecjr
Regular
Posts: 167
Joined: Fri Oct 29, 2004 3:09 pm
Contact:

Post by davecjr »

Sorry for taking a few days! Here is one that when you click on the link in the article, you get taken back to the front page of the blog.

<a href="http://www.usatoday.com/tech/products/c ... ting_x.htm" title="USA">test</a>
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Sorry, I meant the URL of a blog entry where you use that link :)

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
davecjr
Regular
Posts: 167
Joined: Fri Oct 29, 2004 3:09 pm
Contact:

Post by davecjr »

Sorry! Like I mentioned earlier though, it's on an internal (inside a firewall) website. Maybe that's part of the problem but it does work on some links and not on others. I'll try to figure out something different when some work and some not.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Oh, okay, I didn't get that then. You might need to post the full HTML code of the blog output so that we can see how the links are embedded there?

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
davecjr
Regular
Posts: 167
Joined: Fri Oct 29, 2004 3:09 pm
Contact:

Post by davecjr »

Here is the section where even a link to a document in the uploads directory just goes to the blog.
-----
<div class="serendipity_entry_body">
<a href="http://flbweb/exit.php?url_id=71&entry_id=42" title="http://flbweb/uploads/pool1.pdf" onmouseover="window.status='http://flbweb/uploads/pool1.pdf';return true;" onmouseout="window.status='';return true;">$5 Pool</a><br />
<a href="http://flbweb/exit.php?url_id=70&entry_id=42" title="http://flbweb/uploads/pool2.pdf" onmouseover="window.status='http://flbweb/uploads/pool2.pdf';return true;" onmouseout="window.status='';return true;">$1 Pool</a>
</div>



<div class='serendipity_entryFooter'>
Posted by <a href="http://flbweb/index.php?/authors/1-Davi ... ell">David Cockrell</a>
in <a href="http://flbweb/index.php?/categories/1-News">News</a>
-----

Does this help any?

Also, if you try to 'save target as' when right clicking on the link above, the file it tries to save is 'exit.php'.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Ah, this tells us that "HREF" rewriting is active. This happens because you have at least installed the "Track Exits URL" plugin installed.

It seems when calling exit.php it can'T find the mentioned URL and does no proper redirect. Why that is I sadly can't tell without viewing your Page online.

exit.php is a simple redirect script that should use a HTTP redirect to lead you to the target site. But disabling the Track Exits URL plugin could solve it.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply