• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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