• Resolved dominoeffect

    (@dominoeffect)


    Hi all,

    I found this sweet guide for setting up social bookmarking links at the base of your post using the following example of code:

    <a href=”http://digg.com/submit?phase=2&url=<?php the_permalink() ?>”>DIgg it</a>

    However for some reason it doesn’t accept this as an outside link, and it produced something like this:

    http://MY-DOMAIN.com/%EF%BF%BDhttp://digg.com/submit?phase=2&url=http://MY-DOMAIN.com/?p=11%EF%BF%BD

    Does anyone know why this might be happening? I really hope to sort it soon before I relaunch my site.

    Thanks!!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    ww.wp.xz.cn Admin

    Make sure that your quotes are normal quotes and not smart quotes. Like this:

    <a href="http://digg.com/submit?phase=2&url=<?php the_permalink() ?>">Digg it</a>

    Thread Starter dominoeffect

    (@dominoeffect)

    Thanks Otto42!!!

    Problem solved.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Social links problem: <a href=”http://digg.com/submit?phase=2&url=<?php the_perm’ is closed to new replies.