WordPress.org

Support

Support » Plugins and Hacks » Hacks » urldecode post content and link problem

urldecode post content and link problem

  • i am have imported from blogger to wordpress

    i have some issues

    1.> the link in the post_contents are like this

    some content here

    "<a href="www.sitecounter.com/?key=something&link=www.myblog.blogspot.com">link</a>

    some content here

    here sitecounter.com maintains a link click counter

    i have to remove it to

    "<a href="www.sitecounter.com/?key=something&link=www.myblog.blogspot.com">link</a>

    with no counter here

    AND

    2.> urldecode the link in the post. , as some link get problematic with %2f@3f like structure

Viewing 1 replies (of 1 total)
  • If the links are not imported properly, then you can run MySQL find and replace SQL to correct them

    update [table_name] set [field_name] = replace([field_name],'[string_to_find]’,'[string_to_replace]’);

Viewing 1 replies (of 1 total)
  • The topic ‘urldecode post content and link problem’ is closed to new replies.
Skip to toolbar