301 Moved Permanently (5 posts)

  1. saladgoat
    Posted 3 years 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

    <title>301 Moved Permanently</title>

    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?

  2. Pioneer Web Design
    Posted 3 years ago #

    Unless really needed try to update:


    To a newer version.

  3. saladgoat
    Posted 3 years 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 Web Design
    Posted 3 years ago #

    Try asking Google.

  5. saladgoat
    Posted 3 years ago #

    Big help.

Topic Closed

This topic has been closed to new replies.

About this Topic