Support » Plugins » Permalinks without domain part

  • Resolved Aleksandersen



    This should be fairly simple (though I did not figure it out myself): I want the permalinks WITHOUT the domain part. Any suggestions on how to attchive this?

    (I am working on some redirects from the news feed. That is why I need this.)

Viewing 1 replies (of 1 total)
  • Aleksandersen


    Curtsey of <b>Lim_Dul</b> on the <i>IRC channel</i>:

    `<?php function my_permalink() {
    echo substr(get_permalink(), strlen(get_settings('home'))); } ?>`

Viewing 1 replies (of 1 total)
  • The topic ‘Permalinks without domain part’ is closed to new replies.