0

I have a multisite installed with the domain mapping plugin.

All the domains work fine, except...

One of the sites is on a subdirectory (the main site running Magento).

I added a symlink to the original installation directory in the WP subdirectory (/wp/ in my case) because I needed to change the .htaccess file for a different rewrite base. The issue is that the wp-admin does not work. Upon login, the page refreshes (with redirect_to= in the URL) and then nothing happenes. Upon further research, I've noticed that the cookie the site tries to set is for the parent site domain...

1

Try to set the constant COOKIE_DOMAIN to an empty value or the value of the real address.

Example:

define( 'COOKIE_DOMAIN', '' );

Be aware WordPress has a lot of issues with symlinks, so there might be other problems too.

  • Tried that....didn't help – boruch Apr 24 '13 at 13:11
  • I got the admin to work (no idea how...) but now the actual site pages redirect to /wp/wp/ from regular /wp/ . any ideas? – boruch Apr 24 '13 at 15:30
  • 1
    @boruch That’s a new question. Try to get a RewriteLog. – fuxia Apr 24 '13 at 15:33
  • @toscno +1 , it is not a mod_rewrite thing. I removed the htaccess file, and still getting the redirect. it seems like a WP thing – boruch Apr 24 '13 at 16:01
  • 1
    @boruch Look here. – fuxia Apr 24 '13 at 16:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.