[Solved] Friendly URL in MODX redirects to home page


This catches a lot of people out: by default, the error_page setting (for returning 404s) is set to the home page. So your first url might be returning a 404 not found error code, but displaying the home page.

Try changing the error_page setting to a different page and see if the first url sends you there instead?

To remove the .html extension, go to System > Content Types and clear out the File Extension column for the HTML content type. You may need to clear your Site Cache after doing this for the changes to take effect.

1

solved Friendly URL in MODX redirects to home page