I don't know enough php to do more than tinker, but it seems to me that it would be fairly easy to make alinks NOT create links to a page that is the destination of the link itself. For example, I create an alink "Italian Wine" which directs to a page about Italian wine. I don't need instances of "Italian Wine" on the Italian wine page link to the Italian wine page... I'm already there.

Is this easy to do? Is it just an if...then?

Thanks!

Comments

tic2000’s picture

Status: Active » Fixed

This is done in the new version. Download it and enjoy it.

Anonymous’s picture

Status: Fixed » Closed (fixed)

This is just for information

Just downloaded 5.x-1.4-1 yesterday and installed.

I could not find an option to set suppression of alinks if destination is same page so assumed it was automatic.

I have a page the first set of words matches an alink as it should elsewhere, but in this case it pointed to the page it was on

I found the casue was that I had the destination URL set as ?q=node/123 it only works if the link is node/123

The reason I use ?q=node/123 format was because I found in the past I could end up with a URL like
www.mysite.com/node/node/123
as for some reason it got messed up so having found a workaround I stuck with it, including using it in alinks. Hope this helps if anyone else sees the same issue