Kiss AMP goodbye!

Posted in: Newsmag
Post count: 322

What a friend said

1. Delete all information < – where and how?
2. Save Permerink <- I don’t know how to remove cache

Post count: 322

It’s an AMP plug-in that belongs to my theme. There’s nothing to set up separately. There’s only ON and OFF.

Post count: 322

https://politicadeverdade.com/smufca/amp
https://politicadeverdade.com/hugesobet/amp

Domains with amp slugs all point to the wrong places. I hate this. Please help.

Post count: 35449

Hi,

1. “Delete all information < – where and how?" This depends on the information that you want to delete. 2. “Save Permerink <- I don’t know how to remove cache"
To save the permalinks – https://i.imgur.com/pngaNiE.png

To clear your browser cache:
On your computer, open Chrome.
At the top right, click More. Delete browsing data.
Choose a time range, like Last hour or All time.
Select the types of information you want to remove.
Click Delete data. If you delete cookies while signed in to Chrome, you won’t be signed out of your Google Account.
To delete the cache from the website you need to use the options provided by your cache plugin.

The AMP plugin that is listed in theme plugins is not the theme plugin, is the one that is compatible with our theme and it can be used with tagDiv Mobile theme.

To redirect the AMP version of a page (e.g., http://www.domain/my-text/amp) back to the original page (e.g., http://www.domain/my-text), you can use a server-side approach, such as using an .htaccess file for Apache servers. Here’s how you can achieve this for both:

RewriteEngine On
RewriteCond %{REQUEST_URI} ^(.*)/amp$ [NC]
RewriteRule ^(.*)/amp$ /$1 [L,R=301]

Thank you!

Post count: 322

simchris Friend, turn off the amp and put in regular expression rules and some url will be redirected to other places.

/amp, <- This url is the only error, so isn’t it a non-serious problem that can be solved if the amp plug-in is disabled?

Post count: 35449

“/amp, <- This url is the only error, so isn’t it a non-serious problem that can be solved if the amp plug-in is disabled?"
When the amp will be disabled that link will no longer be available on the website, but the problem remains with those links that are already indexed on google and contains the /amp, so until the website is reindexed by google those links that are ending with amp should have a redirect, after the website is reindexed and there are no longer links contains amp termination the redirect can be removed.

Viewing 6 posts - 26 through 31 (of 31 total)
You must be logged in to reply to this topic.