How to redirect your website?

Hello Friends!!!

There may be several reasons to redirect a URL and a few basic ways to do it. Now come let us know

How to redirect a website? [Important| Revised May 2019]

3 ways to Redirect your Website [Updated May 2019]

1. Coding  .htaccess file [Redirect 301]
 Type in the code. Paste the following code into the .htaccess text file:

redirect 301 / http://www.newURL.com

Let’s take an example if i want to redirect my website to Skillvent.com then what code would i write.

Just check the screenshot below

How to redirect a website
How to redirect a website

Now Test the redirect. Open a new private browsing window and type the old domain name into your web browser. If you’ve done everything correctly it will redirect to the new site.

2.  Redirect via cPanel

Go to https://yourdomain.com/cpanel

Scroll down to Domains Section and Click on Redirects Feature

How to redirect a website
How to redirect a website

Now fill the in the Fields listed in the page

cheapest linux hosting provider
How to redirect a website

This process is only if you want to redirect your whole website to some other domain. In case if you want to redirect any particular path of domain then you must choose Wild Card redirect option. Wild Card redirect is used to redirect all files within a directory to the same filename in the redirected directory.

3. Using Meta command

 <head>
      <meta http-equiv = “refresh” content = “0; url = https://newURL.com” />
   </head>
How to redirect a website
How to redirect a website

Hope this answer helped you.. for more queries and suggestions feel free to write and comment below.