quotation marks

On the startpage we are having problems when the title of the post has quotation marks, then this quotation marks are used in image title and alt as well which causes w3c errors.

Comments

  • Hi samnaun2000

    Ok remove Question mark and other special characters form title and alt tag follow the given instruction.

    1. Go to in your plugin directory >> seo-optimized -images.php 

    2. Find line number 290 and paste the below give code 

    $post_title  = preg_replace('/[^A-Za-z0-9\-]/', ' ', $post_title); 

    If you have any confusion Please have a look in screenshot http://prntscr.com/kj84xc

    Let me know did it work.

    Thanks
    A
Sign In or Register to comment.