WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] <a href=”…”> links in posts and comments are changed

[Resolved] <a href=”…”> links in posts and comments are changed

Viewing 9 replies - 1 through 9 (of 9 total)
  • What issue? I didn’t notice anything. Can you be more specific?

    See the comment before last – the link under word “mentioning” is http://blog.oracloid.com/2006/07/moving-to-canada-oracle-10g-rac-solaris-10g-vmware/%5C%22http://oracledoug.com/serendipity/index.php?/archives/872-Now-Thats-What-I-Call-An-Interview!.html\%22
    If you click on it – it goes obviously nowhere.

    When I enter the comment – I enter the link as http://oracledoug.com/serendipity/index.php?/archives/872-Now-Thats-What-I-Call-An-Interview!.html

    I checked it in HTML code in the editor and it’s correct there. As soon as I save it – it becomes changed to what the first one, i.e. gets wrapped within “http://blog.oracloid.com/2006/07/moving-to-canada-oracle-10g-rac-solaris-10g-vmware/%5C%22” and “\%22”. Note that tis perfix is basically URL of the page.

    I observe the same in posts.

    Thanks in advance for your help!

    So I checked in the MySQL database and I see the following in there:
    Btw, your mentioning

    This really puzzling me… I have no idea where rel is coming from but backslashes is definitely a problem – the path is than relative! I correct them and everything works!

    The question is how the heck those backslashes got into the text? As well as where is rel attribute coming from?

    So I checked in the MySQL database and I see the following in there:
    <a rel=\"\\"\\\"\\\\\\\"\\"\" href=\"http://oracledoug.com/serendipity/index.php?/archives/872-Now-Thats-What-I-Call-An-Interview!.html\" rel="nofollow">mentioning</a>

    This really puzzling me… I have no idea where rel is coming from but backslashes is definitely a problem – the path is than relative! I correct them and everything works!

    The question is how the heck those backslashes got into the text? As well as where is rel attribute coming from?

    The link looks right and works just fine for me. See if it looks any different when you are logged out?

    The nofollow is added automatically to all links posted in comments. The reason is for that is to make them less valuable to spammers trying to raise their search engine rankings. There are plugins that remove that if you have moderation/spam filters to ensure only trusted comments get posted. Don’t know about the first, though…

    You should apply this plugin:
    http://txfx.net/code/wordpress/wordpress-203-tuneup/

    The site is down as I post this, but should be back up soon.

    2 newflesh: I fixed it by removing “\” directly in MySQL.

    2 samboll: Thx. I will try and let you know.

    Thanks for the heads up samboll. what an odd little bug that was. the plugin you suggested worked great.

    Thx 2 samboll. WordPress Tune-Up did help!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Resolved] <a href=”…”> links in posts and comments are changed’ is closed to new replies.