Hi,
It may be possibles due to:
If the account is hosted on a Windows server, it could be a problem with the Directory Indexes. The default configuration of the server is to load index.htm, index.html, default.htm, default.html, default.asp files.
WordPress is done in PHP so the default page is index.php. Now this is not part of the default configuration so we need to add it
To do this, you need to click on Web Options in the Control Panel. Then scroll down to the Directory Indexes section to add index.php to the Directory Indexes.
This can be done using the below mentioned steps from IIS:
Go to IIS Websites
Right click on your domain, go to properties.
Click on Document tab
Under the filed “Enable default Content Path”, you will find the list of the various files. Move up the index.php file in this listing.
Apply the changes.
You need to do the same for Linux server from the control panel..If you are hosted on Linux…please let us know which control panel are you using?
Thanks,
Shane G.
Thread Starter
ebizer
(@ebizer)
Thanks, Shane.
Since posting this problem, I’ve discovered that it must have something to do with the hosting company as I have another blog hosted elsewhere and it accepts the coding without any problem.
I’ve contacted the company and hopefully, everything will soon be resolved.
I’ll try to come back and post what they said in case anyone else runs into this type of situation. But forgive me if I forget. 😉