Title: How To Edit the Source Code or HTML?
Last modified: March 21, 2018

---

# How To Edit the Source Code or HTML?

 *  [beebswong](https://wordpress.org/support/users/beebswong/)
 * (@beebswong)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/how-to-edit-the-source-code-or-html/)
 * Hello,
    I’m trying to fix AMP errors myself – things such as improper syntax 
   or tags missing for AMP pages and posts. Where do I find the AMP version of the
   post and edit the source code or HTML code to change the AMP version of the site?
 * I don’t see this option in the regular post test editor.
 * Thanks,
    Brendan

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * (@ahmedkaludi)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/how-to-edit-the-source-code-or-html/#post-10098200)
 * Hi [@beebswong](https://wordpress.org/support/users/beebswong/)
 * The AMP version gets generated automatically with proper validation.
 * Can you share the URL of the post which you are trying to validate? I will check
   and help you personally!
 *  Thread Starter [beebswong](https://wordpress.org/support/users/beebswong/)
 * (@beebswong)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/how-to-edit-the-source-code-or-html/#post-10101763)
 * Hi Ahmed,
    Thanks for the help! I have quite a few pages with various errors 
   though, from the Search Console:
 *  ‘width’ in tag ‘amp-img’ is set to the invalid value
    Missing URL for attribute‘
   src’ in tag ‘amp-img’. The mandatory tag ‘noscript > style[amp-boilerplate]’ 
   is missing or incorrect.
 * There are other errors but that was some of them.
 * Here’s the root domain – [https://www.gomechanicalkeyboard.com](https://www.gomechanicalkeyboard.com)
 * Any help would be greatly appreciated.
    Brendan
 *  Thread Starter [beebswong](https://wordpress.org/support/users/beebswong/)
 * (@beebswong)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/how-to-edit-the-source-code-or-html/#post-10101765)
 * Theme is Techwise
 *  Plugin Author [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * (@ahmedkaludi)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/how-to-edit-the-source-code-or-html/#post-10110711)
 * Hi [@beebswong](https://wordpress.org/support/users/beebswong/)
 * I have checked your homepage and single post but I could not see any validation
   issues.
 * Can you please let me know where exactly on which URL do you get the issue. So
   that I can check and help you fix.
 * Regards
 *  Thread Starter [beebswong](https://wordpress.org/support/users/beebswong/)
 * (@beebswong)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/how-to-edit-the-source-code-or-html/#post-10112060)
 * Hi Ahmed, thanks for looking into this.
 * Here are some of the pages via search console:
 *     ```
       https://www.gomechanicalkeyboard.com/lists/best-mechanical-keyboard-for-mac/amp/016/amp/
       ```
   
 * All of these pages had a ‘body’ tag missing, according to the search console.
   If you need images or anything let me know.
 * Regards,
    Brendan
 *  Plugin Author [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * (@ahmedkaludi)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/how-to-edit-the-source-code-or-html/#post-10127668)
 * [@beebswong](https://wordpress.org/support/users/beebswong/)
 * When I see the source of the URL, it’s loaded only until the CSS.
 * Can you please enable WP_debug to true and let me know if you get any error?
 * Also, if you could contact us directly on [https://ampforwp.com/support/](https://ampforwp.com/support/)?
   So that our team will help you fix it.
 *  Thread Starter [beebswong](https://wordpress.org/support/users/beebswong/)
 * (@beebswong)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/how-to-edit-the-source-code-or-html/#post-10139846)
 * Yes I got errors and contacted the support thanks.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘How To Edit the Source Code or HTML?’ 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/)

 * 7 replies
 * 2 participants
 * Last reply from: [beebswong](https://wordpress.org/support/users/beebswong/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/how-to-edit-the-source-code-or-html/#post-10139846)
 * Status: not resolved