• Resolved ts1983

    (@ts1983)


    I built a site on a domain, and once approved by work, moved it to a new domain. My pagespeed insight score dropped from 74/82 to 40/42

    The main problem seems to be images that are not even hosted on the new domain but was on the old domain. Pagespeed keeps referring to these as being not optimized though shows me the old URL. I’m guessing this is a problem within the dtabase but not sure how to find/resolve this issue.

    Any help would be appreciated.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Moderator James Huff

    (@macmanx)

    What is the URL of the site?

    Is it possible that the old server was running Google’s mod_pagespeed module, whereas the new server is not?

    Thread Starter ts1983

    (@ts1983)

    The URL is cygnusalarms.com. The issue seems to be that pagespeed insights is showing me the old URL under images to be optimised. That seems to be my issue.

    Appreciate the reply.

    Well , there is a plugin called “Search and replace” Use that and update all OLD URL reference to NEW URL.
    You may need to upload images to relevant folder after.

    Thread Starter ts1983

    (@ts1983)

    I’ve done that but still the same problem. Keeps showing me old domain images that dont actually exsist on new server.

    Moderator James Huff

    (@macmanx)

    PageSpeed Insights has some odd bugs, sometimes even suggesting you do things that its own mod_pagespeed is currently doing.

    Try https://www.webpagetest.org/result/160711_MR_BBW/ and https://gtmetrix.com/reports/cygnusalarms.com/OSPg1aJM instead. Both tests have great standing in the community, and offers tons more helpful data and recommendations.

    I do have to agree though, there are a lot of images being pulled from the old domain. Try https://www.ads-software.com/plugins/velvet-blues-update-urls/

    Thread Starter ts1983

    (@ts1983)

    Hi James.

    I already have that plugin and have run it but same problem sadly. Bit confused.

    Moderator James Huff

    (@macmanx)

    In that case then, check your theme files, perhaps you have hard-coded these images into the theme files directly.

    Thread Starter ts1983

    (@ts1983)

    Some of the images dont exist on the server though. They’re old images. Not sure how this would have been hard coded? Only uploaded via the gallery.

    Moderator James Huff

    (@macmanx)

    Well, they’re all there if your open your site, choose View Source in your browser, and search for tysonator

    Here’s one:

    <style type="text/css" id="custom-background-css">body.custom-background { background-image: url('https://www.tysonator.com/wp-content/uploads/2016/06/JasonHawkes-2906.jpg'); background-repeat: repeat; background-position: top left; background-attachment: scroll; }</style>

    and another:

    <a href="https://www.cygnusalarms.com/" class="navbar-brand"><img src="https://www.tysonator.com/wp-content/uploads/2016/06/CYGLogo.png" alt="Cygnus Wireless Fire Alarms"></a>

    There are 13 other occurrences of tysonator in the main page alone.

    So, look through every single settings panel. WordPress settings, theme settings, plugin settings, Customizer, widgets, everything. If you don’t find it there, edit your theme files and see if any of this has been directly added to the files themselves.

    Thread Starter ts1983

    (@ts1983)

    Cheers James! Worked out the problem ??

    Moderator James Huff

    (@macmanx)

    That’s great to hear! ??

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Pagespeed insight problems since moving domain’ is closed to new replies.