Support » Fixing WordPress » Odd Characters / URL Encoding displaying in HTML TITLE Tag

  • Resolved seangriffin2


    **Quick note** This is a repost ONLY because the original post could not be viewed at all even from my own profile page (Threads opened). I would delete the original but I cannot access it at all 🙁

    Hey Guys! I have been working for a while on trouble shooting a strange issue and have not had any luck, so I figured that I would ask the experts:

    I am having an issue with odd characters showing up in the:

    <TITLE> tags of my blog posts (such as: &amp, %20,)

    It appears somehow to be converting the database field post_title to URL Encoding perhaps?

    Here is an example of my problem:


    I would like WordPress to stop adding characters like:
    & or –

    I have been searching all over Google and the WordPress support forum and cannot even seem to find a reference to this problem 🙁 Maybe I just do not know how to refer to the issue so that I can find a solution

    Here is all of the helpful information that I can provide:

    A link to an example on my blog (just view the source to see the title tags):

    1) I am running WordPress Version 3.8

    2) All Plugins are currently Disabled

    3) Regardless of the several WordPress themes I tried switching to, this issues still appears – even in TwentyFourteen. So I’m guessing it isn’t an issue with a bad PHP request for the Post_Title field

    4) I run WordPress on my owned shared hosting account at BlueHost

    5) When I looked at the database in PHPMyAdmin: The Post_Title fields look perfectly clean (no odd characters) ….Unless some strange encoding or characters could be hiding in the Post_Title Fields

    Thank you in advance for being cool enough to help me out!


Viewing 5 replies - 1 through 5 (of 5 total)
  • C W (VYSO)


    I do not see any odd characters and I’m confused as to what the problem is. The title of the page to which you have linked is displaying as “STEPHANIE & DANIEL – JACARANDA COUNTRY CLUB WEDDING PHOTOGRAPHER”. I’m not sure what’s supposed to be wrong with that.

    Thank you for the quick reply Cyril!

    When I view it the title tag contains & and – in url encoding. Perhaps it is not displaying properly on this forum…

    How about here:

    & and –

    I read the title tag as Stephanie ampersand pound 038 semicolon (although it displays in those characters not words fully written out) and then Daniel ampersand pound 8211

    Is there a way a can post an image of what I am talking about?

    The url encoding I am typing in is being displayed as the characters the encoding represents on this forum. Thus, I cannot properly convey the problem.

    Again, thank you so much in advance for the help!


    C W (VYSO)


    No, I think I’ve understood you. The answer to your query is that there is no problem and therefore no solution. The behaviour that you’re seeing is completely normal and the way it should be. Special characters like the ampersand should be written in HTML either as numeric character references or named character references.

    That is, incidentally, the reason why you’re having difficulty writing out the problem on these forums, because when you write out the numeric character reference, it is interpreted as an ampersand and displayed accordingly.

    Ahhhhhhhh – well don’t I look foolish 🙂

    Thank you so much for clearing that up for me!!! Also, thank you for the super fast response!


Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Odd Characters / URL Encoding displaying in HTML TITLE Tag’ is closed to new replies.