Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Robots.txt is not available from root domain #3

Open
wannevancamp opened this issue Nov 7, 2023 · 4 comments
Open

Robots.txt is not available from root domain #3

wannevancamp opened this issue Nov 7, 2023 · 4 comments

Comments

@wannevancamp
Copy link
Contributor

PHP Version

8.2

Shopware Version

6.5.6.1

Actual behaviour

When your Sales Channel has domains with a language suffix to robots.txt file must be available form the root domain (without the suffixes)

Domains:

Expected behaviour

https://shopware.com/robots.txt

Steps to Reproduce?

  1. Setup a Sales Channel with some (language) suffixes.
    Domains:
  1. Navigate to https://shopware.com/robots.txt
  2. The robots.txt is not available
@aragon999
Copy link
Member

Okay I see.

So just to make sure, you only have sales channels with language suffixes, but no channel without a language suffix?

@wannevancamp
Copy link
Contributor Author

We have a combination of sales channels with or without language suffixes.
For example:
Sales Channel 1

Sales Channel 2

Sales Channel 3

@DaveBueds
Copy link

Any update on this issue/fix?

@aragon999
Copy link
Member

Unfortunately I did not find time to look into it in more detail, as I think it is a bigger change.
The routing has to be somehow adjusted, as in that case we cannot use the StorefrontController. Maybe one should decorate the RequestTransformer for that.

But this is a bigger change, where I did not find time to investigate it in more detail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants