I would like to put my local OS X wordpress site in my ~users/Sites/public directory, instead of the ~users/Sites so i can properly setup a capistrano deployment.
When i try this i can visit the site locally by visiting http://localhost/public and everything looks and works great but if i ever try to go to http://localhost/public/wp-admin to administer my local copy of wordpress it tries to redirect me back to http://localhost/wp-admin which doesn’t exist.
Do you know how I might be able to work around this problem?
Make a symlink. In the terminal:
Then type your user password when prompted.
Changing your DocumentRoot in your Apache config would probably be a good place to start.