• Resolved gioliciouswp

    (@gioliciouswp)


    While most of the single quote character are being filtered by wordpress when publishing a post. i noticed that the character ’ is not being filtered so its added to the post URL.

    sample post like:
    https://www.sample.com/you’ll-be-good.html

    They are being ‘wp cached’ or ‘super cached’ but they are not being served so it means it generates this pages everytime a visit takes place. im not sure why?

    I tried to filter that character with the ‘WP Cache’ option and it was fine but i cannot do it with ‘WP Super Cache’ option.

    Hope you can fix this because many users are surely using Word 2007 and it’s the default single quote character.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You should probably set the plugin to half-on mode. You won’t really notice a speed difference. I’m not sure if mod_rewrite rules will work properly with that character.

    Thread Starter gioliciouswp

    (@gioliciouswp)

    i found a solution. What I did is to just filter that character from WordPress itself.

    for those having the same problem, here’s what you need to do:

    edit the file formatting.php under wp-includes folder.

    find the function sanitize_title_with_dashes and add this line:
    $title = str_replace(‘’’, ”, $title);

    after this line:
    $title = str_replace(‘%’, ”, $title);

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    IIRC you can also do that by turning off Magic Quotes on your PHP install.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WP Super Cache] BUG – single quote character in URL..’ is closed to new replies.