Questions tagged as 'url'

1
answer

Friendly URL does not load content

Well, I'm here with a problem in the url friendly, I'm doing the routes through the file .htaccess and get the values by $_GET . Only when I enter the url the content is not loaded, always trying to load and nothing. htaccess fil...
asked by 10.02.2015 / 21:57
2
answers

How to redirect to a url using url parameters

I would like to get a url that is just after red= and redirect to it, if it is blank do not redirect. I've used window.location.replace("") just to test the code. Example where I want to get: red=http://www.google.com/ T...
asked by 27.07.2018 / 03:55
1
answer

Get json object inside another object of another object

I need to get the object online that is inside the "players" object but I can not get it ... I can only get objects that are "In the root" json where I need to get: { "status": true, "hostname": "skyminigames.com.br", "port": 25565...
asked by 03.05.2018 / 20:12
3
answers

What's wrong with this code js?

The first part of the code separates the URL into / This is the current URL    www.mydomain.com/category/action var url_atual = decodeURI(window.location.href); var replace_url = url_atual.replace('http://www.meudominio.com/', ''...
asked by 23.12.2016 / 14:10
1
answer

How do I get a parameter in a URL and assign it a new value?

Speaking of my problem, I wanted that when passing a URL with the code shown below, in the middle of the process a parameter was changed but specifically the parameter pagina that should go with value = 1 . // FILTROS $('#ordem')....
asked by 30.10.2014 / 15:27
1
answer

About URL as it is encoded and POST parameters

The URL is always encoded, how is the encoding done, what does it encode, and what importance or need to encode a url? I have a div, which is broken by lines and gets something printed like: 1 2 3 In HTML it gets: 1<br/&g...
asked by 26.03.2015 / 04:21
1
answer

Error fetching video by location on Youtube Api V3

I would like to know the URL error: link Whenever I put the latitude and longitude of the location I want, it gives the request error: 500 Internal Server Error { "error": { "code": 500, "message": null } }     
asked by 20.10.2014 / 21:58
1
answer

URL rewriting with "+" sign (same as Google+) .htaccess

I would like to write a rule in .htaccess with RewriteRule using the plus sign (+) for a url in the format similar to Google, like this: myite.com /+anything was interpreted myite.com /?track=search or mysite.com / a site was interpret...
asked by 09.11.2015 / 22:41
1
answer

Shorten Google Analytics tracking URL (variables only)

I would like to shorten a URL from my WordPress site as follows: www.meusite.com/?utm_source=FONTE&utm_medium=MEDIUM&utm_campaign=CAMPANHA for something like www.meusite.com/?urlencurtada Where ?urlencurtada will recei...
asked by 06.02.2016 / 04:23
1
answer

Iframe with my domain as source does not load. How to solve this?

I placed the% iframe% in an html file inside the domain itself and then put it inside another domain. The result is that my url does not load in any of the domains I've tested. Incidentally, the Google url also does not load ( <iframe s...
asked by 30.05.2015 / 15:18