• coloindonesia

    (@coloindonesia)


    as per subject, I use with WP globus installed. It works for post type but not for pages. For post type : /amp is working but for page type should use /?amp either it won’t works. Google webmaster show increased AMP error for pages, because google acknowledge /amp not /?amp. Anyone has solutions for this ?

    Thanks in advance,
    Ozil

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Hey Ozil @coloindonesia
    Thank you so much for using the plugin,

    Can you please post the relevant URL’s so we can check and help you with the issue?

    Regards,
    Ahmed

    [email protected]

    (@brianfoxxrcom)

    Hi, I have the same issue. My site is https://foxxr.com. I previously used Glue for Yoast SEO & AMP but I saw several articles online that lead me to using your plugin instead (more customizations and faster updates and response time). Going back to the issue, I’m testing my site in google amp testing tool, and saw that the plugin works fine with post types but not on page types. Are there any fixes to this issue yet?

    danielleclark

    (@danielleclark)

    My WordPress sites are all Pages, no posts or anything else. On the Frontpage it displayed correctly the “View non-AMP Version” in the footer, but not on the other pages till I changed the below in the templates/features.php
    quote
    // 7. Footer for AMP Pages
    add_action(‘amp_post_template_footer’,’ampforwp_footer’);
    function ampforwp_footer() {
    global $redux_builder_amp;
    if ( is_home() ) {
    $ampforwp_backto_nonamp = home_url();
    } elseif ( is_single() ){
    $ampforwp_backto_nonamp = get_permalink( $post->ID );
    } else {
    $ampforwp_backto_nonamp = get_permalink( $page->ID );
    }
    ?>
    unquote

    Could this be integrated in the next update?

    Many thanks beforehand

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    @danielleclark

    I really appreciate your fix for the problem!

    We have already fixed this but that update hasn’t been pushed yet, we will push that update in two to three days.

    danielleclark

    (@danielleclark)

    Look forward to that update Ahmed!

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘AMP works for post but not for page’ is closed to new replies.