I have created a custom extension, My module XML files is as follow:


When I run URL with frontname "test-landing" it works (www.xyz.com/test-landing) but i want my url to work with .html extension (www.xyz.com/test-landing.html)

How can it be done (without any htacess redirect) ?

To make it work,I tried to change the Frontname as <frontName>test-landing.html</frontName> and the www.xyz.com/test-landing.html worked, Is it correct way to do so ? I don't think its correct way.


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.