How do I prevent WordPress from breaking links?
-
Good day,
WordPress breaks links to external sites. If, for example I have a link:
then it breaks the link at the space:
<a
href=”http://www.blah/blah/blahdeblahblah.pdf>this points to blah blahwhich means the link doesn’t work.
How do I stop it doing this?
Regards,
Mark
Blog url: http://markwiddicombe.wordpress.com/ -
-
There is a space between the ‘a’ and the ‘href’ in the URL. WordPress thinks that that is the end of a word and inserts a line break there, which breaks the link. How do I tell WordPress not to place a line break there?
http://markwiddicombe.wordpress.com/2012/02/02/great-green-con/#comments
-
All of the links seem to be fine there.
If you’re entering the HTML, make sure that you’re typing it in the HTML editor tab, not the Visual Tab.
Otherwise, make sure that you’re following this guide to create links: http://en.support.wordpress.com/links/
- The topic ‘How do I prevent WordPress from breaking links?’ is closed to new replies.