Timeline for How to determine wordpress base path when wordpress core is not loaded
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 20, 2012 at 15:21 | vote | accept | xaedes | ||
Dec 18, 2012 at 11:00 | comment | added | brasofilo | Probably, yours is the intelligent version of this: wp-load, I'll find you. I like Frank's method. | |
Dec 18, 2012 at 10:52 | comment | added | Mark Kaplun | guess you need to verify by first checking for wp-config.php and then checking if index.php is in that dirctory or the one below it. | |
Dec 18, 2012 at 10:35 | comment | added | xaedes | Good point. Which file would be better to check for? | |
Dec 18, 2012 at 9:49 | comment | added | Mark Kaplun | wp_config.php can reside in the directoy above wordpress root. Anyway usually if you need to find where wordpress is installed then you are doing something totally wrong. | |
Dec 18, 2012 at 8:26 | history | edited | xaedes | CC BY-SA 3.0 |
changed the solution to be able to work in the wordpress base path
|
Dec 18, 2012 at 7:58 | history | answered | xaedes | CC BY-SA 3.0 |