• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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