I installed a Wordpress distribution in a subfolder. Everything works fine: The rewrite rules a correct and so on.
only my own private plug-in doesn't. I call per ajax the plug-in function via the url: /wp-content/plugins/plug-in-name/save_contribution.php
The absolute path is: http://domain.com/subir/wp-content/....
I know that's not the proper way to do AJAX in WP but I can't change it right now. I will in future - I promise :-)
The interesting point is: When I call it, it loads: http://domain.com/wp-content/...
So it goes back to the root. And it finds it because I have a different distribution in my root with the same plugin - so it writes in the wrong database
Can someone help me one that?
And again, I will rewrite my plugin in future but now I have to solve that issue quite quick!