Not working with AMP for WP
-
Hello,
the AMP links give a 404 error.
Please try to surf posts, homepage, etc: https://www.anahatatantra.com/staging/learnAs you can see if you add /amp/ – you get a 404 errors or it gets redirected to the homepage.
Here is the ngixn config:
https://pastebin.com/2FEtTgzTI tried to add (of course with the right path)
location /staging{ root /var/www/html/staging/; location ~ \.php$ { include snippets/fastcgi-php.conf; fastcgi_pass unix:/run/php/php7.1-fpm.sock; } }
but it didn’t help.
Can you please help?
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Not working with AMP for WP’ is closed to new replies.