Skip to content

[BUG] New Sharelinks don't work becaus of "/de/s/" in URL #257

@wellemut

Description

@wellemut

Problem

@navid-kalaei the new links like https://www.kartevonmorgen.org/de/s/main?c=50.8260%2C5.6030&z=6.00 don't work.
I think because of the new URL format /de/s/ @alex0107 which Wordpress does not know how to handle.

To Reproduce

Steps to reproduce the behavior:

  1. Go to the map
  2. Click on the share-button on the buttom right corner and "copy" the link
  3. Paste the link in any browser and go
  4. See error " Keine Ergebnisse gefunden Die angefragte Seite konnte nicht gefunden werden. Verfeinern Sie Ihre Suche oder verwenden Sie die Navigation oben, um den Beitrag zu finden."
Image

Even in the dev-environment its not working anymore: https://dev.kartevonmorgen.org/de/s/main?c=50.8129%2C5.6030&z=6.00&mapColorMode=gray

Expected behavior

The map should replace the part "/de/s/" by "/m/" which would than lead to the intended mapview.
@alex0107 can you make wordpress redirect all such domains to the map?

Additional context
We have a similar issues with the lanugage URL-Attributes

Metadata

Metadata

Labels

0 bugSomething isn't working

Type

Projects

Status

New Issues

Status

To triage

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions