Title: Content mismatch
Last modified: May 25, 2017

---

# Content mismatch

 *  [droid](https://wordpress.org/support/users/android1pro/)
 * (@android1pro)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/content-mismatch-2/)
 * Hello,
    First thank you for creating this good AMP plugin
 * However 6 major critical issue has been reported on Google console since installing
   it.
 * According to Google console
    1)Major content mismatch 936 2)Invalid CSS stylesheet
   30 3)User-authored JavaScript found on page 30 4)AMP markup missing or incorrect
   30 5)Prohibited HTML Tag with AMP equivalent 30 6)Prohibited or invalid use of
   HTML Tag 30
 * I have yet to configure any of the plugin setting so based on above critical 
   error reported
 * which setting should be used exactly in order to reedy those critical above errors?
 * Please explain in details
 * Many thanks

Viewing 15 replies - 1 through 15 (of 27 total)

1 [2](https://wordpress.org/support/topic/content-mismatch-2/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/content-mismatch-2/page/2/?output_format=md)

 *  Plugin Contributor [ampforwp](https://wordpress.org/support/users/ampforwp/)
 * (@ampforwp)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/content-mismatch-2/#post-9169465)
 * Hey [@android1pro](https://wordpress.org/support/users/android1pro/),
 * Can you share the website URL?
 * Regards
    Marqas
 *  Thread Starter [droid](https://wordpress.org/support/users/android1pro/)
 * (@android1pro)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/content-mismatch-2/#post-9169922)
 * Sorry can’t for obvious reasosns.
    Better yet give me your email and will add
   you to Google console so you can see issues up close on the ground
 * Your prompt reply with email is appreciated.
 *  Thread Starter [droid](https://wordpress.org/support/users/android1pro/)
 * (@android1pro)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/content-mismatch-2/#post-9240178)
 * Hello,
 * That issue still remin somewhat unresolved for now
 * because it is tied to issue of proper languages tags for site that has more than
   one language translation of posts
 * So
    have you ensured that this plugin is up to date with reagrd to language tag
   in order to prevent content mismatch error in Google console?
 * where
    accelerated mobile pages plugin have update and that update will change
   the particular file wp-content/plugins/accelerated-mobile-pages\templates\features.
   php then you need to change these two lines
 * //$amp_url = apply_filters(‘ampforwp_modify_rel_canonical’,$amp_url);
    $amp_url
   =”[http://&#8221](http://&#8221);.$_SERVER[‘HTTP_HOST’].$_SERVER[‘REQUEST_URI’].’
   amp/’;
 * Your prompt confirmation fixing of above vital issue is important as soon as 
   possible today
 * Thank you
 *  Plugin Contributor [ampforwp](https://wordpress.org/support/users/ampforwp/)
 * (@ampforwp)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/content-mismatch-2/#post-9247843)
 * Hey [@android1pro](https://wordpress.org/support/users/android1pro/),
 * I really apologize for the delay in response.
 * Please contact us at [team@magazine3.com](https://wordpress.org/support/topic/content-mismatch-2/team@magazine3.com?output_format=md),
   I will personally look into this and will resolve this issue of yours.
 * Regards
    Marqas
 *  Thread Starter [droid](https://wordpress.org/support/users/android1pro/)
 * (@android1pro)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/content-mismatch-2/#post-9250907)
 * Hey Marqas,
 * Per your request I did contact you but still no response reagrding this vital
   lang tag bug that remain unresolved
    not just here but for all the users of your
   plugin
 * Your prompt confirmation fixing of above vital issue is important as soon as 
   possible today
 * Thank you
 * _[Moderator note: Please, [No bumping](https://make.wordpress.org/support/handbook/forum-welcome/#do-not%c2%a0bump-posts)._
    -  This reply was modified 9 years, 2 months ago by [James Huff](https://wordpress.org/support/users/macmanx/).
    -  This reply was modified 9 years, 2 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).
 *  Plugin Contributor [ampforwp](https://wordpress.org/support/users/ampforwp/)
 * (@ampforwp)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/content-mismatch-2/#post-9269122)
 * Hey [@android1pro](https://wordpress.org/support/users/android1pro/),
 * We apologize for the delay in response.
 * You don’t have to change those lines.
    You can use the filter which we have created.
 * For example:
 *     ```
       add_filter('ampforwp_modify_rel_canonical', 'function_name');
   
       function function_name($amp_url) {
   
         $amp_url=”http://”.$_SERVER[‘HTTP_HOST’].$_SERVER[‘REQUEST_URI’].’amp/’;
         return $amp_url;
   
       }
       ```
   
 * Let me know if that helps you or not.
 * Regards
    Marqas
 *  Thread Starter [droid](https://wordpress.org/support/users/android1pro/)
 * (@android1pro)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/content-mismatch-2/#post-9270321)
 * Hello,
 * Although late response after waiting now over 30 days for the solution but thank
   you anyway Marqas.
 * I’m not a developer but the person assisting with this issue has already changed
   the files to the way I mentioned it above in my reply.
 * I no longer have access to that person at this time so can I ask you to implement
   this exact change in plugin files so that when every time you update the plugin,
   
   it would not cause an issue with the way it is now modified already on my site.
 * Your prompt processing of above small request will be much appreciated as it 
   would be really helpful.
 * Again thank you for all your help and have a great day.
 *  Thread Starter [droid](https://wordpress.org/support/users/android1pro/)
 * (@android1pro)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/content-mismatch-2/#post-9279238)
 * Hello Marqas,
 * Per your email request,I have sent you yesterday the information in my email 
   reply.
 * Still waiting (over 35 days) for the bug fix promised by you many times here 
   and on email.
 * Your prompt fixing of above small bug will be much appreciated as it would be
   really helpful.
 * Thank you
 *  Plugin Contributor [ampforwp](https://wordpress.org/support/users/ampforwp/)
 * (@ampforwp)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/content-mismatch-2/#post-9284196)
 * Hey [@android1pro](https://wordpress.org/support/users/android1pro/),
 * Please cooperate with us on email, we will surely resolve your issues.
 * I know this concern of yours is from a long time but please have some patience
   with us.
 * Regards
    Marqas
 *  Thread Starter [droid](https://wordpress.org/support/users/android1pro/)
 * (@android1pro)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/content-mismatch-2/#post-9284632)
 * Thank you Marqas,
 * The very small minor modification is already given to you here on this thread
   
   for the commnly used langauge tag, so why not simply update the plugin with it
   for all users to be able to use the plugin without the production of the mismatch
   which is a major flaw that needs fixing for everyone.
 * Thank you for letting me know by email confirmation back as soon as
    accurately
   correctly completed today.
 *  Plugin Contributor [ampforwp](https://wordpress.org/support/users/ampforwp/)
 * (@ampforwp)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/content-mismatch-2/#post-9287411)
 * Hey [@android1pro](https://wordpress.org/support/users/android1pro/),
 * I have sent you the email with detailed information on how to do it.
 * Please do check and let me know.
 * Regards
    Marqas
 *  Thread Starter [droid](https://wordpress.org/support/users/android1pro/)
 * (@android1pro)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/content-mismatch-2/#post-9287716)
 * Thank you Marqas for your dedicated support.
 * I have replied back to your email and now waiting to finally wrap this mismatch
   bug issue once and for all after waiting over 30 days.
 * Keep up the good work,
    as I wait today to get the final resolving of the mismatch
   bug issue.
 *  Thread Starter [droid](https://wordpress.org/support/users/android1pro/)
 * (@android1pro)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/content-mismatch-2/#post-9292145)
 * Once again,
    Thank you Marqas for your dedicated support.
 * I have replied back to your email and now waiting to finally wrap this mismatch
   bug issue once and for all after waiting over 30 days.
 * Keep up the good work,
    as I wait today to get the final resolving of the mismatch
   bug issue.
 *  Plugin Contributor [ampforwp](https://wordpress.org/support/users/ampforwp/)
 * (@ampforwp)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/content-mismatch-2/#post-9294345)
 * Hey [@android1pro](https://wordpress.org/support/users/android1pro/),
 * I have created a custom plugin for you and emailed you as well.
    Please check
   and let us know if that is working for you or not.
 * Regards
    Marqas
 *  Thread Starter [droid](https://wordpress.org/support/users/android1pro/)
 * (@android1pro)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/content-mismatch-2/#post-9301277)
 * Once again,
    Thank you Marqas for your dedicated support.
 * I have replied back to your email and now waiting to finally wrap this mismatch
   bug issue once and for all after waiting over 40 days.
 * Keep up the good work,
    as I wait today to get the final resolving of the mismatch
   bug issue.

Viewing 15 replies - 1 through 15 (of 27 total)

1 [2](https://wordpress.org/support/topic/content-mismatch-2/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/content-mismatch-2/page/2/?output_format=md)

The topic ‘Content mismatch’ is closed to new replies.

 * ![](https://ps.w.org/accelerated-mobile-pages/assets/icon-256x256.png?rev=1693616)
 * [AMP for WP - Accelerated Mobile Pages](https://wordpress.org/plugins/accelerated-mobile-pages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/accelerated-mobile-pages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/accelerated-mobile-pages/)
 * [Active Topics](https://wordpress.org/support/plugin/accelerated-mobile-pages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/accelerated-mobile-pages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/accelerated-mobile-pages/reviews/)

 * 27 replies
 * 3 participants
 * Last reply from: [droid](https://wordpress.org/support/users/android1pro/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/content-mismatch-2/page/2/#post-9413249)
 * Status: not resolved