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

    (@ahmedkaludi)

    We checked your issue. The /amp is redirecting to the non-amp. That’s’ why google is giving this error “Referenced AMP URL is not an AMP”.
    The amp URL is 301 redirecting to the homepage, Like this: https://prnt.sc/utg8ze
    Can you please tell me are you set up 301 somewhere?

    Thread Starter zanet

    (@zanet)

    Thanks Ahmed for your reply, that so kind of you
    I’m not aware of setting up a 301 for the amp url
    Is there a way to locating where this might be referenced
    eg. could it be I my htaccess or would it be in my amp plugin setup or even somewhere in Google analytics of search console?
    if I can identify it that would be great – additionally is these the same for all /portfolio/ URL?

    my htaccess doesnt seem to reference amp or portfolio…

    RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$
    RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/(?:\ Ballot169)?
    RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
    RewriteRule .* – [E=noabort:1] php_value max_execution_time 600

    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$
    RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/(?:\ Ballot169)?
    RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
    RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

    # BEGIN WordPress
    # The directives (lines) between “BEGIN WordPress” and “END WordPress” are
    # dynamically generated, and should only be modified via WordPress filters.
    # Any changes to the directives between these markers will be overwritten.
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Can you please tell me are you using any redirection plugin on your page?

    Thread Starter zanet

    (@zanet)

    Hi Ahmed
    The only one im aware of is called “Redirection Version 4.8 | By John Godley”
    But I went through on there are no redirections for those folders as such eg portfolio or zanet.co.uk/amp

    Additionally to be certain, I disabled the plugin and the redirects still worked
    I will disable it again now
    So when you next check we can rule it out

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Redirecting amp homepage to a non-amp’ is closed to new replies.