craftcms / craftcms/cms

Multisite entries are 404ing [3.7.37]:

Open
#10,878 13 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug craft3
Dominant language
PHP
Stars
3.6k
Forks
705
Avg merge
1d 5h
Merged PRs (30d)
134

Description

What happened?

I'm using a multisite set-up using subdirectories (eg. @web/multisite-path)

Locally, everything is working fine.

On production, all entries are 404ing.

Craft CMS version

3.7.37

PHP version

7.4

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the working local multisite subdirectory setup with the production configuration, focusing on why entries resolve to 404 there. Reproduce the issue on Craft CMS 3.7.37 with PHP 7.4 and verify that multisite entries resolve correctly in production without 404 responses.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.