Problems sitemap view in chrome with special characters

  • I have problems seen sitemaps on browser. I suppose it is working fine but in browser I have a blank page.

    If I look at source code, all is ok (all XML seems to be OK). The problem is in the .xsl (main-sitemap.xsl). My site has an special character in the title. An accent (é). I suppose that’s the problem. The chrome console is showing the following error:

    Entity ‘eacute’ not defined main-sitemap.xsl:10 Entity ‘eacute’ not defined

    I have attached the line at sensitive data form. It has a “é”.

    I don’t know if Google has the same problem as Chrome.

    Thanks in advance.

    • This topic was modified 6 months, 1 week ago by  Marc. Reason: Sensitive data added
Viewing 7 replies - 1 through 7 (of 7 total)
  • Hello,

    Can you please ask your hosting to add the following line of code, after taking a complete back, to your tinyMCE.init file?
    entity_encoding : "utf-8"

    Please let us know if that helped. Thank you.

    Can you tell me where is that file on my wordpress or where can I found it. I have searched on internet and no info was found. Also I have look for the folders but no luck. This change, which impact will get on my actual pages? I suspect is a configuration file of an editor.

    But, I continue on my question, if the main-sitemap.xsl

    is codified has:

    <?xml version=”1.0″ encoding=”UTF-8″?>

    Why is there a “é” and not “é” the content of the title is not well codified. It seems to be ISO-8859-1 coding in a UTF-8 XML file.

    I do not know where are you taking the title. If you want, you can send me the mysql query to get the data from my databse to see if is bad at ddbb level or the problem is in the web logic.

    Hello,

    Can you please add your site’s login details in the Sensitive Data Section: http://i.mythemeshop.com/6102sB?

    Looking forward to helping you. Thank you.

    I have added data on sensitibe data box.

    I have read me past messages. It is a little confusing because the web editor for this tickets is converting the ISO-8859-1 character to the correct one. So, you see the same character. In the XML, in the title I have “&…eacute;” (ISO-8859-1, I have added … to prevent conversion) when it has to be a “é” as UTF-8 file content.

    Hello,

    Like my colleague suggested, you’ll have to contact your hosting provider and ask them to set the default charset to UTF8. The problem is not only in the Sitemap page but also on the pages on your site. All the Spanish characters are getting converted to Unicode. Please see the screenshot in the Sensitive Data Section.

    Hope that helps. Thank you.

    The problem was at DDBB level. I have changed the bad characters to the correct ones and now it works fine (on table wp_options). The sitemap is showing fine on browser.

    Now I have to investigate if there are more cases on my pages.

    Thanks very much for the help. It was not a plugin error, was a corrupted database. I appologise for the inconvenience.

    Hello,

    We are super happy that this resolved your issue. If you have any other questions in future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on : https://wordpress.org/support/plugin/seo-by-rank-math/reviews/?filter=5 about your overall experience with MyThemeShop? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

Viewing 7 replies - 1 through 7 (of 7 total)

You must be logged in to reply to this ticket.