codehaven - php snippets - coding help
Generic filters
Exact matches only

Run wordpress from a directory

24th October 2013

Admin WP

wordpress category

To run wordpress from a directory add this htaccess file in the root

Then to login to the second admin panel use this code

BUT remember, after logging in and doing what you need, take this code off, as it will be shown in the URL. So only add this when needed.

Was this code snippet helpful?