PHPMyFAQ in subdirectory and Wordpress in root

All about webserver configurations, PHP and databases.

Moderator: Thorsten

Post Reply
Nemesis19
Posts: 2
Joined: Mon Sep 14, 2015 11:20 am

PHPMyFAQ in subdirectory and Wordpress in root

Post by Nemesis19 »

Dear Support,

I have a Wordpress installation on the root of my Linux hosting with Apache and PHPMyFAQ latest version on the subdirectory "assistenza" ("help" for non Italian).

Indeed I have my Wordpress htaccess enabled with all the relative rules. Once I enable mod_rewrite in phpmyfaq config I get 2 situations:
1. if I don't enable the htaccess in assistenza directory and I try to access a page I get redirected to a Wordpress error page that could not find the page
2. I enable htaccess in the assistenza directory and I get Internal Server Error 500.

The hosting I have doesn't provide a log from the server, or well it does, but it's always empty. I'm sure that's something wrong in the htaccess file (where I already changed the base url from /phpmyfaq/ to /assistenza/) or some conflict with the root htaccess from Wordpress.

You can understand that the result is, site not working, and failing rewrite.

Where can I start to understand the issue?

Thank you very much for any clue
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: PHPMyFAQ in subdirectory and Wordpress in root

Post by Thorsten »

Hi,

you can try to enable the debug log in inc/Bootstrap.php in your phpMyFAQ installation.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Nemesis19
Posts: 2
Joined: Mon Sep 14, 2015 11:20 am

Re: PHPMyFAQ in subdirectory and Wordpress in root

Post by Nemesis19 »

Thanks but I'm sorry I don't find it useful.

How can be useful to you?

If I enable mod-rewrite and the htaccess inside /assistenza folder I get again internal server error 500.

I also changed the Rewrite base url in htaccess from /phpmyfaq/ to /asssitenza/

Thanks
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: PHPMyFAQ in subdirectory and Wordpress in root

Post by Thorsten »

Hi,

it's possible to see errors happening in PHP, maybe that's the issue.

I think it's an issue in the Wordpress .htaccess file but I don't know what's in there.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply