• 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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Frank Goossens

    (@futtta)

    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

    (@jzmwebdevelopment)

    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

    (@futtta)

    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

    (@jzmwebdevelopment)

    correct and no

    Plugin Author Frank Goossens

    (@futtta)

    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.

    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.