How to Remove i=1 from the WordPress Website

When I host my website from infinity free.com and install WordPress in my website then I face a problem like this:

http://sikhisikhai.infinityfreeapp.com/?i=1

In this website url end, you will see ?i=1

Now I will show how to remove this ?i=1

Step__1

  • login to your hosting panel and go to the website file directory

  • here you will see .htaccess file and open this and in this file all of code leter of end of the page type this code:

  •     # Place this code in your .htaccess file of WordPress Hosting  
        RewriteEngine On 
        RewriteCond %{QUERY_STRING} ^(.*)i=[^&]+(.*)$ [NC] 
        RewriteRule ^(.*)$ /$1?%1%2 [R=301,L]
    

Step__2:

  • Save the file

Step__3

  • Reload your website again.

I hope at this time your website problem if fixed.

Thank you