Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad URL for Desktop Version in sub-directory #74

Open
mohidotpy opened this issue Nov 12, 2021 · 2 comments
Open

Bad URL for Desktop Version in sub-directory #74

mohidotpy opened this issue Nov 12, 2021 · 2 comments

Comments

@mohidotpy
Copy link

Hello
I have a WordPress installed on a subdirectory: https://example.com/wordpress/
and AMP URL format is End Point.

And the problem is in the paginated category pages, the subdirectory appears twice in the "View Desktop Version" URL.

for example: in this URL -> https://example.com/wordpress/home-goods/amp/page/2/, the "View Desktop Version" URL is https://example.com/wordpress/wordpress/category/home-goods/page/2/

@mohidotpy
Copy link
Author

mohidotpy commented Nov 12, 2021

I think a good approach is adding a filter to the ur:
Even if a problem appears in the future, users could resolve it with add a filter.

@mohidotpy
Copy link
Author

I sent a pull request for this issue.

#76

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant