The admin section on my site http://www.sketchee.com is at /wp/wp-admin but the plugin points to /wp-admin which means I'm getting 404s. Any way to fix this easily?
The admin section on my site http://www.sketchee.com is at /wp/wp-admin but the plugin points to /wp-admin which means I'm getting 404s. Any way to fix this easily?
Hi there,
Can I ask how you've moved your admin panel down a directory?
As for the mobile plugin, it uses the "Home URL" and "Site URL" settings (as set in the admin dashboard) to figure out where your site is and what the URL is.
Do you have a configuration that uses URL rewriting in the web server or something? Any information you can provide about how you have your install set up would be really helpful.
Thanks!
James
Hey, James.
I get this error with the admin links generation as well.
My siteurl option ("wordpress address") is in a subdirectory too, but my home option ("blog address") is just the hostname.
I have done it this way because
(a) the site is https, but I only have one IP address, so I can only have one hostname (so I don't even use www, just the domain name).
(b) I have other web apps under other top-level URLS (https://example.com/mywebapp/...) and use mod_rewrite to handle the redirection to the correct proxy or physical location
(c) I wanted the raw domain address to redirect to the wordpress subdirectory, but I could only get it to work with the wordpress URLs set up this way.
(d) WordPress seems to use the "siteurl" option as a genuine root for accessing wp-admin, and the "home" option as a parameterised content page handler, and *assumes* that the http engine is rewriting the location as necessary.
Should your plugin perhaps use the siteurl option value for admin links?
Thanks,
Andy
This topic has been closed to new replies.