When I change HTACCESS file dashboard DISAPPEARS (5 posts)

  1. zeitgeisty
    Posted 6 years ago #

    Hi all,

    I run a website on a 1and1 server, which has php 4 as its default. In order to change to PHP 5 I have to add a couple of lines of code enabling it in the HTACCESS file...

    The only problem is when I do I cannot get into the dashboard... the wp-admin page completely disappears... a total blank...

    I've tried disabling every plug in and doing it again.. no luck..

    I know that the procedure works because I've was able to adds on another site and it worked... I don't know what else to do?

    Its gotta be something specific to my site but I don't know what..


    and thanks...

  2. zeitgeisty
    Posted 6 years ago #

    No one has had this problem?

  3. alism
    Posted 6 years ago #

    What are you adding into your .htaccess?

    AddHandler x-mapp-php5 .php
    AddType x-mapp-php5 .php
  4. zeitgeisty
    Posted 6 years ago #

    Yes, that's exactly what I added... I've tried adding it on the top.. in the middle at the bottom..

    Everytime I change the HTACCESS file, what happens my PHPinfo reads that its running on 5, but the admin page completele disappears...

    wp-admin is a complete blank... when I remove those two lines from the HTACCESS file it goes back to normal..

    How do I change to PHP 5 if I can't add those two lines?

    The only thing I haven't tried is deleting the HTACCESS file from the FTP completely, then uploading a blank one.. Im too afraid it will ruin the whole site..

  5. alism
    Posted 6 years ago #

    Try disabling all your plugins and switch to the default theme temporarily, then try it again. Perhaps one of those is not agreeing with PHP5?

Topic Closed

This topic has been closed to new replies.

About this Topic