I switched things around and got rid of $_SERVER["DOCUMENT_ROOT"]
so hopefully that improves my security and functionality.
I’m sure I am approaching lots of things incorrectly as this is my first venture into WP. But its working.
Essentially what I’m doing is building a website and incorporating WordPress into it, not the other way around. That does seem to be the odd way of doing things, but to me its more intuitive and with more control.
Basically I’m using wordpress more as minimal CMS then as a blog.
if you goto mysite.com you will be at my main page index, which is just pure HTML5/CSS, however it does grab posts a loops them on the front page.
Then if you goto mysite.com/blog you will finally be in the directory where my WP is installed. However I’m still using my own theme that is more like once again incorporating WordPress into that theme rather than the other way around. So both my top level index and my subfolder WP have the exact same layout and run off the same CSS.
My “theme” is very bare but pretty functional. I’m just barely adding single.php comments.php etc.
So in your opinion is this messed up or what? lol