• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Question How to change the 403 screen when a WordPress page is detached?

dxpg

New Pleskian
Server operating system version
CentOS Linux 7.9.2009
Plesk version and microupdate number
18.0.57
Hey guys, Happy New Year etc!

So I have a question about redirecting or changing the 403 page you see when people visit a page that no longer has a WordPress Instance attached to it...

I know, I can hear you ask: Why not install a WordPress instance? Well because the guy that had the page never built the website and he decided he just wants to have a mailbox. Which is fine. I left the WordPress instance on but it was becoming a security risk. So I have removed it and now I have a 403 Forbidden screen.

Don't get me wrong, if there is no way then so be it. But if I could change it a little that would be nice.

Thanks in advance!
 
The 403 is caused by a missing index permission for directories that do not have an index file. You can simply create an index.html or index.php file in the document root directory. It does not need to have any content. This will result in displaying a blank page.
 
Oh I will try that. And now that I have you here. Is there any way to add text to the page as well? In any case, thank you very much!
 
Is there any way to add text to the page as well?
Sure, it's just a normal HTML page (or PHP page). You can head a <head>...</head> and a <body>...</body> block or use an index.php an put your script into it that does something when the URL is opened.
 
Back
Top