Laravel Website: Redirecting /public Folder to Main Domain Using .htaccess

Laravel Website: Redirecting /public Folder to Main Domain Using .htaccess

When you deploy a Laravel application, you'll typically find that the entry point of your website is the public directory, which contains the index.php file. This setup is essential for security reasons, as it keeps your application's core files out of the public HTTP directory. However, when your users visit your website, you might not want the /public segment to appear in the URL. Redirecting traffic from the main domain to the /public directory using .htaccess can create a cleaner, more professional appearance for your Laravel website. In this blog post, we’ll go through how to set up such a redirection.Why Redirect the /public Folder?The primary reason to redirect the /public folder to the main domain is to simplify the URL that your users see. Instead of accessing your websit...
How to Reset WordPress Admin Password (3 ways)?

How to Reset WordPress Admin Password (3 ways)?

WordPress is a widely used content management system that powers millions of websites around the world. As an administrator of a WordPress site, it is important to ensure that your login credentials are secure and up-to-date. In this blog, we will provide step-by-step instructions on How to Reset WordPress Admin Password.However, there may be instances where you forget your password or need to reset it for security reasons. In this case, it is essential to know How to Reset WordPress Admin Password to regain access to your site.Methods to Reset WordPress Admin PasswordMethod 1: Using WordPress Login ScreenYou can use this method when you completely forget your password and have no other option to access the WordPress admin page. Here are the steps to follow to Reset WordP...

Auto SSL Let’s Encrypt Install Error: Failed to Load Information

Let's Encrypt is popular free SSL which can be used on cPanel/WHM as an AutoSSL provider. While installing it on cPanel you might encounter an error "A warning occurred while processing this directive - Failed to load information for the AutoSSL module “LetsEncrypt” ".Failed to load information for the AutoSSL module “LetsEncrypt”: Couldn't open /root/.cpanel/letsencrypt_tos_cache: No such file or directory at /var/cpanel/perl/Cpanel/SSL/Auto/Provider/LetsEncrypt/ToSCache.pm line 114. at /usr/local/cpanel/Cpanel/SSL/Auto.pm line 97. Cpanel::SSL::Auto::__ANON__(__CPANEL_HIDDEN__...) called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/Try/Tiny.pm line 121 Try::Tiny::try(CODE(0x1ec8ec8), Try::Tiny::Catch=REF(0x1d75d30)) called at /usr/local/cpanel/Cpanel/SSL/Auto.p...

Fix: npm Command not found in cPanel

On our business hosting with cPanel you are able to deploy Nodejs and Python core apps via cloudlinux application manage. In this article you will be able learn how to fix: npm command not found issue while executing command in cPanel terminal or shell.This generally happens when you are not running command in node project. Therefore to fix the issue follow the below steps.Login to cPanel and navigate to Nodejs application tab. Now click on "Edit" on the application and copy the path to the application's virtual environment by clicking on it. Now go to terminal or shell and paste the code, and then run the commands.Now you will be able to fix the issue with npm: command not found. We provide Nodejs and Python hosting on our business plan with faster speed in many location. Ch...
How to Fix Your Connection to The Site is Not Fully Secure?

How to Fix Your Connection to The Site is Not Fully Secure?

SSL Certificate is now basic for all website. Google Chrome and few other browser show "Not Secure" when you browse website without SSL Certificate installed on it. Even if you have installed SSL certificate you might receive not secure warning "Your Connection to The Site is Not Fully Secure" which means your website or particular page is showing mixed content to to the user. Mixed contains occurs when your a webpage show both HTTPS(Secured) and HTTP(Non Secure) content over SSL to the browser.To fix the issue " Your Connection to The Site is Not Fully Secure " you need to identify the non secure link on your website code. To identify the non secure content simply view the page source of website and look for non secure link (HTTP). After you have identified the non secure link you need ...
How to enable Free SSL on Plesk Onyx Hosting?

How to enable Free SSL on Plesk Onyx Hosting?

You can enable FREE SSL on Plesk Onyx Hosting without any hassle. By enabling SSL on your website, your domain will be able to resolve with “HTTPS” instead of “HTTP” in the browser. Enabling SSL on your hosting will ultimately show your visitor that the website is secure. Step 1: Login to Plesk Onyx Panel. Step 2: Navigate to Hosting Setting.Step 3: On the Hosting Settings page, make sure that SSL/TLS support is enabled. Use tick mark to enable it.Step 4: Go back to domain's dashboard. Click Let's Encrypt.Step 5: Select required options. We recommend to select: Include the "www" subdomain for the domain and each selected alias Secure webmail on this domain (https://webmail.example.com)Step 6: Click Install. At this stage, an SSL certificate from Let’s Encrypt is generated and set t...
How to Fix Deceptive Site Ahead Warning

How to Fix Deceptive Site Ahead Warning

You receive Deceptive Site Ahead Warning when your website has malicious or suspicious content. In this post I will help you to fix the issueDeceptive site aheadAttackers on yourwebsite.com may trick you into doing something dangerous like installing software or revealing your personal information (for example, passwords, phone numbers, or credit cards).This happens due to various reason, most of the time cracked/nulled themes or plugins leads to this situation. Even when you place unwanted advertisement on your website then Google safe browsing (Chrome and Firefox) displays this big RED deceptive site ahead warning.Follow these steps to Fix Deceptive Site Ahead WarningClean your website by removing nulled themes/plugins, low quality advertisement. Also verify y...
How to enable Free SSL for Linux Hosting / Cloud Hosting?

How to enable Free SSL for Linux Hosting / Cloud Hosting?

You can enable eHostingServer's FREE SSL very quick and easy. By enabling SSL on your website, your domain will be able to resolve with "HTTPS" instead of "HTTP" in the browser. This will ultimately show user, that your website is secure. In this post we will guide you to enable FREE SSL for linux hosting or cloud hosting. Please follow the below steps properly. Step 1: Login to cPanel Step 2: Navigate to the SSL/TLS status page under Security section Step 3: Select the domain and click Run Auto SSL Make sure you do not run Auto SSL if you have recently modified DNS records or Name Servers records. Our server will automatically install SSL for your domain in next cron. If you see the below icon besides your domain name then FREE SSL has already been issued for your domain. Ater this you wi...
How to Redirect HTTP to HTTPS

How to Redirect HTTP to HTTPS

Google Chrome and Mozilla Firefox have started showing insecure warning on the website which do not have an SSL Certificate. Without SSL your website will show insecure sign to visitors. Our Web Hosting plan also include a FREE SSL certificate. FREE SSL is included on all plans like, Cloud Hosting, Reseller Hosting, Windows Hosting etc.,. After you have installed SSL Certificate on your web hosting, it is necessary to redirect all your web traffic from HTTP to HTTPS. It is very simple to Redirect HTTP to HTTPS using .htaccess file. It is also very important to Redirect HTTP to HTTPS for SEO factor. IF you redirect your HTTP to HTTPS then you Google indexed file will be changed automatically. To redirect HTTP to HTTPS you need to edit the codes in .htaccess file. Here i will show you how t...
Fix: This site can’t be reached

Fix: This site can’t be reached

Your DNS cache stores the IP addresses (Locations) of web servers which you have recently visited or viewed. You might see error like "This site can't be reached". This generally happens due to IP change or your IP blacklisted by the server firewall. IP change is most common issue and IP blacklisted is due to unusual activity from user end. In this post we will discuss about this issue.How to clear your DNS cache A. MacOS To clean your DNS if you are using MacOS, then perform below steps. 1. Click Applications. 2. Click Utilities 3. Click Terminal 4. Run the below command sudo killall -HUP mDNSResponderB. Windows 1. Click on start 2. Right-click Command Prompt and select Run as Administrator. 3. Run the below command ipconfig /flushdnsIf the above process do not work for your websit...