Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multisite - If first-path is options-general.php it redirects to 404 #673

Open
bfintal opened this issue Dec 4, 2023 · 0 comments
Open

Comments

@bfintal
Copy link
Contributor

bfintal commented Dec 4, 2023

馃悶 bug report

Behavior:

  • What is the issue? (*)
    When in multisite and you have this SDK setting:
'first-path' => 'options-general.php?page=some-page',

Things work when activating the plugin in a single site or in a site within multisite. But when network activating in a multisite or activating in the main site in a multisite, it directs to a 404 page.

This is because the network path is not available in the main multisite site.

  • What is the expected behavior?
    Since options-general is not available, either do not redirect for first-path or redirect to the main site's URL.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant