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

Environment Variables/Aliases not parsed for humans.txt, though proposed in Text Field #398

Closed
hldrm opened this issue Feb 21, 2022 · 1 comment
Labels

Comments

@hldrm
Copy link

hldrm commented Feb 21, 2022

Describe the bug

When choosing an environment variable or an alias as Entity URL for Creator, the humans.txt file includes the variable name instead of parsing the variable.
Since environment variables / aliases are being proposed by the input field (even when entering the literal URL), I consider it a bug, not a feature request.

To reproduce

Steps to reproduce the behaviour:

  1. Go to "Control Panel > SEOmatic > Site Settings > Creator"
  2. Click into input text field for "Entity URL"
  3. Choose one of the Environment Variables or Aliases in the entries liest popping up, e. g. "@webhttps://example.com" or "$SITE_URL – https://example.com"
  4. navigate to https://example.com/humans.txt, find in Creator section: "URL: @web" instead of "URL: https://example.com"

Expected behaviour

Expected to find a humans.txt looking as follows:

/* TEAM */

Creator: [...]
URL: https://example.com

Screenshots

  1. choosing "@web"
    grafik

  2. the resulting humans.txt
    grafik

Versions

  • Plugin version: 3.4.20
  • Craft version: Craft Pro 3.7.24
@hldrm hldrm added the bug label Feb 21, 2022
@hldrm
Copy link
Author

hldrm commented Feb 21, 2022

sorry, wrong repo. moved to nystudio107/craft-seomatic#1069

@hldrm hldrm closed this as completed Feb 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant