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
-
0
votes1
answer23
viewsMaintaining the URL / Wordpress
I have about 10 domains in wordpresss, but I would like when accessing each domain to open the site in its own domain. Ex: - When accessing domain 01.com.br it should open the site in domain…
-
0
votes2
answers1165
viewsBlock pages via url
The restricted page is blocked for access via url, but I want to leave the warning on the login screen. For example: when you type the address of the.php corporate page in the url, the system…
-
0
votes1
answer207
viewsMissing server connection via Httpurlconnection
I have an application that queries a URL through the following method within a AsyncTask: try { HttpURLConnection http = getHttpUrlConnection("http://www.sitedoservidor.com.br"); if (http != null) {…
-
0
votes0
answers37
viewsHow to remove this DATA 64 URL and leave normal file url
When I do upload of an image, it adds a sequence of letters, numbers and characters to the URL. I’d like to know how to change this, like, instead of this many characters, just pop up the image…
-
0
votes1
answer10
viewsAccess values set in Controoller in Prestashop 1.6
I’m setting the value of the cookie on Frontcontrolller: this->context->cookie->utm_campaign = $_GET['utm_campaign']; However when accessing Orderconfirmationcontrollercore is coming null:…
-
0
votes0
answers50
viewsImage problems using include
I am developing a website and after developing most of the files, I decided to organize them in their respective folders. localhost/hostname/ -- root directory localhost/hostname/includes/ --…
-
0
votes2
answers8319
viewsIs there a way to hide a url on a web page?
Let’s go by parts, I’m making a site where I will read a database URL and then I will use it in an image, by clicking on it(image) will open this URL (within an iframe or in a new tab). In the code,…
-
0
votes0
answers40
views -
0
votes2
answers139
viewsAjax with clean url how to use browser back
Hello, Does anyone know how I can use the back of the browser with some ajax/jquery feature, considering that the url is clean? For example, when browsing a php session is created, so when I…
-
0
votes1
answer27
viewsHow to pass parameter in Nsarray in Nsurlsessiondownloadtask url
I am creating a Uitableview to load the bookmarks that are saved in Nsuserdefaults, the values are the Ids. ex. 34, 45, 55... I am creating the url and passing parameter through a Nsmutablearray.…
-
0
votes2
answers399
viewsProblems passing URL parameter
In the code below, how do I get the values of input IdObra and IdCliente and go through the url <a href="<?=base_url("/index.php/ProdutosObras")?>"? I’m using a modal. <div…
-
0
votes2
answers394
viewsSend URL parameter of a table to a modal
Good morning friends, I have a question to send URL parameters as if it were a; <a href=\"pagina.php?id=$id\" >enviar</a> Only instead of sending to another page, I would like to send to…
-
0
votes0
answers20
viewsCustomizing the search bar?
How can I do that? -> http://prntscr.com/ja75k5 It seems to have some relationship with SSL certificate. But I could not understand nor find anything that says how it is done.…
urlasked 6 years, 7 months ago Luiz Felipe 32,886 -
0
votes1
answer21
viewsJekyll - Errors with paths
I’m developing a blog in Jekyll and is making some mistakes with the URL’s. When I use {{ site.url }} and I don’t put the bar after this variable, the paths are as follows: localhost:4000assets,…
-
0
votes1
answer310
viewsRedirecting Urls from the same domain via htaccess
I would like to direct through the htaccess two url of the same domain, type 301. Example: Redirect meusite.com.br/customer-service for meusite.com.br/central-atendimento I tried the following code…
-
0
votes1
answer39
viewsPATH_INFO does not show "extra" bars
I’m using the $_SERVER["PATH_INFO"] to pass values to the backend through the url, not in the format ?chave=valor, instead, /:valor/ (identify the colon and return a variable with that name),…
-
0
votes0
answers29
viewsPython: Get folder URL
How to get the path/location of the latest image stored in an x folder using Python?
-
0
votes1
answer200
viewshtaccess - Rewrite URL with . htaccess inside a subdirectory
I am trying to rewrite a URL where the . htaccess file is inside a subdirectory. Current URL: localhost/Development/Projects/redirect/index.php URL I’d like to use: localhost/redirect/index.php My…
-
0
votes1
answer61
viewsEregi_replace for preg_replace
Regular expression is not my strong suit in PHP and I need your help. I need to transform a string that comes from an apt post to be part of a url. Example: "Caio didn’t take a bucket of water" for…
-
0
votes1
answer256
viewsDynamic friendly URL . htaccess
I currently have the following rule in . htaccess: RewriteRule ^fale-conosco/?$ view/fale_conosco.php [NC,L] And I would like it to be possible to inform a friendly URL after contacting us/.…
-
0
votes1
answer437
viewsHtaccess - Redirect all requests to a single file every time
I am trying to use a. htaccess file to redirect all requests to a single file, but I am facing some problems. My . htaccess is like this: RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f…
-
0
votes1
answer90
viewsHow to rewrite a URL
Good afternoon, everyone. Could you help me with my question ? I wanted to rewrite a URL. For example: <a href="#Contato">Contato</a> which points to a DIV Contact ID, however, the URL…
-
0
votes1
answer45
viewsTake data by url (string was not recognized datetime)
I am passing an initial and final date per parameter (according to the image), as you can see in the localhost the bars (/) I am passing %20 and normally the generation of graphics occurs, but on…
-
0
votes1
answer635
viewsDjango 2.0 - Amigavel Urls
I’m studying Django 2.0.2, and I’m having difficulties in URL friendly together with Slugfield in the models.py class, but I don’t know how to define def get_absolute_url(self): correctly. I can…
-
0
votes2
answers350
viewsHow do I set apache to ignore the directory in the url?
I have a directory inside my root folder called "mydir" where there are several files, currently I access these files so: http://mysite.com/mydir/myarchive.html My question is I have how to…
-
0
votes0
answers93
viewsEvidar the change of special characters in URI writing
I’m using the google maps API in my project but I’m having a small problem. to mount the URL I am using a URI that concatenates with buildUpon like this in the example below. Uri uriBase =…
-
0
votes1
answer1106
viewsUrl query Reach Route - React
I have the following problem: I have an API in Node.js that returns me id and name of products and supermarkets When I get into /supermarkets via params url /:idSupermercado I can get this parameter…
-
0
votes1
answer155
viewsHow to remove#from Angularjs URL
The URL of my application is like this 'http://localhost/ssga/#/login'. I’m trying to get '#' out of the URL, I’ve tried several ways but I’m not getting it. I have the following code. config.js:…
-
0
votes1
answer723
viewsPHP - directory path
I’m making a website that has a column called -News-, this column I call through the include. (you can imagine that it is an external file - news.php), until then. It turns out that on my site there…
-
0
votes1
answer279
viewsHow to make GET requests without having to use question mark in the URL
I would like to know how I can replace the question marks and ampersand of my URL but still can make GET requests. For example: i want the url exemplo.com/perfil.php?usuario=johndoe turn…
-
0
votes1
answer53
viewsURL with "app" instead of "www"
Some web applications such as CRM’s (https://app.hubspot.com/ - https://app.moskitcrm.com/), start the url with "app" instead of "www". I would like to know if these are applications that are…
-
0
votes2
answers637
viewsRedeem id passed by URL without using GET
I have a question that I believe is simple for almost everyone, but I did not find any material that really help me to solve this. I am developing a micro-service in php that has as its sole…
-
0
votes1
answer39
viewsChecking the existence of a file
Given a file url: URL pomUrl = new URL("https://gitlab/grupo/projeto/blob/develop/pom.xml"); How can I verify the existence of a sister file to this? Something like: public boolean temIrmao(String…
-
0
votes2
answers243
viewsHow do I hide the full url and leave only the main url visible?
I have a website meusite.com I put the version for him on desktop and mobile. When the person accesses, the user agent sees that it is cellular and redirects to the cellular version: meusite.com/…
-
0
votes0
answers137
viewsHide ? id= from php URL
Is there any way to hide ? id=1 from the URL? I would like to hide this so that no one can change it through the URL, if possible not only encrypt it, but actually hide it. I tried to do it for Ajax…
-
0
votes0
answers519
viewsLaravel 5.6 - Error passing 2 parameters in url
Hello, I am trying to pass 2 parameters to my controller using url and am getting the following error message: Missing required Parameters for [Route: Teacher.average_faults] [URI:…
-
0
votes1
answer141
viewsHow to check by the url if the page is the index
As I get through JS, if my url is the index? I have a code like this: window.onload = function () { url = window.location.href; if (url.match("/dashboard")) { [...] } } that checks if it is in the…
-
0
votes1
answer41
viewsSite in 2 language without changing the URL, will I have problems with SEO?
I am developing a site in 2 languages in PHP, the first time the user accesses, it takes the browser language with HTTP_ACCEPT_LANGUAGE, if the user changes language, except this choice in a…
-
0
votes1
answer186
viewsRoute problem with MVC 5 C#
I’ve already researched it, I’ve spent two hours burning the dog but I couldn’t find a solution. Has anyone ever had that problem? I have the following link:…
-
0
votes0
answers39
viewsError making the request
I am trying to place a request in a REST API using PHP Unirest. The error that appears when I print is: Bad URL, Colon is first Character The mistake: PHP Fatal error: Uncaught Unirest Exception:…
-
0
votes1
answer1666
views -
0
votes0
answers40
viewsMysql Read HTTP URL
I would like mysql to read a url through a SELECT I searched and saw that you have an answer here. I did the whole procedure as it is in this link, but to no avail select would call the url as in…
-
0
votes2
answers880
viewsHow to check if the url is true
I made this code simple to encode urls, but I would like it to work only with url checking if the protocol and hostname are correct or if the magnetic link is correct: http://www.exemplo.com/…
-
0
votes1
answer47
viewsData filtering by Url
In the code below I’m making a request to the Marvel api. const api = axios.create({ baseURL: `https://gateway.marvel.com:443/v1/public`, version: 'Cable', });…
-
0
votes0
answers26
viewsParameters are not being sent in the URL
Good morning. I’m trying to send some parameters through the url to another page but only one is being sent. I’m sending it this way:…
-
0
votes1
answer217
viewsRead data from a url
I would like to get data from a url address Researching I found that one reply I implemented for my reality var http = require('http'); var options = { host: 'http://192.168.1.6', path:…
-
0
votes1
answer403
viewsHow to remove the last URL bar
Please, how can I remove the bar at the end of the URL. For example, I have these variables with the urls below, but I cannot remove the last bar: <?php $url1 =…
-
0
votes1
answer756
viewsChange URL in localhost (.htaccess)
I would like to change the URL of my local server. I use XAMPP. I believe it is necessary to create or change the .htaccess. Actually, I already created the file and put it in the root of localhost,…
-
0
votes1
answer167
viewsError in PHP zip code query
I am trying to fix in PHP the URL that queries the ZIP code, when typing the ZIP CODE XXXXX-XXX the URL is displaying the characters amp; that are causing error in XML output. Correct consultation:…
-
0
votes0
answers52
viewsMistakes in Ruby come because?
Goal Add (Uri, url) with port. # Ajuda por carlos-romero # https://stackoverflow.com # Ajuda por mu-is-too-short # https://stackoverflow.com require 'uri' require 'socket' url = 'file://C://' class…