Skip to content

CP url (/admin) returning a 404 on production #15089

Answered by cballenar
dolphiq-allard asked this question in Q&A
Discussion options

You must be logged in to vote

hi @dolphiq-allard

I see you mentioned the 404 comes from Nginx but then mentioned you're using .htaccess which is used for Apache.

Could you double check what server you're using?

If your site is running on Nginx then you'll want to setup a conf file (not .htacces, you may need to reach out to your host depending on how flexible they are), here are a couple samples:

https://craftcms.stackexchange.com/questions/961/what-is-the-recommended-nginx-configuration-for-craft

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by brandonkelly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants