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
-
1
votes1
answer173
viewsHow to work with absolute URL?
I am developed a system and to perform the tests I’m using the xampp. IE, everything is accessible through the address: localhost/meusite/... To call all links on my site, as well as include files,…
-
1
votes1
answer86
viewsAzure codeigniter error: does not access subfolders
I have an Ecommerce system hosted on Azure( http://lojavirtualcodeigniter1.azurewebsites.net/) Developed in Codeigniter Framework 1.7.2 The system is loaded in index. However, I cannot load the…
-
1
votes1
answer417
viewsHow to change the site URL.com.br/index.php to site.com.br/ through . htaccess?
I have the URL with the following pattern: https://dominio.com.br/index.php I tried to change from index.php to nothing, that way: https://dominio.com.br/ With the following rule: RewriteEngine On…
-
1
votes1
answer852
viewspython3.6 URLLIB Request
I have this code: import urllib.request x = urllib.request.urlopen('https://www.google.com') print (x.read()) And the mistake that happens : Traceback (Most recent call last): File "python", line 3,…
-
1
votes1
answer310
viewsRedirect to URL with input value filled
I wonder if it is possible to mount a redirect to a third party login screen with the input "value" filled? would point out something like: http://dominio.com.br/login?pt01=admin-51 the input is…
-
1
votes1
answer431
viewsAPP_URL of . env record entire URL (in addition to the domain) of the application
I have a server with a domain where there are several Laravel applications, for example, the path of the application1 is like this: https://dominio.com/aplicacao1/public The problem is that when I…
-
1
votes1
answer789
viewsHow to hide the token generated in the url by the variable
I have this form with the method in get, but when sending the request it sends the token by the url. How can I hide the token from ur? URL: 127.0.0.1:8000/search?…
-
1
votes2
answers241
viewsValidation in Edit and Delete operations by ID at url
I tested by taking the id and passing via url, normally performs the operation as long as it exists, otherwise error as expected. EX: http://localhost:55199/Person/Delete/7…
-
1
votes0
answers2002
viewsRedirect with htaccess without changing URL
I have a system that runs on the address www.dominio1.com.br/sistema and need the user to type www.dominio2.com.br/sistema is directed to www.dominio1.com.br without changing the URL. I did a test…
-
1
votes0
answers97
viewsHow do I make a PHP friendly url?
I would like to use this to mask the data contained in the url,. something similar to: localhost/webservice/networks.php? parametro=1 by localhost/webservice/networks/consult/ how do I do that?…
-
1
votes1
answer148
viewsD3.js include external image on the third button
this is an excerpt from an index.html of D3.js that I have been doing, my idea is to include an external image and make it appear by clicking on the 'btn3' button. On button 1 and 2 I have two…
-
1
votes1
answer244
viewsLaravel: Upload linked images and files
I have the following code: <link rel="stylesheet" href="css/v1.css">, but the page does not load it. When inspecting element appears the following error: As the image shows, it comes with the…
-
1
votes1
answer38
viewsRedirect requests with . htaccess
I urgently need a simple and practical way to redirect via . htaccess preferably to an alternate domain of a website. This practice is to adopt SEO measures, since there are several media already…
-
1
votes0
answers390
viewsIIS 10 - Redirect HTTPS to HTTP request causing MIXED CONTENT error
I have an iis website with HTTPS open, but I need to redirect a specific request to http. This works, however, the browser returns an error when Iss redirects the request to http. Next: Mixed…
-
1
votes2
answers1112
viewsregex for url validation
People made this regex to validate URL: const std::regex pattern( "(?:(ftp|http[s]?:[//])?)?([w]{3}[.])?" "(.*[.](com|php|net|org|br|dk|at|us|tv|info|uk|co.uk|biz|se)?)?"…
-
1
votes1
answer280
viewsGrab hidden extension from Uri
I have an app to watch and download videos online, my code detects mimetype by the url to use as the video extension downloaded. But some sites have the hidden extension, such as this url:…
-
1
votes1
answer301
viewsIs coding a URL important?
Most languages have methods to encode and decode a URL, as in the case of C# System.Net.WebUtility.UrlEncode(string value) and System.Net.WebUtility.UrlDecode(string encodedValue). I realized that…
-
1
votes1
answer48
viewsUser-friendly URL receiving p/PHP value
My doubt lies in this URL: site.com/embed.php?id=a48sa4d2a3s4d65a1s5d6a1sd56 I get that amount for $_GET['id']. How can I turn into one URL beautiful and organized? Example:…
-
1
votes1
answer38
viewsRedirect 301 by htaccess
I need to do some 301 redirects of urls of my website that has changed and is in Ubdomain, how do I make these changes in htaccess? Before my site accessed: www.meusite.com.br/contact Now it looks…
-
1
votes1
answer100
viewsSearch with explode and url friendly (problem)
I have a problem. I was using a search system with multiple variables with no friendly url. And it worked normally. Put several keywords and the same searched in the database without any problem…
-
1
votes1
answer47
viewsIs it possible to manipulate the current url with php?
Oops, I want php to send a GET form when I upload the page. But I’m not getting it. $forget = 'abc'; $url = $_SERVER['PHP_SELF'].'?get='.$forget; header('Location:'.$url);…
-
1
votes0
answers39
viewsAccess to subfolders in the URL is being blocked by . htaccess
Hi, I have a url for a system where "test" in a subfolder within the system directory. The .htaccess directs the index to a file "php app." what is the file that makes the autoload of the system.…
-
1
votes1
answer85
viewsUrls accumulating in DJANGO
My urls are accumulating. When I pass via tag a[href="exemplo"] he sends it to url http://localhost:8000/index/, but if I click again on some other link from the same menu, it will redirect to…
-
1
votes1
answer77
viewsIs it possible to add an event listener to the url?
The idea is that when there is a change in the url, run a function that will do something with that url, for example, the user is on the page exemplo.com/#/algumacoisa/2 which is a table with…
-
1
votes1
answer199
viewsRedirect Vue.js
I am having the following scenario... I own a blog that when clicking on a link is redirected to a page in Vue.js. However when it is redirected the page breaks and returns error 404. Any / after…
-
1
votes1
answer6638
viewsHandling of variables in HTML
Hello... The world HTLM / JAVASSCRIPT / PHP is totally new to me. As a beginner, I count on your help to develop a small project. Come on... I have an INDEX.HTML page that receives a value via URL.…
-
1
votes0
answers535
viewsHow to Download Images with PHP
Guys I have an urgent question. I want to be able to download images using php, these image URL are in a spreadsheet of google Docs, I was able to make the connection, and I was able to make a code…
-
1
votes3
answers67
viewsTake the url and change the value?
Site node have a function to sort higher and lower value. I need to take the current url and change a value that is within it. Current URL: http://localhost/search.php?…
-
1
votes1
answer859
viewsThymeleaf passing 2 parameters to URL
Good evening, everyone, I have the following problem: I am trying to pass 2 parameters in the URL using Thymeleaf, but I am not able to recover the value of the variable "name" to pass in the second…
-
1
votes4
answers1201
viewsCheck for parameter in javascript URL
I have a URL that may or may not contain parameters in it. Ex: www.site.com.br/?id=1 or www.site.com.br. I need to check if there is a parameter in this URL and with that I can add one more at the…
-
1
votes0
answers20
viewshtaccess does not work
already enabled htaccess in my Apache and even though gave error 500, someone can tell me if the problem is in the code? RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond…
-
1
votes1
answer76
viewsHow to get html code through a url in android studio
I would like to do as I get html code from a site using android studio. This is the code I did, but it does not returns anything. private static String pegarURL(String a) { StringBuilder b = new…
-
1
votes2
answers50
viewsProblem with sending via URL ( GET)
Good morning friends, I have these buttons here: <button class="btn-excluir" data-id="1">Primeiro</button> <button class="btn-excluir" data-id="2">Segundo</button> <button…
-
1
votes1
answer68
viewsURL with fixed and variable parameter
Hello, I’m having trouble getting my htaccess file right, and I have a fixed parameter that I pass manually and one that depends on the user when I click and change Uf, follow the example…
-
1
votes2
answers50
viewshow to deny direct access to index.php and index.php/
Hello, I’m making use of the url friendly, which is working very well, however I want to prohibit access to the archive index.php and index.php/, I want when accessing them to be redirected to the…
-
1
votes1
answer49
viewsHow to create url’s friendly with . htaccess pointing to a different path from where the referenced file is?
I have a question regarding making the URL friendly for a site, I believe the title is not very clear, but would be the following: I am doing a maintenance on an old site in PHP, it was written so…
-
1
votes1
answer337
viewsIssue with route in Laravel; my page does not access the bootstrap files that are on the layout page
I would like a little strength, I am starting with Laravel 6 and I have the following problem; I have a layout page inside the "views>layouts" folder called "admin.blade.php": On it are my…
-
1
votes0
answers21
viewsASP.NET Core API for access to more than one Angular Apication
I have an API that when launched, it goes up at the following address: http://localhost:49013/api/values. I realized this is parameterized in the file launchSettings.json, that is like: {…
-
0
votes1
answer133
viewsWordpress friendly album/? album_id={id} URL for album/{id}
I developed a site in Wordpress and to make it faster, I decided to use the module wp Fastest cache However, the site has an image gallery that matters from Picasa through another module Picasa…
-
0
votes1
answer97
viewsURL_STRING does not fill correctametne
I have a problem in the consumer class of my Webservice Rest. In the project there are only two classes, Mainactivity is working correctly, but the consumption class (Consumows) is not understanding…
-
0
votes1
answer87
viewsWhen accessing a *.php lead to Autostart.php? url=*. php
Hello, I have a problem, I need you to access any file .php, he directs to autostart.php?url=*.php Explanation: In the autostart.php it da include in a file and after it gives include in the page…
-
0
votes1
answer1421
viewsClear URL Parameters after include
When I pass parameters in the URL to a particular file through a GET, and this file makes the necessary changes, it has a include to return the home page of the action performed. When you return to…
-
0
votes1
answer742
viewsHow to pass parameters dynamically to Rails?
I have a rather complex problem. I need to somehow pass parameters dynamically to params via javascript, to show/hide some fields in a report at the user’s request. Below is a representation of the…
-
0
votes0
answers38
viewsProblem to register User by android accent error
To sending the data by URL to my webservice if I put the path by the example web browser in Chrome: meuwebservice/inserirusu/á already by android he has this exit meuwebservice/inserirusu/%C3%A1 My…
-
0
votes1
answer985
viewsCalling modal via url
I have a page on which there is a Modal registration, I have to call this modal from an external page, preferably by url, I would like to know if it is possible and if you can show me the way OBS:…
-
0
votes0
answers239
viewsLimit Length URL GET
What character limit for a URL? I see this because I followed a GET request from facebook where the URL had around 7k of characters, so I searched, the maximum is 2048, and this depends on the…
-
0
votes0
answers699
views -
0
votes1
answer136
viewsAndroid error using Picasso
I have the following code to display images through URL public class AdapterListPesquisaResp extends BaseAdapter { private ImageLoader il; private LayoutInflater mInflater; private…
-
0
votes1
answer82
viewshtaccess rules for searches
I am using the following htaccess code: <IfModule mod_rewrite.c> RewriteEngine on # Include in the next line all folders to exclude RewriteCond %{REQUEST_URI} !(app/view/*|web/*) [NC]…
-
0
votes1
answer72
viewsIcone Android opens browser with website
I am creating a responsive page and would like to know if it is possible to create an installable app for android/Ios that is only an icon that opens the browser with the address of my webpage.…