How to optimize website in cpanel hosting?

Techvila provides best and cheap web hosting with cpanel control panel in Bangladesh. Today we will learn how to speed up your website by optimizing in cpanel. This is very helpful for websites that run by CMS like wordpress.

This interface of cPanel helps you to enable gzip compression. Apache allows you to compress the data before sending it to the browser and then web browser extracts the data and displays the webpage. All modern browsers support gzip compression. This gzip compression needs Apache mod_deflate to function currently, which is available in most cPanel installed Linux servers. This compression is very useful, because it helps in compressing data hence our bandwidth is saved, plus it makes our website to load much faster.

You can compress specific types of MIME (Multipurpose Internet Mail Extensions) or you can compress all the files using this interface.

To enable gzip compression, follow these steps −

Step 1 − Open cPanel Optimize Website interface by clicking on Optimize Website link in the Software section of cPanel.

Optimize Website

Step 2 − In Optimize Website, you will see Compress Content.

cPanel Optimize Website

You can choose from the following −

  • Choose Disable to disable gzip compression.
  • Choose Compress All Content to enable gzip compression for all content.
  • Choose Specified MIME types and provide MIME types in text box. MIME type are similar to file types. It has both file type and file format information separated with a slash. E.g. text/javascript, text/css, image/jpg, image/png etc.

Step 3 − Click Update Settings to update the settings.

How to create redirect in cPanel hosting

Cpanel is the best web hosting control panel. Almost all shared hosting plan comes with cpanel. Cpanel has lots of cool feature, Today, we will discuss how to create redirect in cpanel.

The redirect interface allows you to send all the visitors or traffic of a Domain or a particular webpage to a new domain. For example, if you moved your website to a new domain and you want to redirect all your visitors to new website, you need to setup redirect. There are two types of redirects available −

Permanent (301) Redirect

This one redirects your visitors to a new website and updates your visitor’s bookmarks. This also directs search engines to your new website. This redirect is permeant and means that page has moved. So, the Search Engine and other crawlers update their data according to the new link. Popularity and SEO of link remains same as the old link had.

Temporary (302) Redirect

This one redirects your visitors to a new website, but does not update your visitor’s bookmark. Search Engines still index your original website. This redirect is temporary and search engine thinks that the new link is going to get removed, hence it does not have same popularity like the old link.

Create a Redirect

To create a redirect, please follow these steps −

Step 1 − Click on Redirects found in Domains section of cPanel Home.

cPanel Domains Section

Step 2 − Choose your redirect type from the Dropdown Menu, Permanent or Temporary Redirect.

Redirects

Step 3 − Choose the Domain Name you want to redirect from the Dropdown menu of lists of domain.

Step 4 − In the next textbox, enter the path of page or path of folder you want to redirect.

Step 5 − Enter full URL of the page your domain will be redirected to, in Redirect to textbox. You will also need to specify the protocol as well, http:// or https://.

Step 6 − Select www. redirection, it determines that if you want your domain to be redirected with www or not. Explanations of options given below.

  • Only redirect with www. − This redirect will be done only if user has entered www. in URL.
  • Redirect with or without www. − This redirect will always be done, does not depends on whether user has entered www. in URL or not.
  • Do not redirect www. − This redirect will not work, if the user has entered www. in URL.

Choose your option accordingly, recommended is that you use Redirect with or without www.

Step 7 − Select Wild Card Redirection checkbox, if you want to redirect all files and folders in sub folder to the same file or folder in new domain. For example, with wildcard redirection www.example.com/pic.jpg will redirect to www.new–example.com/pic.jpg. Without wildcard redirection www.example.com/pic.jpg will redirect to Select the checkbox accordingly.

Step 8 − Click on Add button to save the settings.

How to convert images in cpanel?

cPanel is a Linux-based web hosting control panel. It provides graphical user interface and is packed with lots of features that automates the process of hosting a website. It is a premium software, which is developed by a private company, cPanel Inc.

Techvila – best web design company in Bangladesh provides web hosting with cpanel. Today we will discuss how to convert image from one format to another using cpanel features.

Image converter can be used for converting image format of any image. It can convert from one supported type to any other supported type. To use Image converter, open the interface by clicking Converter link from Images section.

Step 1 − Navigate to the directories by clicking on folder icon on the left hand side, as we did above.

Step 2 − Select the File or Folder which you want to resize by clicking on the Name of File or Folder.

Note − Image Converter can be used with a single file or folder.

Step 3 − Select new file type from the prompt as shown below, which can be −

  • Portable Network Graphics (.PNG)
  • JPEG (.JPG)
  • GIF (.GIF)
  • Bitmap (.BMP)
Converter

Step 4 − Finally Click on Convert to convert the file type

How to Use Git Version Control in cPanel

cPanel is a web hosting control panel developed by cPanel, L.L.C., an American corporation. The software provides a graphical interface and automation tools designed to simplify the process of hosting a web site to the website owner or the “end user”. 

Do all of your Git stuff right from within your hosting account? Yes. With cPanel you can now host a private or public repository without paying premium costs to third party Git hosting services like GitHub or BitBucket.

While Git Version Control is available in all of our hosting accounts, we’d recommend a VPS or Dedicated hosting package, so you can exercise more control over individual shell user privileges. This is especially important if you plan on having other users access your Git repository.

How to Create a Git Repository with cPanel

If you’re creating a repository for the first time, you’ll be prompted to fill in the necessary fields right away. Otherwise, you’ll just need to click the blue Create button. These steps are detailed below:

  1. Log into cPanel
  2. Select Git Version Control under Files
  3. Click Create (if you haven’t created any repositories yet, you’ll be skipped ahead to the next step automatically)
  4. Toggle off the Clone a Repository button
  5. Fill in the file path to the new repository
  6. Provide a name for the repository as it will appear in your cPanel interface
  7. Click Create at the bottom

How to “Clone” a Git Repository in cPanel

Instead of creating your own Git repository, you can “clone” a repository that already exists out on the Web: for example, from the popular Git hosting site GitHub.

  1. Log into cPanel
  2. Select Git Version Control under Files
  3. Copy the clone URL into the Clone URL
  4. Fill in a file path for the repository (remember the cloned repository provides its own directory)
  5. Fill in a name for the repository as it will appear in your cPanel interface
  6. Click Create

Now you have successfully cloned a repository into your hosting account. This is a great way of cloning in a homepage you may have under version control at a different location or just a repository of various scripts or assets you may need for a project.

Why Create a Git Repository in cPanel

It’s true that you can launch your own repository wherever you have Git installed. However, cPanel makes the process much easier by creating the repository and the necessary executable files to save and launch your project right away.

Manage Projects With Ease

We’ve gone into some depth explaining how Git works in our Git tutorial series. But if you want a closer look to see how Git can work for you, you can now easily set up a Git repository with any of our cPanel hosting accounts.

Helpful Commands Delivered

cPanel gives you the essential commands you’ll need to get started the instant you’ve created your repository.

Let us Know What You Think

Have you been using Git for a long time, or you just getting started?

We’re excited that our hosting customers can now easily set up and use Git repositories from within cPanel. If you have troubles along the way, be sure to leave a comment and let us know.

Multi purpose website design in Bangladesh.

Design Name: VIP business

VIP Business is a free multipurpose WordPress Theme. This theme is made to suit all your needs for a multipurpose business theme. With this theme, you will be able to make multiple designs. The theme gives features like breadcrumbs, associates logo to highlight your partners, featured content to showcase your content, portfolio to highlight your works, promotional headline to use as a call to action button for better UI, slider to highlight your images, team to show who is really behind your company, testimonial to show a list of your satisfied client feedback and what we do section to highlight the services you provide. Give your site an awesome and modern look with unique header style. Use VIP Business Theme with endless design possibilities to enhance your business look. All this backed up by our Awesome Support Team, do not miss out on it. Visit https://fireflythemes.com/support for support, https://fireflythemes.com/documentation/vip-business for theme documentation and https://fireflythemes.com/demo/vip-business for demo.