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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It will NOT work at all with this common nginx conf #273

Open
gumpjt opened this issue Feb 10, 2023 · 0 comments
Open

It will NOT work at all with this common nginx conf #273

gumpjt opened this issue Feb 10, 2023 · 0 comments

Comments

@gumpjt
Copy link

gumpjt commented Feb 10, 2023

My site have permalink setting like: www.test.com/post-name/
and nginx very basic conf:

location / {
    try_files $uri $uri/ /index.php$is_args$args;
}

when I install this plugin, it does not work. the /wp-json/wp/v2/posts/XXX is still accessable.

I tried to google it for a long time but faild...

Any idea on this?

env:
VPS with ubuntu 20
latest WP
php 8.1
clean site, no other plugin...

Thanks.

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