Knowledge Base
How to Protect Your htaccess File
You can prevent unauthorized access to your htaccess file by adding this rule to the file: # .htaccess protection order allow, deny deny from all satisfy all
Related: htaccess
How to Redirect a Page to Another Page or Website Using htaccess
If a page on your website no longer exists and you want to redirect it to a new page or website, you can use the dot htaccess file to redirect visitors. Redirect from a page/directory to another domain or the main domain: Redirect from a specific page to a domain: RewriteEngine on Redirect 301 /mypage.html http://example.com Redirect from one page to another page: #Redirect from a page/directory to another page Redirect 301 /oldpage.html /newpage.html Whenever you open a URL such as example.com/oldpage.html, it will redirect you to example.com/newpage.html.
How to Log in to Plesk
A tutorial on how to access the Plesk Control Panel. After you place an order and make a successful payment, you will receive a welcome email containing login details. Permanent URL: https://$hostname.com:8443 (SSL Protected). http://$hostname.com:8880 (Non-SSL – Insecure). Login using the IP Address: https://$ip-here:8443 (SSL Protected Need Exception). After your domain is propagated, you can access it from your domain as follows: https://example.com:8443. Please, check your Welcome email in case the URL does not open on port 8443. How to log in to Plesk? Open your Plesk Login URL. Enter your credentials and click on Log in. If your login details are correct, you will have successfully logged in to your Plesk account. Note: If you recently modified your domain’s DNS, the domain propagation can take up to 24 hours.
What is Softaculous
Softaculous is an Auto-Installer that allows the automated installation of a script through a single click. Softaculous maintains various popular scripts and also allows you to automatically upgrade the web application without any hassle. You can Install WordPress, Joomla, Drupal, MyBB Forum, SMF, Mambo, and many other scripts via the Softaculous Auto-Script Installer. You can automatically install scripts, take a backup of script, restore a backup, uninstall software, etc., with a single click or use the automatic backup creation feature.
Related: scripts, softaculous
PHP Error: Allowed Memory Size of x Bytes Exhausted
If you are getting an error such as “Allowed memory size of… in file /directory/folder/yourscript.php“, you can use an htaccess file to resolve this problem. If the error does not go away even after applying the htaccess code, you should contact us. We will do our best to help you. Place this code in the dot htaccess file of your primary domain. If the error persists after using the code, enter it in the directory where you are receiving the error, such as example.com/directory/folder/.htaccess. Add this code to your htaccess file: RLimitMem max