WordPress.org

Ready to get started?Download WordPress

Forums

making a link shorter (7 posts)

  1. Melodiefabrieknl
    Member
    Posted 8 years ago #

    somehow when I edit a comment with long links the link is changed by WordPress. check for example this post:
    http://melodiefabriek.nl/2006/06/28/the-clipped-bits/#comments

    as you can see the link is too long for the content. how can I make this shorter? if I edit the comment and create something like this, WordPress automatically changes it to something which doesn't work, I want for example this:
    link

    but WordPress doesn't allow me to change the comment like that. is it a bug? in a post this does work!

  2. whooami
    Member
    Posted 8 years ago #

    look at the source code for the link:

    here´s the link (html didn´t work):<br>
    http://www.prorec.com/prorec/articles.nsf/articles/8A133F52D0FD71AB86256C2E005DAF1C

    you most certainly CAN change that to this:

    here´s the link (html didn´t work):<br>
    link

    Am I missing something? It's always worked for me

  3. Melodiefabrieknl
    Member
    Posted 8 years ago #

    doesn't work. for normal links editing the comments does work in WordPress, but a link like the one above doesn't work.

    anyone else please?

  4. whooami
    Member
    Posted 8 years ago #

    I wrote a plugin that should help you:

    http://www.village-idiot.org/archives/2006/06/29/wp-chunk/

    that will fix the link after the fact, and any others

  5. Melodiefabrieknl
    Member
    Posted 8 years ago #

    wow! I will check it out! superb help!

  6. Melodiefabrieknl
    Member
    Posted 8 years ago #

    and it works fine. just perfect. thank you so much!

  7. whooami
    Member
    Posted 8 years ago #

    youre welcome :)

Topic Closed

This topic has been closed to new replies.

About this Topic