How to create custom URL routes?

I wanted to generate csv using specific url for ex. https://www.example.com/exportcsv.csv

Is this possible via WordPress?

I have tried with querystring and all the otherways but my requirement is to do it with the above URL.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.