nystudio107/seomatic

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

Closed this issue · 1 comments

hldrm commented

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 commented

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