How to get permalink URL?
-
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/applicationI’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 usingAny suggestions?
Thanks,
Brett
- The topic ‘How to get permalink URL?’ is closed to new replies.