Hide url parameter

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
User avatar
amir2314
 
 
Posts: 321
Joined: Wed Aug 02, 2017 12:16 pm

Hide url parameter

Post by amir2314 »

Hi dear pablo.
.
I used link prameter for some of my links
.
For example : 👇
Home.php?Agdjdkd=true
.
But i wanna to hide the 👉 ?Agdjdkd=true after .php in the browser
.
How can i do it ?
User avatar
Pablo
 
Posts: 22472
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Hide url parameter

Post by Pablo »

I don't think you can hide parameters, because how else will the browser know what the parameters are?
User avatar
amir2314
 
 
Posts: 321
Joined: Wed Aug 02, 2017 12:16 pm

Re: Hide url parameter

Post by amir2314 »

Pablo wrote: Sun Jun 18, 2023 9:25 am I don't think you can hide parameters, because how else will the browser know what the parameters are?
I read a article called hiatory replace javascript .
But i cant undrestand how can i implent it with custome html
wwonderfull
 
 
Posts: 1439
Joined: Fri Aug 21, 2020 8:27 am
Contact:

Re: Hide url parameter

Post by wwonderfull »

amir2314 wrote: Sun Jun 18, 2023 9:55 am
Pablo wrote: Sun Jun 18, 2023 9:25 am I don't think you can hide parameters, because how else will the browser know what the parameters are?
I read a article called hiatory replace javascript .
But i cant undrestand how can i implent it with custome html
can you give the link where you read it from. I think it can be only done using htaccess.
User avatar
amir2314
 
 
Posts: 321
Joined: Wed Aug 02, 2017 12:16 pm

Re: Hide url parameter

Post by amir2314 »

wwonderfull wrote: Sun Jun 18, 2023 10:33 am
amir2314 wrote: Sun Jun 18, 2023 9:55 am
Pablo wrote: Sun Jun 18, 2023 9:25 am I don't think you can hide parameters, because how else will the browser know what the parameters are?
I read a article called hiatory replace javascript .
But i cant undrestand how can i implent it with custome html
can you give the link where you read it from. I think it can be only done using htaccess.
Hi man . Here is the link
.
https://gist.github.com/ScottKaye/5158488
wwonderfull
 
 
Posts: 1439
Joined: Fri Aug 21, 2020 8:27 am
Contact:

Re: Hide url parameter

Post by wwonderfull »

Hi man . Here is the link
https://gist.github.com/ScottKaye/5158488
I am not fully sure but try this in htaccess and let me know if it worked

Code: Select all

RewriteEngine On
RewriteCond %{QUERY_STRING} ^Agdjdkd=true$
RewriteRule ^(.*)$ /$1? [L,R=301]
Post Reply