I have WordPress installed in a subdirectory and would like to avoid having to use the subdirectory in the redirect. Is there any way to do this?
I have WordPress installed in a subdirectory and would like to avoid having to use the subdirectory in the redirect. Is there any way to do this?
OK, I scoured the code and found the spot to fix my problem. In menu.php, change the "'.$basewpurl.'" in line 141 to your root URL. That's in v 1.3.4, anyway, and it's working for me. FYI.
A better way to do it -- in line 137 in menu.php change 'siteurl' to 'home' like so:
$basewpurl = get_option('home');
That way you don't have to hardcode your URL into the plugin.
You must log in to post.