• I’m using the plugin “autohyperlink-urls” to replace all non-hyperlink text to active hyperlink URL’s with some success. But there are some instances where some hyperlinks get replaced with nothing and end up being hidden from posts. Hyperlinks such as “<http://www.mactech.com>&#8221; get deleted from viewing. I can edit these out to “http://www.mactech.com/&#8221; just fine, and they work. But I want “<http://www.mactech.com>&#8221; to work as well. I don’t care if the “<” gets deleted or end up not being part of the link.

    Is there any way to prevent anything from getting deleted when viewing a post?

    Thanks guys!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Scott Reilly

    (@coffee2code)

    WordPress & Plugin Developer

    If you literally have this in your post: <http://www.mactech.com> then the problem isn’t the plugin. The plugin doesn’t handle links wrapped with < and > like that because it looks like a tag, which is the same reason it isn’t appearing on your blog. Your browser doesn’t recognize the tag (obviously) so it isn’t shown, but if you viewed the source for the page it should be there. There might’ve been some problems trying to throw < and > into the pattern search string that I used. I may look into it, but can’t say this is a situation the plugin will necessarily address.

    Thread Starter enrique1

    (@enrique1)

    Here’s an example of the hyperlink just dissapearing.
    http://www2.mactech.com/news/?p=43

    If you go to the source and search for “<http://www.cdfinder.de/>&#8221; you should see it there. But looking at the page, it’s not there.

    Does anyone have any ideas what’s causing this?

    I think coffee2code is right, just replace <http://www.cdfinder.de/&gt; with http://www.cdfinder.de

    Thread Starter enrique1

    (@enrique1)

    Thanks coffee2code! That’s what I figured.

    So this is what I think it’s happening. I’m running apache on a Mac OS X server. Now, the reason that “<http://www.cdfinder.de/>&#8221; is not getting published is because apache thinks it’s a html tag but it doesn’t know how to output it right? So there is no way that any plugin will make this output as regular html.

    I would think that it should output this text as regular text even if it has the “<” and “</>” tags in there or am I wrong? I need it to at least output the words even if it’s not hyperlinked. I know I can simply delete the <> tags but I have more than 7000 posts which are like these that we are porting to WordPress.

    Thanks guys!!!

    7000 posts, that is a problem. What were you using before that made the <hyperlink> work?

    Thread Starter enrique1

    (@enrique1)

    We were still using custom made “mgi” scripts, a very old old programming language that no one uses no more because it only runs on specific servers which don’t include Apache and it is very unstable. But since we are moving onto a more reliable and easy to use server, we need to also move all of our news posts and other stuff onto the new server.

    I guess we will have to do a massive search and replace to get rid of all of these junk, like these brackets 🙁

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Hyperlinks are Hidden from Posts’ is closed to new replies.