Log into the client area.
Click on menu Domains > Click on My Domains
Click on the button next to your domain that says Active
Click on Get EPP Code
You can reinstall your core files in the WordPress dashboard if you are still able to log in.
wp-cli is a command-line tool you can use to manage your WordPress site. The following example uses the –skip-content option to download WordPress without the default themes and plugins.
[chserver]$ cd /home/username/example.com
[chserver]$ wp core download --skip-content --force
One of the many functions you can perform via .htaccess is the 301 redirect, which permanently redirects an old URL to a new one. You can activate the feature to force HTTPS on all incoming traffic by following these steps:
RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Let’s say that you have two domains: http://yourdomain1.com and http://yourdomain2.com. Both domains access the same website, but you only want the first one to be redirected to the HTTPS version. In this case, you need to use the following code:
RewriteEngine On RewriteCond %{HTTP_HOST} ^yourdomain1.com [NC] RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
Make sure to replace yourdomain1 with the actual domain you’re trying to force HTTPS on.
Are you looking to build a website that is not only fast and secure but also optimized for better performance? You have come to the right place. There are several ways to achieve this, but one of the most important factors is choosing a powerful hosting service.
A good hosting service can make all the difference when it comes to website speed and security. It can also help you optimize your website for better performance. There are many hosting services available in the market, but it’s important to choose one that meets your requirements.
Some important factors to consider when choosing a hosting service are the server location, uptime, speed, security, customer support, and pricing. A hosting service that has servers located closer to your target audience will provide faster loading times.
Uptime is also a critical factor as it ensures that your website is always accessible to your visitors. Speed is equally important as it affects user experience and search engine rankings. A fast website is more likely to rank higher in search results, resulting in increased traffic and better engagement.
Security is a major concern for any website owner. A good hosting service should provide robust security features such as firewalls, DDoS protection, and SSL certificates to keep your website safe from threats.
Customer support is important in case you face any issues with your website or hosting service. A good hosting service should provide 24/7 support through multiple channels.
Lastly, pricing is a crucial factor to consider when choosing a hosting service. You should compare different hosting services and choose one that offers the best value for your budget.
By choosing a powerful hosting service and optimizing your website, you can ensure that your website is fast, secure, and performs well.
WHMCS has a free add-on that allows you to easily insert Google Analytics tracking code.
But if – for any reason – you need to use the original Google Analytics tracking code, you can do it by editing your (file locaion – templates/six/header.tpl) header.tpl file, and inserting (somewhere betweentags) Google Analytics tracking code:
{literal}
{/literal}
NOTE: take care to insert Smarty {literal}{/literal} tags, otherwise your site will probably crash!
WhatsApp link in HTML
<!-- link the following URL to the desired icon or button in your code: https://wa.me/PhoneNumber (see the example below) remember to include the country code --> <a href='https://wa.me/01745553313' target='_blank'><i class= "fa fa-whatsapp"></i></a>
WhatsApp Button in HTML
<a href="https://wa.me/+8801745553313" target='_blank' style="font-family: sans-serif;color: #fff;padding: 1em 2em 1em 3.5em;border-radius: 2em;font-weight: bold;background: #25d366 url('https://carrothost.com/wp-content/uploads/2021/09/whatsapp.svg') no-repeat 1.5em center;background-size: 1.6em;">+8801745-553313</a>
WhatsApp HTML Button Preview
First, you need to log in SSH or Putty to your server
then use command passwd to change the password. below example is changed the root password for a Centos:
[root @ VM ~]# passwd (Changing password for user root.)
New password: (You should type your new password here)
Retype new password: (You should retype your new password again)
[root @ VM ~]# all authentication tokens updated successfully. (Your password change successfully)
Creating a Minecraft server is easy. Login to your new CentOS 7 1GB RAM VPS Server at Vultr and install Java 1.6.0 Open JDK.
ssh [email protected]
[root@vultr ~]# yum install java-1.6.0-openjdk
<some output here>
Is this ok [y/N]: y
Open the Minecraft server port in firewalld
.
firewall-cmd --zone=public --permanent --add-port=25565/tcp
firewall-cmd --reload
Make a user run your Minecraft server under. This is for security purposes as it is not good practice to run a Minecraft server as root.
adduser mcuser
#set a secure password.
passwd mcpassword
#this allows you to run screen while su'd from root for the next step
chown mcserver `tty`
Now lets change users and install Minecraft! Change the wget
URL accordingly for newer versions of Minecraft.
su - mcuser
mkdir minecraft
cd minecraft
wget -O minecraft_server.jar https://launcher.mojang.com/v1/objects/1b557e7b033b583cd9f66746b7a9ab1ec1673ced/server.jar
chmod +x minecraft_server.jar
screen
echo "eula=true" > eula.txt
#start your Minecraft Server
java -Xmx5376M -Xms5376M -jar minecraft_server.jar nogui
Congratulations, your Minecraft server is now up and running on your high-performance SSD VPS server!
To install on a 768MB VPS follow the same commands above but change the last java command to:
java -Xmx3840M -Xms3840M -jar minecraft_server.jar nogui
If you require more players (and thus more RAM) you just launch a larger instance and then simply subtract 256M from the amount of RAM your instance has allocated. For example, a 4096 instance would launch with -XmX3840M -Xms3840M
.
#add user Type whitelist add “USERNAME”
You need to pass the following options:
rm -rf dir1
rm -rf /path/to/dir/
rm -rf /home/vivek/oldschoolpics/
rm filename OR unlink filename