Symlinking the WP directory
-
hi guys,
I’m a new WordPress user, experimenting with switching my existing blog over to WP permanently.
Here’s the deal: I have a number of different blogs that I’m testing out right now, each installed under
mysiteroot.com
:mysiteroot.com/wp mysiteroot.com/otherblogware mysiteroot.com/thingymajig
To test out each one, I’ve made a symlink called
blog
at the site root, which presently points to/wp
. If I navigate to/wp
directly, everything is fine, but if I try to use the symlink address to log in (e.g./blog/wp-admin
), WP never completes the redirect.I can navigate to my homepage fine; /blog will show me
/wp
without any URI rewriting. However, WP appears to be internally rewriting things, because if I click on the sample entry from the default install, my address bar reads/wp/?p=1
, not/blog/?p=1
as I’d expect.The other pieces of blog software I’m trying out don’t seem to have any problem with this. Is there something special in WordPress I need to do?
It’s very important to me that my installation stay as clean as possible; that is, I don’t want to edit any files that are part of a default WP install, so that this change is completely transparent.
Are there any suggestions?
thanks!
- The topic ‘Symlinking the WP directory’ is closed to new replies.