Don't you know why I have in the url " ?" Thank you
Author: Bedřich H.
Visited 830,
Followers 1,
Shared 0
don't you know why I have in the url " ? " Thank you
https://2din-radio.cz/product/?2din-android-android-volkswagen-golf
Posted on the
Google tranlator:
Hi Bedrich H.
They are called special characters (called escape characters).
URLs cannot contain spaces. If you assign a url with a space, the browser will automatically add %20 to fill the space.
In this case the special or escape character "?" it means that from there the direction will change. What precedes that character is identical for the entire "block" in this case of the products. (see images)
In the first image, we assign the product name according to our language, including space.
As I mentioned above. The URL must not contain spaces, and in this case, website fills the space with the hyphen -
This prevents browsers from padding with %20, which gets confused if a number goes in any direction.
As you can see in image 2. The URL is divided into two, the first part with the identical address for the same related products. separated by the escape character ?
after this character we can change it for something much better in sight or that does not generate confusion.
In the highlighted line of Tag Title it is as it is in our language with spaces, but the URL is already with the rules established so that there are no spaces.
Here With another product... the first part of the URL is identical, and after the escape character ? we can modify with something that allows us to better read said url.
The same happens with the url of the blog that adds the ?
I hope that I have made myself understood, and that the translator does his job well.
Greetings. :)
Author
Thank you very much for the explanation and willingness, but what is the solution to put there "?" was not. I have no ideas.
Hello Guys,
Maybe, WSX5 needs to use this format to pass some parameters into a $_GET variable into the URL. It is a method to retrieve some variable from the URL
https://mydomain.com/demo.php?DEMO=123
In this example the demo.php file retrieves the value of the DEMO variable passed into the $_GET which is this method to pass parameter into an URL.
and here
https://mydomain.com/demo.php?DEMO=123&OTHERDEMO=abcde
here the demo.php retrieves the value of DEMO and the value of OTHERDEMO passed via $GET method
Infos:
https://stackoverflow.com/questions/514892/how-to-make-an-http-get-request-with-parameters
Hope this helps
Enjoy!
Axel