Error 404 when acessing sublinks inside subdomain

I’m setting up a subdomain wordpress. Initially I’m acessing like “”, at first view looks fine, everything loads, the admin is working fine… but eventually when I try to change to another route like ‘/contacs’ I receive a 404 error… anyone has any idea what could it be ? I tried enable rewriting, symlinks and scripts in .htaccess on both folders… tried map a new config for this other instace of wordpress… but still isn’t working. I’m working with open lite speed versions, and since I’m new to that, idk how to configure it properly.

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
March 2, 2023

Hello @wagnercaetano

You can examine your config files if the virtual host contains any rewrite rules that will cause this behavior.

You can also check the current permalinks option inside your WordPress administrator area. The permalinks are the permanent URLs of your posts, pages, categories, and other archive pages on your website.

On the WordPress dashboard, go to Settings →︎ Permalinks Screen. You can choose one of the permalink structures or enter your own in the “Custom structure” field using the structure tags.

Hope that this helps!

It could due to config issue somewhere. If you aren’t sure how to check the config or log, then I’d recommend you to submit the issue to for further help, and update here with the solution.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.