WordPress.org

Ready to get started?Download WordPress

Forums

301 Moved Permanently (5 posts)

  1. saladgoat
    Member
    Posted 11 months ago #

    Lately, across a few of my websites, I have been getting some bizarre behaviour. Loading a page will instead display the html code in text format. It begins with

    0<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html><head>
    <title>301 Moved Permanently</title>
    </head><body>

    It then proceeds to tell me that where it has moved to is the exact address that is showing in the address bar. If I click in the address bar and hit Enter, it will load the page properly. What?
    In most cases, the originating link was pointing to the wrong address and was previously corrected and re-directed by the magic of WordPress. Now it's not correcting and re-directing, it's just showing this jumble of text.
    I thought I had fixed it the other day by doing a search & replace and fixing all the incorrect links. But now I notice that even some correct links are showing that.

    Here's an example you can follow:
    Go to http://www.canadianclassicrock.com/artist-roster/ and click on Holly Woods & Toronto (bottom right).
    This will show the proper page.
    Go to http://www.canadianclassicrock.com/on-tour/ and click on Holly Woods & Toronto, at the top of the list.
    This is supposed to go to the same page as above, but instead it shows the html of the 301 error page.
    If you right-click the link (on the On Tour page) and Copy Link Location and paste it into the address bar, it works.

    (This happens in Firefox and Chrome, but Internet Explorer shows the page properly, without the html display.)

    So ... what's wrong? How do I fix it?
    Thanks!

  2. Pioneer Valley Web Design
    Member
    Posted 11 months ago #

    Unless really needed try to update:

    http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js

    To a newer version.

  3. saladgoat
    Member
    Posted 11 months ago #

    I didn't install that - it must have come with a plugin. And ... it's on Google's site, not mine. How do I update it?

    Hmmm ... I just checked and that line is in the header.php file, so it must have come with the theme?

    Still, how would I go about updating it?

  4. Pioneer Valley Web Design
    Member
    Posted 11 months ago #

    Try asking Google.

  5. saladgoat
    Member
    Posted 11 months ago #

    Big help.

Reply

You must log in to post.

About this Topic

Tags