- Plesk Onyx for Windows
- The following error occurs on attempt to set error document via Domains > example.com > Virtual Directories > Error Documents:
PLESK_ERROR: Error: Wrong URL format. Please enter an absolute URL within the virtual host (site).
- Path to the file of the error document or the URL is replaced with ISO Country Codes like US or RU.
- There is a cookie called 'location' that is loaded from the browser's settings:
Plesk bug #PPPM-9685: "Extra cookie named 'location' overrides 'location' in the error document" that is planned to be fixed in future product updates.
Until a fix becomes available, use 'incognito' mode in the browser or remove 'location' cookie from the browser as described on the following link for example: How to Remove Specific Site Cookies in Google Chrome
As an alternative, set error documents using Configuring custom HTML error pages using default Plesk documents section of the following article: How to enable custom error pages for a domain in Plesk