Forum
Pages are not being created properyl when the website is hosted in a subfolder
Hi,
I am build a website locally using MAMP and I am building the website within a subfolder so the the path is localhost:8888/MyWebsite/ I have set up perch and can access the CMS and the example file fine but when I go to create a new page running from a template it outputs the the page or folder to the root of MAMP at localhost:8888 and not within the websites folder what should be localhost:8888/MyWebsite/.
The root of the site doesn't change, even if you conceptualise your site as only existing in one folder.
This looks like a development site, so I presume it's not staying in a subfolder - it would be best to create a new virtual host for it so that the paths are consistent between your development, staging and live environments.