This article details how to fix a malfunctioning "Site Preview" button. Sometimes, there are problems with it, and you end up seeing a Error 404 (Page not found). In this case, you may do the following to resolve this issue. Please note, that this is a fix via Shell, and that you should know a little about shell before you venture into it. # vi /usr/local/psa/admin/conf/httpsd.conf RewriteEngine On # /etc/init.d/psa restart Well done, that should have resolved the Site Preview problem that you may have experienced.
The Plesk control panel has a function to preview the site URL, before you change your DNS to the server (it's a useful tool from time to time).
To get to the preview tool, you would normally do:
Here is the fix:
RewriteCond %{REQUEST_URI} ^/sitepreview/(.{0,})$
RewriteRule ^/sitepreview/(.{0,})$ /sitepreview.php?$1 [L]
- 0 Els usuaris han Trobat Això Útil
Articles Relacionats
Powered by WHMCompleteSolution