• HI all,

    Wordpress seems to be generating a hash symbol at the start of each page on my website, both in admin panel and actual pages, e.g.

    #
    <!DOCTYPE html>
    <!--[if IE 7]>
    <html class="ie ie7" lang="en-US">
    <![endif]-->
    ...

    Any help regarding this will be highly appreciated.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    My bet is that you have a typo in your code someplace. Good luck; this is a Grand Pain (TM) to track down.

    What’s the last thing you did before this started appearing?

    Please provide a link to your site! Thanks.

    lisa

    (@contentiskey)

    please share link to your website
    which theme are you using

    Moderator t-p

    (@t-p)

    That’s not the default behavior of the WordPress core 🙂

    To rule out any such behavior of your active plugins/theme, try:
    – deactivating ALL (yes all) plugins temporarily to see if this resolves the problem (plugin functions can interfere). If this works, re-activate them individually (one-by-one) to find the problematic plugin(s).
    – If that does not resolve the issue, keep all plugins deactivated and try switching to the unedited default Theme (Twenty Sixteen) for a moment using the WP dashboard to rule out any theme-specific issue (theme functions can interfere like plugins).

    Thread Starter tptptp

    (@tptptp)

    Thanks for the replies!

    I am currently using the theme “Spacious” but the issue seems to be theme-independent as it happens with any theme I activate. I have all plugins switched off. The link to my website is mws-82213.mws3.csx.cam.ac.uk.

    Hmm, I definitely see the problem, but am not sure what’s going on exactly if the problem is theme-agnostic and all your plugins are inactive.

    You mentioned all your plugins were inactive, but do you have any mu-plugins enabled by any chance?

    These would be found in the /wp-content/mu-plugins/ folder. If that directory isn’t there, then you don’t have any enabled.

    Also, are you sure the core of WordPress has not been modified in any way? Perhaps reinstalling WordPress would help.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Have you edited ANY files?

    <!–[if IE ]>
    <body class=”ie”>
    <![endif]–>
    <!–[if !IE]>–>
    <body>
    <!–<![endif]–>

    Ethan Stark
    [link redacted]

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Hash symbol (#) added at top of each page.’ is closed to new replies.