WP returns to domain root instead of siteurl
On various admin actions (e.g. delete a post), my fresh WP install (dev.mydomain.com/website
) returns to the domain root (dev.mydomain.com
) instead of dev.mydomain.com/website/wp-admin/edit.php?some-vars-here
.
I've setup the WP_HOME
and WP_SITEURL
to the correct site url, but no difference. Site runs over ssl on Apache (I've added the $_SERVER['HTTPS']
= 'on' to wp-config.php
).
I am able to browse the complete wp-admin and the post is deleted on a delete action, but just jumps to the wrong url after completion. I feel like I'm forgetting something dumb here... any clues?
UPDATE
.htaccess
is present (was created by WP) and has RewriteBase /website/