Hello.
I have set up my VPS with CyberPanel, and it uses OpenLiteSpeed.
I have then installed Cmsms to be my "cms" solution, just like WordPress.
But I'm facing an issue where pages that do not exist, show a blank page with the code 200.
Saying that the page works fine.
But in reality, it would have shown 404.
I have the 403 workings fine on the cms, but
https://newstargeted.com/index.php/news-targeted-bot-test
By editing the ID from 212 to 112 it should have shown 404, but it shows a blank page instead.
The cmsms team has said that it should work.
I have run my site on Litespeed before, and it was working there. (I have re-written the htaccess after the change)
I have included the htaccess as a file also.
Works:
https://newstargeted.com/index.php/news/1963/212/Download-Windows-11-here/d,MarqueeNewsDetail
Broken:
https://newstargeted.com/index.php/news/1963/112/Download-Windows-11-here/d,MarqueeNewsDetail
Below are my custom error pages.
The two first are from the cms.
The last one is a standalone file.
404 Not Found https://newstargeted.com/error404
403 Forbidden https://newstargeted.com/error403
500 Internal Server Error https://newstargeted.com/503.shtml
I have set up my VPS with CyberPanel, and it uses OpenLiteSpeed.
I have then installed Cmsms to be my "cms" solution, just like WordPress.
But I'm facing an issue where pages that do not exist, show a blank page with the code 200.
Saying that the page works fine.
But in reality, it would have shown 404.
I have the 403 workings fine on the cms, but
https://newstargeted.com/index.php/news-targeted-bot-test
By editing the ID from 212 to 112 it should have shown 404, but it shows a blank page instead.
The cmsms team has said that it should work.
I have run my site on Litespeed before, and it was working there. (I have re-written the htaccess after the change)
I have included the htaccess as a file also.
Works:
https://newstargeted.com/index.php/news/1963/212/Download-Windows-11-here/d,MarqueeNewsDetail
Broken:
https://newstargeted.com/index.php/news/1963/112/Download-Windows-11-here/d,MarqueeNewsDetail
Below are my custom error pages.
The two first are from the cms.
The last one is a standalone file.
404 Not Found https://newstargeted.com/error404
403 Forbidden https://newstargeted.com/error403
500 Internal Server Error https://newstargeted.com/503.shtml
Attachments
-
1.9 KB Views: 2