punctuation in post titles

  • Author
    Posts
  • #93516

    markkelly
    Member

    I didn’t realize when I started posting that punctuation marks in titles can cause problems with the permalinks. Now I have a post whose link works sometimes and not others. I changed the title, but of course that doesn’t solve the link problem. Is there anything that can be done short of deleting and reposting?

    Here is the troublesome link: http://markkelly.wordpress.com/2007/02/24/this-isn%e2%80%99t-about-losing-your-salvation/

    #93701

    timethief
    Member

    You can edit the title on any blog post. After doing so be sure to likewise edit the “post slug” as well and then click “save” to publish again.

    #93706

    ryannjenn
    Member

    Couple questions about this feature:

    1) Why does the post slug not automatically change when I change the title?

    2) If I change the post slug and someone else had a link to the post will that break the link or is there some other ID it goes by?

    #93708

    cornell
    Member

    Because it’s created when the post is first saved, automatically changing it when you edit the title of the post answers your second question that yes, other people linking to the post will kill the link. The post-slug is the URL that is assigned to the post and that’s the only ID.

    To answer the OP, as long as you catch it quick enough (after publishing) you can change the post-slug without a problem. Of course, if you’re not worried about people that have linked to a post then just change the slug.

    Hope this makes sense, it’s late here and I should be in bed!

    Collin

    #93715

    ryannjenn
    Member

    I appreciate the help. Thanks cornell. Get some sleep.

    #93735

    drmike
    Member

    You can change the post slug though. It is one of the tabs along the right hand side of the Write/ Edit Post page.

    This is a known issue with regular WordPress though. Trac ticket

    #93800

    dirkgently
    Member

    At a guess, WordPress.com blogs are hosted on UNIX/Linux PC’s. They don’t like spaces in words with file names, it adds characters to fill the gaps automatically. I believe Windows servers can be set to do this, but it’s an option…..with the mighty Linux, it’s the law lol.

    There are special characters like $ or £ which in HTML are things like &amp& (I can never remember any offhand but know what they mean when I see them in HTML). It’s not really an issue for me because Dreamweaver writes all my code for me which I occasionally need to sift through and tweak by hand.

    I do agree though, with a blog title, it becomes a file name that the software through the browser can access, so it does need to be renamed…..and does not look great with bizarre symbols although it’s perfectly functional.

    #93906

    markkelly
    Member

    found it! I’m so grateful to have people to turn to … I’d be lost without you all! … thanks

    #93910

    timethief
    Member

    Happy blogging! :)

    #93989

    markkelly
    Member

    ok, now here’s something I really don’t understand … I changed the slug to a standard form … and the old link now takes me to the new URL

    the old link only worked half the time at best … now it works every time but it takes me to the new URL

    if the system makes some sort of note to redirect to the new slug, why does the reditect work better than the original slug?

The topic ‘punctuation in post titles’ is closed to new replies.