Why my php first page is only loaded other can't load and it only give me 404 how to configure with nginx

How do i configure my php and route which using switch statement and depend on route it change another route. Now is it only show me first home page not other pages;

Submit an answer
Answer a question...

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Site Moderator
Site Moderator badge
May 2, 2022

Hi @floatingdarkcyananchor-243261243130244532654558724c5869333066704c71764c426c71774f,

Can you please give a couple of examples of what you want to achieve as it’ not actually clear from the initial question?

Do you wish to use SWITCH statements in your PHP code or you want to have multiple location in your Nginx’s configuration file?