Issue Bug Closed

#83973Unable to preview pages on backend domain for multi-site domains (returns 404 code)

Linus Stubert 02/20/18, 11:30 updated 03/05/20, 23:47

Description

On multi-domain sites, if I set TCEMAIN.previewDomain to the backend domain and there is no domain record for the backend domain present in the site root of the selected page, I receive a 404 code when I try to preview the page (I would like to use the same backend domain across all sites, so that I am able to preview any hidden page as long as I have the necessary permissions).

I am also unable to add a domain record for my single backend domain to each of the sites, as the domain names have to be unique to a specific domain record.

The reason I do not want to preview the pages on their “actual domains” is because on domains different from the backend domain the browser is not able to access the backend session information (due to same-origin policy) and therefore I am unable to preview hidden pages this way.

I am not sure if this behaviour is a bug or by design, however it makes handling multi-domain sites very troublesome, as I have to log in for each of the domains to preview hidden pages, even if I have full admin permissions in the backend. Or am I missing some trivial solution to my problem?

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.