Using sub-directory url for wordpress, is this good idea
-
I’ve got a site, call it mydomain.com. I’ve put WordPress in mydomain.com/dir_for_wp (it’s a slightly better name than that).
The reason is that I’m using another directoy, mydomain.com/non_wp_stuff, for images, CSS files, JS and other stuff. So I can rebuild the dir_for_wp directory without losing that other stuff.
So:
mydomain.com
…dir_for_wp
…….All the WP stuff
…non_wp_stuff
……Images, CSS, JS, etc.As a result my pages show up in browser addresses as mydomain.com/dir_for_wp/A_WP_Page.php, with the extra “dir_for_wp” thrown in there.
I’ve looking for some “best practice” advice:
1) Is this something that is likely to bother visitors, seeing that extra “dir_for_wp”?
2) Can I use .htaccess (or something) to make the page urls look like “mydomain.com/A_WP_Page.php”?
3) Have I made this too complicated, i.e. would it make more sense to just put my WP stuff directly under mydomain.com, and still have the “non_wp_stuff” under there too, and avoid blowing up the “non_wp_stuff” (by backing it up, for example?) That is:mydomain.com
…All the WP stuff
…non_wp_stuff
……Images, CSS, JS, etc.I’ve got to back up the child theme that’s nestled within “All the WP Stuff” anyway.
Any suggestions on this would be appreciated.
Thanks!
- The topic ‘Using sub-directory url for wordpress, is this good idea’ is closed to new replies.