Viewing 8 replies - 1 through 8 (of 8 total)
  • Like the pages title? Grabbing metatags from the referer maybe?

    Thread Starter Markus K?mmerer

    (@happyarts)

    Yes, maybe the page title. But the posting title would be ok. If the URL (like /feeed/) does not have a page title, this is now problem. Referers wouldn’t help, because the URL comes from the SQL database.

    Then just check metatags from the page and grab the page title.. maybe.. or grab the whole site and search trough the code for a title div or something..

    Thread Starter Markus K?mmerer

    (@happyarts)

    No, this can’t be the solution. WordPress has functions to find the article, referenced through the URL and the page title is in the SQL database. I need exactly this functions and don’t want to parse the result site externally.

    oh thought it was from another site.. my bad ??

    I have just been asked to do this same thing, I think…
    I want the Posts title to be in the URL and being somewhat of a noob with this, I was hoping there was a plug-in.
    I will keep an eye on this thread to see of you get a solution…

    drumz, do you mean instead of having
    example.com/blog/?p=1

    to have something like
    example.com/blog/2006/03/03/my-first-post-here ?

    If yes, that’s permalinks. see > Using_Permalinks and also your own admin panel > Options > Permalnks.

    Thanks Moshu that is exactly what I needed and it’s working fine after adding the prefix index.php.
    Thanks again!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Get name of posting from URL’ is closed to new replies.