Search code examples
phpwordpresscaching

Why does WordPress download a page instead of opening it?


I changed host for one of my site. Now the Wp blog doesn't work. The home works, but every internal link I click start index.php download instead open the paga and a string is added to URL:

http://www.exemple.com/blog/#.V2B72_mLSCg

I tried to rename plugins directory, but never changed. I tried to activate xcache_3 in php, but instead to download the page it directly shows the php code.

I tried to repleace .htaccess with the default version, but nothing changed...

This is the actual .htaccess code

The blog is in a directory like: http://www.exemple.com/blog

Thanks

UPDATE: php is not active, the home is visible because is chached. I tried to switch php versione but it was the same.

UPDATE 2: There was a htaccess outside public_html, the assistance removed it


Solution

  • I had this same issue when I moved my site. The solution for me was to change hosting PHP support from Apache to FastCGI.