• Our site crashed last week and we had to clone Staging to Live. This was only partially successful. Further actions resulted in the majority of URLs for our pages came over as https://***** instead of https://www. They should be https://www
    The current situation is we have 23 “Ghost” pages with https:// and the majority are https://www.
    Running Screaming Frog shows that these 23 pages have 301 redirects. But there is no mention of redirects in the .htaccess file.
    It is apparent also that these 23 pages have zero content.
    We cannot see the see these 23 in the list of pages. But we can see the ones that the 301s are pointing to.
    There is no mention of redirects in wp-config.

    Can anyone suggest how to clean this up?

    Here is the text from Screaming Frog

    https://trapbarn.com/how-to-trap-rabbits-2/
    https://trapbarn.com/how-to-trap-rabbits-2/
    text/html; charset=UTF-8
    301
    Moved Permanently
    1.1
    Non-Indexable
    Redirected
    https://www.trapbarn.com/how-to-trap-rabbits-2/
    HTTP Redirect
    0 B
    0
    0

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Here is the text from Screaming Frog

    There are not “pages”, let alone phantom ones.

    You linked to the “wrong” URL (ie without the www), and WordPress is merely helping out by finding the correct page and redirecting the “wrong” URL to the correct one.

    Specifically for https://www.trapbarn.com/how-to-trap-rabbits-2/ :

    At two different locations on your homepage, you wanted to link to the “How to trap rabbits” page. But instead of entering the correct URL with the www shown above, you entered the “wrong” URL without the www.

    And WordPress is merely helping you by doing a 301 redirect to the correct URL.

    Ditto for ALL the “non-existent 301 redirects” from https://example.com to https://www.example.com problems reported by your tool.

    Thread Starter cullachie

    (@cullachie)

    I must have been trying to complicate things – what with all the panic associated with the previous issues.

    I am most grateful to you for coming to my rescue and will now go through all the links and amend accordingly.

    Kind regards

    Thread Starter cullachie

    (@cullachie)

    Well, I got it down to only 14 by going through each page/product twice. Several were lurking in the FAQs as Staging had not converted any links correctly after Staging was used to restore the Live site.
    I will keep on looking, but is there any other way of finding them other than going though every link in every page?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove non-existent 301 redirects from “Ghost” pages’ is closed to new replies.