2

I'm using WordPress endpoints to render another template on a post page. How can I add .html to the end of the URL that using the endpoint?

Example:

Normal URL: example.com/angry-birds

Normal URL with endpoint: example.com/angry-birds/play

Here are the results I'm trying to achieve:

example.com/angry-birds.html and example.com/angry-birds/play.html

2

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.