Title: [Plugin: WordPress Mobile Pack] Admin Section points to wrong URL
Last modified: August 19, 2016

---

# [Plugin: WordPress Mobile Pack] Admin Section points to wrong URL

 *  [sketchee](https://wordpress.org/support/users/sketchee/)
 * (@sketchee)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/plugin-wordpress-mobile-pack-admin-section-points-to-wrong-url/)
 * The admin section on my site [http://www.sketchee.com](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?
 * [http://wordpress.org/extend/plugins/wordpress-mobile-pack/](http://wordpress.org/extend/plugins/wordpress-mobile-pack/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [jamesgpearce](https://wordpress.org/support/users/jamesgpearce/)
 * (@jamesgpearce)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/plugin-wordpress-mobile-pack-admin-section-points-to-wrong-url/#post-1276240)
 * 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
 *  [andytynan](https://wordpress.org/support/users/andytynan/)
 * (@andytynan)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/plugin-wordpress-mobile-pack-admin-section-points-to-wrong-url/#post-1276268)
 * 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/&#8230](https://example.com/mywebapp/&#8230);)
   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

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: WordPress Mobile Pack] Admin Section points to wrong URL’ is
closed to new replies.

 * 2 replies
 * 3 participants
 * Last reply from: [andytynan](https://wordpress.org/support/users/andytynan/)
 * Last activity: [16 years, 4 months ago](https://wordpress.org/support/topic/plugin-wordpress-mobile-pack-admin-section-points-to-wrong-url/#post-1276268)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
