Support » Fixing WordPress » Links in and permalinks

  • Resolved marmelade


    I’ve seen some people have referrers linked, and I was wondering if anybody knows how to do that. And I also, by accident, deleted the permalinks, so I’m hoping somebody could post the code.


Viewing 7 replies - 1 through 7 (of 7 total)
  • There are several referer-related plugins here:

    As for your permalinks, what do you mean by “deleted?” If it’s your .htaccess, just generate the rewrite code again by clicking “Update Permalink Structure” under Options > Permalinks.

    Thanks, for answering my referral question.

    The permalink issue was that the topic of each post are normally linked to the permalink of that post, and I deleted that. What is the code for linking to posts?

    The internal function that returns the permalink is


    Just envelop the headline of a post in an anchor element (a) and set the href-attribute to:

    href="<?php echo get_permalink() ?>"

    Thank you! Just what I needed =)

    I still can’t find a decent referrer plugin. I want one without huge pictures and otherwise just plain text.

    You oughtta be careful with displaying referrers on your site, though. My logs show lots of referrers coming from “adult” and travel sites (hoping to catch on those referrer links…same principle as trackback and comment spam)…

    Oh, probably true..

    I haven’t even gotten to understand what trackbacks are.. =P

    Why not displaying referrers with the help of technorati instead of your pages? This way you can still promote the sites linking to yours and not be penalized by spammer websites.
    That’s what I am doing and here is how the link looks like:
    or;?php the_permalink() ?> if you want to show the referrers for each post.
    Any opinion about my idea is welcome.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Links in and permalinks’ is closed to new replies.