Jump to content
[MUST READ] Forum Rules ×

Remove ?i=1 from your Domain


xpde

Recommended Posts

On 2/21/2018 at 2:09 AM, smail said:

maybe this code work: 


RewriteCond %{QUERY_STRING}  ^(.*)\?i=1$ [NC]
RewriteRule ^(.*)$ /$1?%1 [R=301, L]

Hi, it will not remove the /?i=1. It just hides the /?i=1

I wanted it to be removed because sometime i was redirected ?i=3 where i saw cookies page

Link to comment
Share on other sites

14 hours ago, Aqib said:

Oi, não irá remover o /? I = 1. Apenas esconde o /? I = 1

Eu queria que fosse removido porque em algum momento eu fui redirecionado? I = 3 onde eu vi a página de cookies

yes i already tested this is had spoken lower that this code does not work well

Link to comment
Share on other sites

On 2/26/2018 at 8:43 PM, PlanetCloud said:

Also GET parameter WILL BE REQUIRED for the new Project Logged 2.0 (Demo here : https://mofh.tariktunaikartukredit.cf/login.php)

  • advertise your project elsewhere
17 hours ago, Aqib said:

Yep, i am not going to use it.

  • Cool. That's a useless reply.
On 2/26/2018 at 8:42 PM, PlanetCloud said:

This might work but I do not recommend this as this is going to remove all GET parameter's too (which is important to me)

Link to comment
Share on other sites

  • 4 months later...

I remove it with javascript by applying this code on the page in the header or at the bottom of the page

<script type="text/javascript">
var searchWinHref = window.location.href;
   if(searchWinHref.indexOf("?i") > -1) { 
   window.location.href = window.location.href.split('?')[0];
   }
</script>

 

Link to comment
Share on other sites

  • 3 weeks later...
On 7/20/2018 at 3:25 PM, einet said:

I remove it with javascript by applying this code on the page in the header or at the bottom of the page

<script type="text/javascript">
var searchWinHref = window.location.href;
   if(searchWinHref.indexOf("?i") > -1) { 
   window.location.href = window.location.href.split('?')[0];
   }
</script>

 

I came back on the forums just to reply to this. Thanks for your answer, and I appreciate everything you do for the forums.

Link to comment
Share on other sites

  • 1 year later...
Guest
This topic is now closed to further replies.
×
×
  • Create New...