WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Permalinks without domain part

[Resolved] Permalinks without domain part

  • Hi,

    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)
  • 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 ‘[Resolved] Permalinks without domain part’ is closed to new replies.
Skip to toolbar