Hello,
I have just created a new project that i have published on a new hosting website.
When i try to view my new website I get this response that I have attached.
Locating the ‘index.php’ of the hosting site is easy enough with CyberDuck.
But where can I find “my own” index.php file ? I have looked on my laptop everywhere. Where is it hiding ? Any help will be most appreciated.
BTW, all my project pages have an ‘index.html’ file on each page, except for the contact form page, which has an ‘index.php’ file, but I don’t believe that this is the right one.
Not sure exactly what you are asking. The screenshot you posted is default from A2 Hosting.
If the page you have is an index.html page then with an FTP client (CyberDuck) you should have both an index.html and an index.php (according to the screenshot) in the same directory if you published correctly.
Do you see that with CyberDuck?
If you don’t see both (And I looked and couldn’t find it) then you didn’t publish correctly.
Rapidweaver keeps all the stuff you have set up in a project file. The previews or simulator are generated on the fly. You need to “publish” the pages in order to use them outside of rapidWeaver. You can publish to a local folder if you want to use a stand-alone FTP client like Cyberduck. You can also setup RapidWeaver to publish directly to the hosting company.
In the upper right side of the RapidWeaver menu bar, you will see a publish button. It also has a drop down to select setup, bookmarks etc.
So I published my project on my laptop and here are all the files in the destination directory.
I still can’t locate ‘my own index.php file’. the only one that has that name is in the contact-form directory, which is obviously not the one that i need.
Index.php files and index.html files kinda do the same thing. You have an index.html file. If you use CyberDuck to copy these files to a2 hosting then you would delete the index.php file (default one from a2 hosting) and your site should be live.
Why aren’t you publishing with Rapidweavr, that way all the files that you need to run the site (including everything that makes the theme work) get uploaded.
Publishing to your laptop and then uploading the files means you might have missed something. If you look at the developer console in your browser, you will see errors that show that the theme files are not on the server.
Actually, I have been publishing only with Rapidweaver.
The only time I haven’t were the following: the file upload of ‘index.html’ and the file delete of the ‘index.php’ website file, that I just did moments ago.
As Gary (@Ruyton) points out you should have no problem publishing throughRapidWeaver. If you do want to publish with your own FTP(Cyberduck) you will need to PUBLISH all the files.
You need to publish to where that index.php page was and to where you put the index.html page.
Go to the RW publishing settings and click on the Browse button. That will show where the site is being published. Navigate around the server until you find the index.html file, it will be by itself without the other RW files. Why not upload a dummy file to where you put the index.html file to help you find the right place. Just ftp an empty text file, say dummy,txt
But is that where you are supposed to publish? You say you uploaded the index.html by ftp and that is showing correctly but without the theme and all the other pages. Wherever you put the index.html file, that is where you should be publishing.