Forum
Creating pages without .php extension
Perch automatically adds .php to filenames when creating pages.
Is there a way to stop Perch doing this?
Perch automatically adds .php to filenames when creating pages.
Is there a way to stop Perch doing this?
If you are rewriting URLs then you can hide extensions https://www.youtube.com/watch?v=4-eBgrQW2Yo&index=23&list=PL8Ur7aZz4J2OJLx5fIZD56wl9QVfJMrku
Add an option of ‘hide-extensions’ => true to the array when outputting the navigation.
Ah that's it!
I had done the .htaccess stuff but not 'hide-extensions' in the array.
Sorted! :)