Support » Plugin: AMP WP - Google AMP For WordPress » URL 404 Error

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Mohsin Rafique

    (@mohsinrafique)

    Hi @fitnessbilim,

    We have tested your website & It is working perfectly fine.

    Can you please confirm from where we can find defected URL?

    Also do one minor modification to validate your site in Google AMP Validation Tool in following AMP WP plugin file.

    Step 1: Go to path /wp-content/plugins/amp-wp/includes/

    Step 2: Open file class-amp-wp-content-sanitizer.php

    Step 3: Search function protected static function transform_to_end_point_amp at line 346.

    Step 4: Replace line no 368 return amp_wp_url_trim_end_slash( $url ); with return $url;

    Thanks,

    1- audited. but errors continue. I didn’t understand the line, what did you mean?

    Step 3: Search function protected static function transform_to_end_point_amp at line 346.

    https://search.google.com/test/amp?id=A73qv-Sla9PYMaivySE-ow

    2- There is space on the content. ad codes appear, but there are no ads. how can we remove it?

    I added this code to the additional html field. I got rid of 1 bug. I am working for other errors. maybe you’ll get to update as well.

    Error: ‘amp-ad extension .js script’ is missing or incorrect, but required by ‘amp-ad’

    solution: <script async custom-element="amp-ad" src="https://cdn.ampproject.org/v0/amp-ad-0.1.js"></script>

    • This reply was modified 9 months, 2 weeks ago by fitnessbilim.
    Plugin Contributor Mohsin Rafique

    (@mohsinrafique)

    Hi @fitnessbilim,

    We have released a new version. Please update and let us know if you still face any issues.

    Thanks,

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘URL 404 Error’ is closed to new replies.