Support » Fixing WordPress » Force 1&1 to use PHP5, pages now broken

  • Resolved passionbeer


    I added an .htaccess file to my site to force 1&1 to use PHP5. They are notorious for serving PHP4 by default. Anyway, I run a phpinfo() and it shows it’s now running PHP5 but all my permanent links are broken.

    I can pull the main page fine but any page off their servers a 404 error.

    Ideas? Please help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • esmi


    Forum Moderator

    Did you replace the WordPress .htaccess file or add to it? Are you using pretty permalinks? If so, try resetting your custom permalinks back to the default setting. If that works, then set your custom permalink structure back up again.

    Esmi, I cannot thank you enough!

    I was actually replacing the original WordPress .htaccess file. Adding the code to the original WordPress .htaccess file seems to be working fine! My server is reporting PHP5 and all my links work!

    Thanks a million, you’re a life saver 🙂

    what code did you add to the .htaccess file for 1and1 php5??


    This is the code you want:

    AddType x-mapp-php5 .php
    AddHandler x-mapp-php5 .php



Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Force 1&1 to use PHP5, pages now broken’ is closed to new replies.