xpde Posted January 16, 2018 Share Posted January 16, 2018 Want to remove that pesky parameter from your domain? Well, now you can! With the simple help of .htaccess, you can have your pure domain back! Just follow these few steps. Connect to your Webserver via File Transfer Protocol (FTP) Go into your sites primary directory Modify, or Create the .htaccess file Use this code snippet and Save the file RewriteEngine On RewriteCond %{QUERY_STRING} . RewriteRule ^([^.]*)$ /$1? [L,NE,R=301] Vwolla! That harmless parameter is not to be seen anywhere. Quote Note: This method will erase all GET parameters. In case you want to install plugins or scripts, to your website, and they will not work, I recommend removing the content (Code Snippet) from your .htaccess document. Link to comment Share on other sites More sharing options...
xpde Posted January 17, 2018 Author Share Posted January 17, 2018 (edited) 18 hours ago, PlanetCloud said: Do you mean I cant use Wordpress with this? And does the bot verification will still works? 1. Any script using GET parameters will disable certain features of scripts, determined by the function of the scripts. You can try using Wordpress. If there are any errors or bugs, troubleshoot the situation and remove the snippet from the .htaccess - if you believe it's the case. 2. It doesn't necessarily matter. You can easily add your own human verification. Takes at least 2-3 minutes of your time. Edited January 17, 2018 by xpde Answered 2nd question Link to comment Share on other sites More sharing options...
Pickelo Posted January 17, 2018 Share Posted January 17, 2018 Vielen Dank! Das hat sehr geholfen Link to comment Share on other sites More sharing options...
xpde Posted January 17, 2018 Author Share Posted January 17, 2018 1 minute ago, Pickelo said: Vielen Dank! Das hat sehr geholfen Gern geschehen, Kamerad - Bitte sprechen Sie Englisch hier lol Link to comment Share on other sites More sharing options...
Pickelo Posted January 17, 2018 Share Posted January 17, 2018 Just now, xpde said: Gern geschehen, Kamerad - Bitte sprechen Sie Englisch hier lol My apologies. Link to comment Share on other sites More sharing options...
DispeHost2018 Posted January 19, 2018 Share Posted January 19, 2018 Good idea. Link to comment Share on other sites More sharing options...
xpde Posted January 20, 2018 Author Share Posted January 20, 2018 20 hours ago, DispeHost2018 said: Good idea. Thanks, mate <3 Link to comment Share on other sites More sharing options...
Tidal Posted January 20, 2018 Share Posted January 20, 2018 Didn't even think about using .htaccess , thanks! Link to comment Share on other sites More sharing options...
cloudHost Posted January 25, 2018 Share Posted January 25, 2018 Thnk you <3 Link to comment Share on other sites More sharing options...
xpde Posted January 25, 2018 Author Share Posted January 25, 2018 1 minute ago, cloudHost said: Thnk you <3 You're very welcome, Tyler. I am resetting the community database because I have to organize the topics/categories/subs Link to comment Share on other sites More sharing options...
cloudHost Posted January 25, 2018 Share Posted January 25, 2018 Willn't resetting it delete everyone's accounts on web host? Link to comment Share on other sites More sharing options...
xpde Posted January 25, 2018 Author Share Posted January 25, 2018 Just now, cloudHost said: Willn't resetting it delete everyone's accounts on web host? Well, web host accounts will not delete, but the forum's data will. As in all the users in my community will no longer have topics they've previously created. I already have everything set up for that in my documents. Text me over Discord for more information -.- Link to comment Share on other sites More sharing options...
cloudHost Posted January 25, 2018 Share Posted January 25, 2018 oh hsit, sorry. Link to comment Share on other sites More sharing options...
Merc Posted January 27, 2018 Share Posted January 27, 2018 once Again man, thanks Link to comment Share on other sites More sharing options...
index Posted January 27, 2018 Share Posted January 27, 2018 Большое спасибо!!! Link to comment Share on other sites More sharing options...
xpde Posted January 27, 2018 Author Share Posted January 27, 2018 23 minutes ago, index said: Большое спасибо!!! Anytime comerade. Link to comment Share on other sites More sharing options...
smail Posted January 31, 2018 Share Posted January 31, 2018 I tested it and it works perfect this and do some with my forum when marco www. he did not open my mother's forum this mistake www.xxx.xxx uses an unsupported protocol. ERR_SSL_VERSION_OR_CIPHER_MISMATCH but that may also be something with cloudflare too without www. works perfect Link to comment Share on other sites More sharing options...
xpde Posted January 31, 2018 Author Share Posted January 31, 2018 ERR_SSL_VERSION_OR_CIPHER_MISMATCH - This error is obtained through your Secure Socket Layer (SSL), I don't believe it has anything to do with the code inputted into your .htaccess. For more information, check this Medium Post Link to comment Share on other sites More sharing options...
smail Posted January 31, 2018 Share Posted January 31, 2018 I also do not but after inserting .htaccess. www. stopped working Link to comment Share on other sites More sharing options...
smail Posted January 31, 2018 Share Posted January 31, 2018 but it's funny because the site works well with www. but forum may not need to activate www. The forum hmmm lol Link to comment Share on other sites More sharing options...
DispeHost2018 Posted February 6, 2018 Share Posted February 6, 2018 On 20/01/2018 at 4:36 PM, xpde said: Thanks, mate <3 No problem. Link to comment Share on other sites More sharing options...
smail Posted February 20, 2018 Share Posted February 20, 2018 is working or redirect 1, 2,3 Link to comment Share on other sites More sharing options...
smail Posted February 20, 2018 Share Posted February 20, 2018 I'll be very clear about this code with cloudflare works without cloudflare does not work yet I did not realize why Link to comment Share on other sites More sharing options...
smail Posted February 20, 2018 Share Posted February 20, 2018 maybe this code work: RewriteCond %{QUERY_STRING} ^(.*)\?i=1$ [NC] RewriteRule ^(.*)$ /$1?%1 [R=301, L] Link to comment Share on other sites More sharing options...
smail Posted February 20, 2018 Share Posted February 20, 2018 11 minutes ago, smail said: maybe this code work: RewriteCond %{QUERY_STRING} ^(.*)\?i=1$ [NC] RewriteRule ^(.*)$ /$1?%1 [R=301, L] also does not work from error 500 Link to comment Share on other sites More sharing options...
Recommended Posts