Skip to content

Statamic simple-commerce multi site gives on sub name a 404 #945

Closed Answered by duncanmcclean
JohanIclicks asked this question in Help
Discussion options

You must be logged in to vote

Ah, I think I see why that's happening.

First, check the APP_URL in your .env is accurate.

Also, you may want to adjust the URLs of your French & German sites so they use the APP_URL value, like this:

'french' => [
  'name' => 'french',
  'locale' => 'en_US',
  'url' => env('APP_URL').'/french',
],

Finally, login to the Control Panel and go through any entries (like pages) you want to be available on the other sites and "localize" them (to localize an entry, click into edit it, click on the site in the sidebar with the line through it, then save the entry, it'll then be localized.)

After I did those three things, everything started working for me!

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@JohanIclicks
Comment options

@duncanmcclean
Comment options

@JohanIclicks
Comment options

@duncanmcclean
Comment options

Answer selected by JohanIclicks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants