• Resolved kishanu

    (@kishanu)


    AMP plugin will support AMP SSR out-of-the-box.
    SSR is supported, then how to implement SSR in WordPress?

    Please help me as soon as possible.

    • This topic was modified 4 years ago by kishanu.
    • This topic was modified 4 years ago by kishanu.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Alain Schlesser

    (@schlessera)

    @kishanu
    SSR should be on by default on AMP pages. To verify, take a look at the page source of an AMP page, and you should see the transformed="self;v=1" attribute on the <html> element.

    ( screenshot: https://share.getcloudapp.com/nOuNyywl )

    For SSR to work WP_DEBUG needs to be set to false. Sometimes it will we set to true in wp-config.php for development purposes.

    Plugin Author Weston Ruter

    (@westonruter)

    Yeah, we’ve currently made WP_DEBUG the default way to disable the SSR. However, you can easily force it on regardless of WP_DEBUG by doing:

    add_filter( 'amp_enable_ssr', '__return_true' );

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Server Side Rendered is available in version 1.5.0’ is closed to new replies.