WordPress.org

Ready to get started?Download WordPress

Forums

How to get permalink URL? (1 post)

  1. brettr
    Member
    Posted 7 years ago #

    I may post the URL of a post on my blog at some one else's blog. The URL is blog/index.php/2006/10/23/application-software
    but is cut after being posted
    blog/index.php/2006/10/23/application

    I'm trying to catch this and redirect to the first URL. However, I can't figure out how to get the correct URL. I've tried:

    $_SERVER['PHP_SELF']
    blog/index.php

    $_SERVER['HTTP_REFERER']
    this gives the URL of the statcount script I'm using

    Any suggestions?

    Thanks,
    Brett

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.