Forums

Edit 'view source' (5 posts)

  1. iwaller
    Member
    Posted 2 years ago #

    I have duplicate description and key word meta tags in my 'view source'. When I try to edit the 'view source' in wordpad, to remove them, my changes will not 'save'. Anyone know how I can edit my my 'source' to remove the duplicates?
    Many thanks!

  2. stvwlf
    Member
    Posted 2 years ago #

    Hi

    Most likely in the header.php file in your theme's folder /wp-content/themes/{themename} The HTML code is likely to be interspersed with PHP code. There are some plugins that can insert meta tags also, such as All in One SEO.

  3. iwaller
    Member
    Posted 2 years ago #

    Thank you for the response. Unfortunately the header.php in /wp-content/themes/ contains no meta tags, neither does the php.header in my webhost file manager. These files are generic. The meta tags only show up in the 'source' thus my rationalie for trying to edit the 'source' page to correctt those that appear there.
    If I use my meta tag plugin, it just adds additional meta tags rather than replacing those already existing in 'view source'
    Again, thanks for your reply.

  4. stvwlf
    Member
    Posted 2 years ago #

    Hi

    If the code is not in header.php, then it is either coming from a plugin, or else from a routine in functions.php

    Another possibility is a file that is "included" in header.php. The PHP code would be "include" or "require" and list a file location/filename.

    There are no other sources the entries could be coming from.

  5. iwaller
    Member
    Posted 2 years ago #

    Thanks very much for the advice. I'll investigate your suggestions. Again, thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.