Monday, September 28, 2009

Show actual URL in phpMyDirectory

Just making a quick note of this here for future reference. If you use phpMyDirectory (v1.x) and want advertisers to benefit from a direct / plain link to their web site (rather than a redirect through the script) then you need to do the following (at your own risk, etc. etc).

In listing.php add the lines in red

} else {
} else {

And then place in listing_default.tpl

< ?php echo $www_url_full;?> (remove space before ?, did that to show in blogger)

Thanks to 'Anneliese-PMD' on their forums for sharing that.

1 comment:

Ant said...

Thank you for this!...was looking around the forums and couldn't find anything about adding the full URL.