Forum

Thread tagged as: Question, Configuration

Do I have to rename all my pages from .html to .php?

Hi,

I am just getting started with Perch so please bear with me.

I have a ready made HTML website which previously was just static, i.e no content management system installed.

I was defining the editable content regions of my site to use with Perch, re-naming the homepage from index.html to index.php and this got me thinking.

Will I have to rename all of my pages (and there are A LOT of them) from .html to .php?

I hope not! It would mean having to re-name every single navigational link on the site. Would sort of defeat the object of being able to to get up and running easily.

Chris Hill

Chris Hill 0 points

  • 4 years ago

Hi Chris, No is the short answer. You only need change the ones with editable content or you can use a .htaccess file to read html as php.

ah ok i'll use the latter option then as most pages will be editable.

Thanks Simon, much appreciated

Rachel Andrew

Rachel Andrew 394 points
Perch Support

There is information in the docs to help you https://docs.grabaperch.com/perch/getting-started/file-extensions/