• My AMP Pages are broken after installing Pagespeed ninja.

    The site is working perfectly well on desktop.

    Please what is the solution?

    Please advise

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

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Denis Ryabov

    (@dryabov)

    Your AMP version has incorrect DOCTYPE tag (<!DOCTYPE html> instead of <!DOCTYPE amp>), that’s why PageSpeed Ninja parses and optimizes it as usual HTML page.

    Thread Starter gbengard

    (@gbengard)

    Please how can I uninstall the plugin? I already did but nothing changes.

    Is there file/folder I need to delete at the cPanel?

    Plugin Author Denis Ryabov

    (@dryabov)

    Deactivating and uninstalling should be sufficient. Additionally you can check that:
    1) wp-content/advanced-cache.php is not generated by PSN (i.e. it is either doesn’t exist or related to other caching plugin)
    2) PSN-related snippets are removed from .htaccess files in wp-includes, wp-content, and uploads.

    Thread Starter gbengard

    (@gbengard)

    I only found .htaccess file in WP-include, which I have deleted – but it’s still the same.

    Also, I saw an “S” folder – is it related to PSN?

    Plugin Author Denis Ryabov

    (@dryabov)

    Yes, it is used to store optimized js and css files. But uninstalling of PSN should drop it automatically. It looks like uninstalling was terminated abnormally on your website. You can also check that [wpprefix]psninja_urls table has been dropped from the database.

    Thread Starter gbengard

    (@gbengard)

    Can I delete the “S” folder?

    And where can I locate the [wpprefix]psninja_urls table?

    Plugin Author Denis Ryabov

    (@dryabov)

    Yes, you can.

    The psninja_urls is in the database, use phpMyAdmin or other tool provided by your hoster to found it and drop. Anyway, this table itself doesn’t affect work of WordPress.

    Thread Starter gbengard

    (@gbengard)

    Still the same issue.

    Plugin Author Denis Ryabov

    (@dryabov)

    Then, most likely, either the problem is not related to PSN, or you have a 3rdparty caching layer (plugin, webserver caching, or caching frontend proxy) that cached old content.

    Plugin Author Denis Ryabov

    (@dryabov)

    To be sure, could you check that wp-contents/plugins/psn-pagespeed-ninja directory has been removed?

    Thread Starter gbengard

    (@gbengard)

    The directory has been removed.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘AMP Pages are broken’ is closed to new replies.