Most voted "url" questions
Uniform Resource Locator (URL) is a uniform resource identifier (URI) that specifies where an identified resource is available and the mechanism to retrieve it.
Learn more…341 questions
Sort by count of
-
3
votes1
answer4581
viewsHow to open external URL in modal bootstrap?
I already use the modal bootstrap and it worked very well for the content I tested. But I can’t find anything that explains how to open an external page in a modal on the site. Does anyone know how…
-
3
votes1
answer306
viewsProblems when defining url string whose query string parameter contains the dollar ($) character
I am using a WS API in JSON that the URL is https://api.movidesk.com/public/v1/persons?token=52ee6ca5-8639-422b-bafe-470013c11176&$filter=profileType eq 2 which is the example in which the API…
-
3
votes1
answer2482
viewsLaravel: route with parameters
I have a school system with a call screen where there is a button that opens a modal with a form to choose the class and the date (chamadas/index). This form will redirect to a screen with the list…
-
3
votes4
answers318
viewsHow to get the last segment of the path?
URLs de exemplo: content/edit content/edit/ content/edit?q= content/edit/?q= I tried to make the code but it always fails when the url does not have "/" or "?" and if there is "/?" at the end. The…
-
3
votes1
answer345
viewsRequest field fill in url
Good afternoon... I need your help. I have a page in html+php which is basically a field that queries a mysql database with ajax and returns the result as soon as the field is filled with the…
-
3
votes2
answers2411
viewsHow to find source URL
I need a function that shows me the visitor’s origin url of my page. I have tried $_SERVER['HTTP_REFERER'], but it only seems to work when the source comes from a clicked link. Currently I work with…
-
3
votes0
answers150
viewsGet domain with PHP using parse_url
I need to check if the page accessed is in the domain .com.br or .fr. I thought I’d use the function parse_url but I did not succeed, how to take only the part .com.br or .fr. For example if the…
-
3
votes1
answer673
viewsHow to hide.php displays from link (friendly url)
All right? Please, I need help... Currently, my site presents links as follows: https://site.com/pagina/noticia/2019/ciencia-e-saude/exibe.php?link=página-do-leitor-é-maneira In the…
-
3
votes2
answers128
viewsRules and Exceptions in htaccess
I’m having a hard time setting up some route rules in my .htaccess, I originally have the following (I accept suggestions for improvements): RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f…
-
2
votes1
answer270
viewsHow to download multiple urls in R?
I need to extract several text files that are organized in annual folders at the following url: http://www.rsssfbrasil.com/tablesae/ How do I extract multiple folders at once? For example, if I want…
-
2
votes1
answer1368
viewsHow to change URL value, with information retained in Select/Option
I use this because I am developing an E-commercer system, the more the customer wants the products to be in Combobox with Select. So far everything is correct, my difficulty is in changing the URL,…
-
2
votes2
answers2134
viewsCapture data after character # in browser URL
I have the following URL http://urldosite.u/home#6 that when I move to a variable, it simply cancels out everything after the #. And I really want to pick up just what this after this and this…
-
2
votes1
answer125
viewsError fetching video by location in Youtube Api V3
I wonder what the URL error is: https://developers.google.com/apis-explorer/#s/youtube/v3/youtube.search.list?…
-
2
votes1
answer215
views.htaccess - rewriting non-user-friendly URL
When I make the requisition : http://localhost/project/mycontroller/ the URL rewrites to http://localhost/project/mycontroller/?l=mycontroller That is, beyond the /mycontroller o . htaccess (I…
-
2
votes2
answers1135
viewsHow to publish a project in ASP.NET MVC at a specific URL
So I’m in a situation I don’t know how and I don’t even know if it’s possible to do. I have a website in ASP.NET MVC, let’s call it sitedokelvin.com.br, this site is an Asp.net mvc project. And I…
-
2
votes1
answer2160
viewsHow to take 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 below demonstrated, in the middle of the process a parameter was exchanged but specifically the parameter pagina that must go…
-
2
votes1
answer175
viewsFriendly URL does not load content
Well, I’m here with a friendly url problem, I’m doing the routes through the file .htaccess and take the values by $_GET.Only when I enter the url the content is not loaded, the page is always…
-
2
votes1
answer289
viewsAbout the URL how it is encoded and POST parameters
The URL is always encoded, as is the encoding, what it encodes, and what importance or need to encode a url? I have a div, who’s got line breaks and gets something printed like: 1 2 3 in HTML gets:…
-
2
votes1
answer337
viewsURL Friendly by title
Good night people, I am here implementing the URL friendly system on a website and I have already working for some pages, I am now locked in the ver_establishment file that and what shows the…
-
2
votes1
answer113
viewsHow to use different Urls and get information from them
I have a database with the following ID Nome 1 A 2 B 3 C I wish that when accessing www.example.com/perfil.php take all information and print on screen, but when accessing www.example.com/2/B or…
-
2
votes1
answer1503
viewsIframe with my domain as source does not load. How to resolve this?
I put the iframe <iframe src="http://axitech.com.br"></iframe> in an html file within the domain itself and then put inside another domain. The result is that my url does not click on…
-
2
votes2
answers303
viewsHow to resolve ASP.NET MVC URL ID?
The system URL is in format http://localhost:52962/Funcionario/Edit?ID_FUNCIONARIO=7 This in my case is a problem, because if the user changes this 7 to 11 for example, he will get employee 11(which…
-
2
votes1
answer155
viewstransform Query String url to a Readable url for the user
I ever noticed that it was possible to turn a query string into something more readable for the user, like this: real url: site.com/roupas?categoria=vestidos for this (what the user sees)…
-
2
votes1
answer1042
viewsReceive URL parameters by JS (jQuery)
I need to capture a parameter from a URL, for example: http://site.com/paginas/**nome-da-pagina** I need to capture the page-name with JS or jQuery.…
-
2
votes0
answers103
viewsHow to create a URL Protocol
Well, I would like to know how to create a "Schema", a Protocol like HTTP, HTTPS, FTP. I wanted to know how I can do this Protocol to open a program, like Torrent, with Magnet Protocol. Also, I was…
-
2
votes1
answer89
viewsShorten Google Analytics tracking URL (variables only)
I would like to shorten a URL of my Wordpress site as follows: www.meusite.com/?utm_source=FONTE&utm_medium=MEDIUM&utm_campaign=CAMPANHA for something like www.meusite.com/?urlencurtada…
-
2
votes2
answers2426
viewsGet URL ID instead of INDEX
Hi, I’d like to know how to get the URL ID as if the index were the ID, like this Using GET: http://domain.com/api.php?id=1999&output=json $id = $_GET['id']; Okay, so far so good, but I’d like…
-
2
votes3
answers807
viewsForce url forwarding with htaccess password
I need to test a site that I am creating and for that I will let some people access it, I just want to leave access to a specific url that opens the login of the site.…
-
2
votes1
answer85
viewsPOST coding
In web requests when posting data on a server string of the model below (using the parameters): string hello = "hello"; string token = "teste=="; It is transformed into post data equal to those…
-
2
votes2
answers5344
viewsIs it possible to capture the current url in the Blade view?
I would like to capture the example url, /user/** (everything that starts with /user), I am using Laravel and Blade, using Request::url() I get localhost:8000 but I need something that can capture…
-
2
votes1
answer385
viewsProblems with HTACCES url - 301 redirect does not work on a page
I did 301 redirects of some of the url’s of my site recently and started giving the image problem: My . htacces is like this: RewriteEngine On Options All -Indexes RewriteCond %{SCRIPT_FILENAME} !-f…
-
2
votes1
answer442
views404 Error Python Django
That’s the mistake I’m having: As you can see in the URLS list the number 8 is equal to the "Current url" given below. My url list: from django.conf.urls import include, url from django.contrib…
-
2
votes1
answer61
viewsStarting with . htaccess
Hello; I’m trying to create friendly Urls for a site, but I’m not succeeding in several examples I’ve tried online. I think my problem is in the way I should redirect the structure of my site, I own…
-
2
votes3
answers58
viewsWhat’s wrong with this js code?
The first part of the code separates the URL into / This is the current URL www.meudominio.com/category/action var url_atual = decodeURI(window.location.href); var replace_url =…
-
2
votes2
answers77
viewsHow to modify specific parts within an html file?
I am loading an html file and would like to modify urls within it so that the system recognizes the actual path of each file that html is trying to access, so I have several different urls: <link…
-
2
votes2
answers931
viewsRedirect file to URL via . htaccess
I am using UOL Host for my website and am having problems redirecting the homepage to a subdomain I created. Researching how to do this, I found that the way to do this would be: Redirect 301…
-
2
votes1
answer299
viewsHow to recover several actions from one Active to another?
How do I send an Activity url to another with different click actions (multiple buttons)? I tried to use intent.putextra but I can’t recur the urls of the other buttons, in case I’m using two…
-
2
votes1
answer41
viewsUrl forwarding by company
I’m creating multi tenacy system, I have access page for companies https://www.teste.com.br/pastasistema/home views, what I would like and the user to type https://www.teste.com.br/empresa1/home…
-
2
votes1
answer4457
viewsHide the . html extension of the files in the url using . htaccess
I created some pages .html and put online. In the browser the file extensions are visible. However I want to hide them to make the urls more "friendly". For example: instead of…
-
2
votes1
answer555
viewsPicking json object inside another object
I need to pick up the object "online" that is inside the object "players" more I can’t catch... I can only pick up objects that are "At the root" json where I need to pick up: { "status": true,…
-
2
votes0
answers115
viewsError retrieving Central Bank report
The functions to meet the Central Bank Expectations of the Focus Report are presented the following error: Error in curl::curl_fetch_memory(url, handle = handle) : Failure when receiving data from…
-
2
votes2
answers499
viewsHow to redirect to a url using url parameters
I would like to get a url that is found right after red= and redirect to it in case it is blank not redirect. I used window.location.replace("") only to test the code. Example of where I’m going…
-
2
votes1
answer67
viewsHow to pass the "+" signal using GET?
I need to send a parameter GET which is encrypted in AES but in the hash sometimes comes a + and in sending the browser interprets this + separating the hash. Example of the URL:…
-
2
votes2
answers44
viewsHow to take the value typed in an input and then add it to a Javascript URL?
I’m creating a search bar on my localhost. The intention is that when the user enters what he would like to search for, the value is added to the value of q in, for example: const solr =…
-
1
votes1
answer591
viewsHow to get the parameters of a Url on Android
In the android I have the following URL String url = "http://domain.com/page?parameter1=value1¶meter2=value2"; I’d like to take the parameters of this URL how do I do it in a simple way?…
-
1
votes1
answer847
viewsFriendly URL on Windows 2003/2008 hosting with PHP site
I need to convert this file .htaccess for a Windows hosting compatible format at Locaweb. RewriteEngine On RewriteCond %{SCRIPT_FILENAME} !-f RewriteCond %{SCRIPT_FILENAME} !-d RewriteRule ^(.*)$…
-
1
votes2
answers384
viewsHow to resolve problems in HTML file calling?
I have a folder structure where I have the following architecture page php arquivos.php tpl arquivos.tpl(html) style arquivos.css But I have a problem calling the files on the homework... when I use…
-
1
votes1
answer655
viewsUser-friendly URL with HTACCESS
I’m making my system that will use htaccess-friendly URL, only I’m having a question/problem. My HTACCESS is as follows: RewriteEngine ON RewriteCond %{REQUEST_FILENAME} !-f RewriteCond…
-
1
votes1
answer70
viewsIE does not resolve URL
I published an application in Asp.net c# on my Intranet. By entering the URL, the application works by Chrome, Firefox and IE gives error in the middle of the application and does not perform…
-
1
votes2
answers1263
viewsConvert a string url to hyperlink
Works for several links but if I put the same 2x link in the string does not work as do? function MontarLink($texto) { if (!is_string ($texto)) return $texto; $er =…