Hi there,
I have recently built a site at http://hakubaskiconcierge.flickdigital.co/ and migrated it to http://hakubaskiconcierge.com/
On migrating the site works fine until I save permalinks. Everytime I do so it adds a strange line to .htaccess:
AddHandler application/x-httpd-php70 .php
Once this code is in the file, instead of the site working, clicking on any link causes the browser to download the files such as “options-permalink.php”, “download” etc. Manually removing this line allows the site to work fine, but the same problem occurs everytime permalinks are saved.
The php version of the staging site and the live site is 5.6. The staging site has the above line in it’s .htaccess by default, as well as the below 2:
# Use PHP5.6 as default
AddHandler application/x-httpd-php56 .php
However if I add these lines along with the first above, the same error occurs.
GoDaddy (the client’s hosting) support were incredibly helpful and spent hours on it with several techs testing. They have pinned it down to a theme issue as the site works fine with other themes.
On the staging server it works fine, I can save permalinks etc no problems. There are no errors in console. There are no errors in console on the live site until saving permalinks.
I appreciate you looking into this and look forward to hearing back.
Let me know what you need from my side.
Thanks - Jade