Forums

Apostrophe in title no longer deleted in slug (3 posts)

  1. paullee357
    Member
    Posted 2 years ago #

    My client is creating post titles that contain an apostrophe. It's hard to avoid because his restaurant name includes " ... Joe's " The slug that is created is now retaining the apostrophe in the URL. This creates a server error when opening that post. I am manually having to go behind him and deleting the apostrophe in quick edit.

    What's strange is that previous posts in an earlier version (2.7 or 2.8 - I can't remember, we are on 2.9 now) automatically deleted the apostrophe along with other bad characters such as exclamation marks.

    Example:
    - Before the upgrade:
    - - Title= Contest at Holy Joe's Today!
    - - Slug= http://domain.com/wp/contest-at-holy-joes-today
    - After the upgrade:
    - - Title= Contest at Holy Joe's Today!
    - - Slug= http://domain.com/wp/contest-at-holy-joe's-today

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Have you tried:

    - deactivating all plugins to see if this resolves the problem? If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    - switching to the default theme to rule out any theme-specific problems?

    - resetting the plugins folder by FTP or phpMyAdmin? Sometimes, an apparently inactive plugin can still cause problems.

  3. paullee357
    Member
    Posted 2 years ago #

    I'm starting to think it is a coincidence with the upgrade and I think it has more to do with a Smart Apostrophe bug when the Title becomes sanitized to create the permalink.

    Only because the client started taking over the postings after me and I need to verify how the apostrophes are being inserted. I need to see if the apostrophes are being converted to smart apostrophe in Word or some other word processing tool and then copy/pasted into the post title

    http://core.trac.wordpress.org/ticket/9591

Topic Closed

This topic has been closed to new replies.

About this Topic