Forum Moderators: phranque
This was achieved by using this config in .htacess file
AddType application/x-httpd-php .php
#below is to make html behave as shtml
#AddHandler server-parsed .shtml
AddHandler application/x-httpd-php .shtml
AddHandler application/x-httpd-php .html
XBitHack On
Options -Indexes
Now few days back hosting company moved the code to new servers and all those pages in the directory with .shtml extention have stopped working. when i type that URL i just get a blank page.
So anyone has any idea what can be the issue. Any apache config issue that .htaccess cannot override?
Also is there any log file where i can see if apache is dumping any errors
Thanks
I have 2 options now:
1. Rename all files to php. add 301 redirect from shtml to php. This will resolve my issue right away and site will be up. i fear due to URL change that client will lose top rankings in Google which brings in 80% traffic. many URLs (around 1000) are 3 to 4 yrs old.
2. wait for 2 to 4 days till issues settles down and shtml start behaving like php as it was for last few years. Meanwhile google might crawl and flag lot of pages as not found and will loose my SERP rankings.should i stop the bot till my site settles down ? But in long term my URLs will remain the same and i should keep those top positions.
Do let me know what you think.
Thanks
I think they don't know what they're doing and/or they're resellers themselves.
If I were you I'd have that site moved within the hour, no way would I change established URLs because of lame hosting support.
That's what I think.
Then after 12 hrs they said servers are under attack by some hackers. hence they disabled SSH and many other options due to which my client is suffering now.
Marcia pls see my PM. Need hosting recommendation from you
Thanks.