To temporarily check to see if PHP is my problem, I want to upload a version without the hit Counter where all pages are HTML instead of PHP.
Can this be done all at once? Or do I have to change all 490 pages individually?
To temporarily check to see if PHP is my problem, I want to upload a version without the hit Counter where all pages are HTML instead of PHP.
Can this be done all at once? Or do I have to change all 490 pages individually?
You only need to change one page extension to find out if the Hit Counter is your issue. There’s no need to change all 490 (wow!) pages.
changing the home page to index.html lets it load (with errors in the counter), but the rest of the pages doné load. So back to the original question: Any way to change all at once?
Afterwards, publish all the files. You should now have both an index.html and an index.php on the server.
“add the following to your .htaccess file:
DirectoryIndex index.html index.php
This ensures that the server will first use index.html and then index.php, if both are present on your server.” That way, you don’t have to delete all your index.php files.
I’m sorry to say there isn’t. Might it be a better idea to stick with the PHP extension and remove the counter stack instead?
@dan Oh, I always thought that if you change the PHP extension to HTML under Advanced / Default Extensions, it would apply to all pages. But that’s not the case at all…
Sorry, my mistake. @RichardLW