Title: Plugin missing subfolder in URL
Last modified: March 20, 2017

---

# Plugin missing subfolder in URL

 *  [jzmwebdevelopment](https://wordpress.org/support/users/jzmwebdevelopment/)
 * (@jzmwebdevelopment)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/plugin-missing-subfolder-in-url/)
 * For some reason when I try and update `options-general.php?page=autoptimize` 
   its loading
 * `https://domain.com/wp-admin/options-general.php?page=autoptimize&settings-updated
   =true instead of https://domain.com/folder/wp-admin/options-general.php?page=
   autoptimize&settings-updated=true`
 * How can I fix this
    -  This topic was modified 9 years, 3 months ago by [jzmwebdevelopment](https://wordpress.org/support/users/jzmwebdevelopment/).
    -  This topic was modified 9 years, 3 months ago by [jzmwebdevelopment](https://wordpress.org/support/users/jzmwebdevelopment/).

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

 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/plugin-missing-subfolder-in-url/#post-8933023)
 * so you have your entire wordpress installed in a folder? should work just fine(
   i have this setup on all my test-machines). was this always so, or did this just
   break one day?
 *  Thread Starter [jzmwebdevelopment](https://wordpress.org/support/users/jzmwebdevelopment/)
 * (@jzmwebdevelopment)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/plugin-missing-subfolder-in-url/#post-8933031)
 * Yes thats correct, Its a strange way I have it set up as the main domain runs
   off a proxy. 99% of the links work correctly however there are a couple like 
   above that miss it out completely
 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/plugin-missing-subfolder-in-url/#post-8933111)
 * so wordpress is NOT in a subfolder (as far as it knows), but is behind a proxy
   which is in a subfolder? like
 * `https://frontend/proxy/wp-admin/ -> https://backend/wp-admin/`
 * and are the settings ever successfully updated?
 *  Thread Starter [jzmwebdevelopment](https://wordpress.org/support/users/jzmwebdevelopment/)
 * (@jzmwebdevelopment)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/plugin-missing-subfolder-in-url/#post-8933116)
 * correct and no
 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/plugin-missing-subfolder-in-url/#post-8933195)
 * ok, in that case the problem is with the POST of the setings-form, which uses
 * `<form method="post" action="options.php">`
 * which is pretty much the default as per [this codex page](https://codex.wordpress.org/Creating_Options_Pages#Form_Tag).
 * So I guess you’ll have to make sure your proxy also handles POST actions to /
   wp-admin/options.php ?
 * frank

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

The topic ‘Plugin missing subfolder in URL’ is closed to new replies.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

## Tags

 * [url](https://wordpress.org/support/topic-tag/url/)

 * 5 replies
 * 2 participants
 * Last reply from: [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/plugin-missing-subfolder-in-url/#post-8933195)
 * Status: not resolved