I am new to Foundation and trying to construct a website. I have 1 page with Site Styles and a one column foundation stack with a background color. If I preview the page I get an error message.
Duplicate Pages Found on Your Server
Foundation has detected 2 versions of this webpage on the server:
It also has two button to remove the file, but neither function.
I would appreciate any help to get me past this point.
Probably…
I will attempt to add some context to better help you understand what is going on here.
You have to keep the following in mind:
By default RW makes html pages (you can change this in settings)
By default most web servers wil display an .html page over a .php page if they both exist
RW does not delete any files from your web server, it will only add new ones or overwrite ones that exist
Some stacks require a .php page and some of them actually change it automatically
So that means that if you publish a page as .html and later add a stack that requires php and republish, chances are you will now have both a .html and a .php page.
Since RW does not delete files from your server it is up to you to do the housekeeping. In most cases you will need to get rid of the .html page. But it is possible that you may edit a page and remove a stack that requires php and would work with a .html page as well.
Okay, all that being said, I know of no downside to just making every page a .php weather it needs php to run or not. That’s what I tend to do on all but the simplest of sites. (I just set the site up in RW to use .php)
I hope that helps. - It can be a little confusing…
Best,
Scott
Hi @juliesirek,
Sorry I did not see this earlier. Quick question. Have you confirmed that you have your theme set to Foundation?? This can happen if Foundation is not set to your theme. Check that and let me know.
Hi,
Thank you for your help.
This new site I am trying to construct is unpublished.
I believe “Foundation” is set as my theme.
As I am viewing the source I notice it states that the “Foundation Theme is out of date” and “Foundation theme is not applied”.
Hello. Just started testing Foundation, and as I am building a test site for now, I dont want to delete any duplicate pages. How do I get rid of this message which is blocking all my previewing?