Periods in Titles

About

Periods in Titles allows you to put periods in your post and category URL slugs. e.g. example.com/2006/10/this.is.a.post.slug/

Download

Usage

Download by clicking the link above then clicking the “Download” button at the top of the screen. Upload to your /wp-content/plugins/ directory and activate the plugin in your WordPress admin.

Donate

I’ve spent a lot of time writing this code and supporting it. If you derive some benefit from this code, please consider showing your gratitute in a more tangible
way. Thanks!

I have received $0 this month for my coding efforts.

Donate with PayPalAmazon.com Wishlist


9 Responses to “Periods in Titles”

  1. [...] In my last post, I tried to title it 198.1. Wordpress made the post slug 1981, but when I clicked on the post title, I got a 404. A quick google search yielded a plugin to fix this. [...]

  2. indir says:

    Would this plug-in make it more or less search engine friendly?

  3. [...] I was once again annoyed by the fact that WordPress doesn’t allow dots in post slugs. Luckily, this time I hadn’t published the post with a botched URL yet. (I don’t like changing permalinks because they’re meant to be permanent; cool URLs don’t change.) A quick googling pointed me to a post in the WordPress support forum with a reference to the Periods in Titles WordPress plugin. [...]

  4. Chip says:

    What if I want to make an article look like article-name.php to match my older site structure?

  5. Bob says:

    Could these lines:

    ~~
    $title = preg_replace(‘|([^.]).$|’, ‘$1′, $title);
    $title = trim($title, ‘-’); // yes, again
    ~~

    Be replaced with this?

    ~~
    $title = trim($title, ‘.-’);
    ~~

  6. Bob says:

    Also, these lines:

    ~~
    $title = str_replace(‘-.-’, ‘.’, $title);
    $title = str_replace(‘-.’, ‘.’, $title);
    $title = str_replace(‘.-’, ‘.’, $title);
    ~~

    With this?

    ~~
    $title = str_replace(array(‘-.-’, ‘-.’, ‘.-’ ), ‘.’, $title);
    ~~

  7. Jonathon (subscribed) says:

    Would periods in titles cause problems for feeds or search engines or other [machine programs]?

Leave a Reply

Note: If you are replying to another commenter, click the "Reply to {NAME} →" button under their comment to help the conversation have a better flow!

Anti-Spam Quiz: