#262 Posted in ‘Route 66’

Latest post by Lefteris Kavadas on Friday, 30 November 2018 00:08 EET

Jose Tarano
I use a plugin jAMP and when enable System - Route 66 plugin AMP pages are not valid because have been route to the main page. Is there a way to fix ?
My amp pages are using amp suffix like https://domain.com/amp , https://domain.com/article/amp and so on 

Lefteris Kavadas
Hi,

Do you mean that those pages are redirected to the home page? If yes, then just go to the Route 66 Options and disable redirects (or add an exclusion for the specific extension).

Regards

Jose Tarano
The problem is that all amp pages are redirected to the non amp pages.
Thank

Jose Tarano
If I remove the redirect option i will loses the best part of your plugin: elimination duplicate content.
The Jamp plugin doesn't appear in the exclusions options of Route 66
Thank

Lefteris Kavadas
Have you tried to contact the developers of that plugin? There must be a workaround for this. Route 66 knows that this is a Joomla article and since the URL does not match the canonical, it redirects the page.

Regards

Jose Tarano
Somebody had the same problem and the extension developer answer was:
Re:jAMP problems with Route 66 plugin
I can't answer because route 66 it's not a plugin of mine and I don't know how it works.

You must firstly determine the exact reason why Route 66 invalidates the Google AMP format.

If it adds some extra html code to pages that is not compatible with AMP you could get rid of it using Jamp exclusions settings.

If instead it's a problem due to routing itself probably is a different question, but it would be better asking to their developers. After all this is an issue strictly related to Route 66 not to Jamp

Jose Tarano
No there are no workarounds or something to do in the jamp plugin, the only possible solution is that they add support for AMP URLs in the Route 66 plugin, this issue was already discussed here more than 1 year ago.
https://storejextensions.org/forum/view/30-jamp/6583-re-jamp-problems-with-route-66-plugin.html
There is no way or possible workaround to have this working on the JAmp side, everything is up to Route 66 plugin due to the fact that it overrides the standard Joomla routing.
It would be better to ask to the developers of Route 66 if they can add support for AMP URLs that will be more and more common in future. This is an issue strictly related to Route 66 not to various AMP plugins used.

Lefteris Kavadas
Is the URL always the same for AMP? Is it like https://domain.com/article/amp? I am trying to understand the exact case so I can add an exception in redirects.

Regards

Jose Tarano
Yes that is:
https://domain.com/amp
https://domain.com/article/amp
https://domain.com/article/idnumber-alias-nam-name/amp
https://domain.com/categories-name/amp
https://domain.com/categories-name/idnumber-alias-nam-name/amp

and so on

Lefteris Kavadas
Can you please create a new private ticket so we can continue our discussion there?

Regards

Lefteris Kavadas
The issue should be fixed with the 1.6.2 release of Route 66.

Regards

Note: An active subscription is required in order to get support for our paid extensions. For our free extensions, if you don't have an account, register and then submit your support request.  In case you just want to ask a question, you can also use the contact form .

Firecoders
Are you using our extensions? Please post a review at the Joomla extensions directory!
Post a review