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
votes3
answers1452
viewsValidate URL with ER
I have a validation class and need a method to validate URL’s, but the function filter_var contains flaws to validate them. An example of 3 Urls: The URL is complete returns TRUE #1…
-
1
votes0
answers634
viewsPublishing Asp.net application on IIS 8
I am trying to publish my application on a Windows server 2012 with IIS 8. I have taken the step by step to go to "Site -> Add Website" and fill in the coordinates, paths and etc. I have deployed…
-
1
votes2
answers1524
viewsUpper or lower case URL
When it comes to SEO it makes some difference the use of my site’s URL being all lowercase? Example: - http://localhost/produto/livro-stackoverflow - http://localhost/Produto/Livro-StackOverflow My…
-
1
votes1
answer1281
viewsHow to get the url of the parent page of an iframe without being in the same domain?
I searched postMessage, but only found examples of iframe resizing. I wonder if you have any way to get the URL of the main page where my iframe is inserted using this method or some other.…
-
1
votes1
answer47
viewsWhy are [ ] characters processed this way in my URL?
When sending a $_GET of my application have the following expression tipo%5B%5D=CASA in my url. The data comes from an HTML element of the type checkbox of name="tipo[]". These characters simply…
-
1
votes0
answers145
viewsWhat’s wrong with my Urls?
I’ve been trying for days to figure out why W3’s link validator is charging the following problem: Lines: 298, 323 http://www.climaxcontoseroticos.com/../perfil_publico.php?autor_perfil=dryka…
-
1
votes0
answers23
viewsDo I need to generate separate pages for each ad to have a URL without parameters?
I’m developing a classified site. For each record in the database it is necessary to generate a page for the ad in question, as on the normal classified sites. I made a generic page that if I…
-
1
votes1
answer124
viewsProblem in Friendly Url
I have another problem with this line RewriteRule ^([a-zA-Z-0-9-_]+)$ index.php?controller=estabelecimentos&option=tipo&tipo=$1 [L] solved a problem but now I tried to create the same line…
-
1
votes1
answer170
viewsUrl forwarding
Well, it’s been a few days since I’ve encountered any problems on an assignment. What I need to do is : Check if the url is in the right format, and if it is not, redirect to the correct url. In the…
-
1
votes1
answer329
viewsAdd parameters to URL without changing the path to the file
So I have a url let’s imagine ... http://localhost//web/index.html The idea is to add a parameter or a variable to a url: http://localhost//web/index.html? like=like This parameter is written by the…
-
1
votes1
answer1770
viewsCreating Basic app that opens a url
I already touched a little on these sites that offer "free app" and some of these sites have a good feature for me! They create an app that works with a specific url, as if the app was just a…
-
1
votes2
answers185
viewsHide pdf extension in URL
I need to hide the extension of the pdf file that opens on my web system. I did some research and saw that to do by htacces, but did not succeed. How can I do this?
-
1
votes0
answers32
viewsRewrite URL s using . htaccess
How do I rewrite the following URL s using . htaccess test.com.br/? Section=contact for test.com.br/contact and test.com.br/? Section=vehicle&sub=radio for test.com.br/Vehicle/radio…
-
1
votes1
answer126
viewsSuffix added to Wordpress site URL
Good afternoon, My site (built on the Wordpress platform), has a problem in all Urls - always appears a suffix "? v=(code)". http://www.carvalhocustom.com/ I have disabled all plugins and changed…
-
1
votes1
answer794
viewsfriendly urls for various folders
I have these urls, I’m using subfolders, but htaccess will be at the root MEDICAL PASTE when the person logs in to redirect appears in the url ? id=1 without the index laudar.php?id=1…
-
1
votes1
answer87
viewsHow to use friendly urls on a php system?
I’m working on a website, first site I do without Wordpress and would like your help to implement friendly urls. I don’t have much knowledge on friendly and .htaccess but I’m trying to learn. My…
-
1
votes3
answers1452
viewsURL problem with Toolbar /
In Laravel it is very common to use friendly URL and also very easy to use. The system is already ready for this. However, I have a problem that so far has not mattered. And now I want to know why.…
-
1
votes3
answers3683
viewsRun Javascript in the URL(plugins.)
How do I run snippets of Javascript in the address bar, I tried in Firefox something like: javascript: alert("lol"), but it seems to be an old and not working technique(at least not in Firefox). The…
-
1
votes0
answers580
viewsRemove "/" bar from end of url with htaccess
I wish my Url worked as much with "/" at the end as without it via htacces did so URL FRIENDLIES #aqui ignoramos o uso de barra no final RewriteRule ^home$ index.php [NC,L] RewriteRule…
-
1
votes1
answer348
viewsHow to build a relative URL securely?
A method takes snippets from a URL and needs to concatenate them coherently, but without presupposing details about each one. Examples: http://server + /path + /resource.js =>…
-
1
votes2
answers1023
viewsHow to hide text that appears after my domain in a URL?
I have a Java application using Spring MVC. Suppose my application has the domain www.meusistema.com.br As the user navigates, other urls are generated, example: www.meusistema.com.br/acessarConta…
-
1
votes1
answer2304
viewsHow to access a local server from an Android device
I have a server in Django running on my computer "localhost:8000/posts", and I am creating an Android client to access it. Debugging my application on a real device, I tried to access by my Ipv4…
-
1
votes1
answer31
viewsFriendly Urls with ten error variables
When you put 10 error variables RewriteRule ^client/product/([a-z0-9-]+)/([a-z0-9-]+)/([a-z0-9-]+)/([a-z0-9-]+)/([a-z0-9-]+)/([a-z0-9-]+)/([a-z0-9-]+)/([a-z0-9-]+)/([a-z0-9-]+)/([a-z0-9-]+)/?$…
-
1
votes0
answers49
viewsC# - How to put a secondary address in Webbrowser
Hello, How to put secondary address in Webbrowser in Visual Studio 2015. // webBrowser1 // resources.ApplyResources(this.webBrowser1, "webBrowser1"); this.webBrowser1.Name = "webBrowser1";…
-
1
votes1
answer525
viewsUser friendly URL with dynamic product name and id
I am working with site friendly Urls developed in PHP. I created the file . htaccess and did the appropriate redirects according to my needs. For example, the page named.com/contact.php is now…
-
1
votes0
answers425
viewsHow to use a credential in the url when the user’s name is an email? Is it necessary to escape?
For you to make connections via SSH, usually use credentials directly in the url not be necessary to set the user and password all the time. Example: ssh://login:[email protected]/repos/repositorio.git…
-
1
votes0
answers58
viewseach time I refresh adds 1 item to the cart
I am designing a site with wordpress and I am with a problem. The site is based on the purchase of software - Premium , Free and for this I used a princing table. In woocomerce I created 2 products…
-
1
votes1
answer32
viewsURL checking independently of the server
I need to check the URL from a Javascript page. I am displaying the following Alert: alert(window.location.href.toString()) The following ULR is displayed on Alert :…
-
1
votes1
answer166
viewsOpen Ajax with addition to url
I’m wanting that when I open the "#portfolioModal54" and run the ajax add in front of the url the name and id of the clicked block. Example: BLOCK 1: #portfolioModal54 opened with the $name = quad…
-
1
votes1
answer130
viewsUse user-friendly URL without folder navigation
I need to identify the user using user friendly url, for example: https://site.com.br/usuario/sistema.php How do I make this identification, bearing in mind that there will be no particular folder…
-
1
votes1
answer72
viewsURL being incorrectly generated
I’m having a problem where my website images are being pulled with special characters and makes some images inaccessible. For example: Right url:…
-
1
votes2
answers985
viewsAdd parameter at end of link with jQuery
Guys, I’m trying to take some specific URL’s on a page, and add a parameter at the end of the link, but I’m not succeeding, because it returns the object instead of the link string + the parameter.…
-
1
votes1
answer92
viewsHow to get an infinite route in Codeigniter?
I have two urls: http://you.axitech.com.br/busca/qualquercoisa http://you.axitech.com.br/busca/qualquercoisa/outracoisa And I’m having these Routes: $route['search/(:any)'] = "Search/index/$1";…
-
1
votes1
answer1846
viewsMask url path on IIS server
I’m having a question in which I need but show a path in the url that is more user friendly, like this: http://hexatasistemas.com.br/sites/mercedita/efetuarlogin.asp I wish instead of showing all…
-
1
votes3
answers2089
viewsGet the site name in the javascript url
Guys, I got this: I can have the following situations from a url: www.exemplo.com.br or http://exemplo.com.br or http://www.exemplo.com.br and also with HTTPS. I would like to take only the word…
-
1
votes0
answers426
viewsHow to recover only the parameter of a url through a bean Managed
I wanted to know how to recover only the parameter of this url in a bean Managed http://localhost:8180/blabla/teste.xhtml?codigoEmpresa=754 Follow my bean Managed: package…
-
1
votes3
answers404
viewsjQuery - How to filter a JSON file from an external link?
I have a headache that is: I need to make a filter by names of the following JSON (summarized)... [ { "index": 0, "age": 25, "eyeColor": "green", "name": "Peck Murphy", "gender": "male", "company":…
-
1
votes3
answers815
viewsHow to change page content according to the end inserted in the link (URL)?
I have a user registration system. The person inserts some information such as user, photo, name, a brief personal presentation, phone, and email. Automatically an id is generated for each new…
-
1
votes1
answer85
viewsHow to pick variable with $_GET
Hello, in my htaccess is like this: RewriteEngine On RewriteCond %{SCRIPT_FILENAME} !-f RewriteCond %{SCRIPT_FILENAME} !-d RewriteRule ^(.*)$ index.php?url=$1 RewriteRule ^download/([A-Za-z0-9]+)$…
-
1
votes1
answer62
viewsWeb API Controller Standardization
I would like to know the following. Imagine the following URI: (1) api/orders (2) api/orders/10 (3) api/orders/10/items URI (1) and (2) I am sure they would be within a class called…
-
1
votes2
answers477
viewsError trying to download python BMF zip
I am trying to download the BMF zip files at once (ftp://ftp.bmf.com.br/MarketData/BMF/), but an error appears in which the program does not find the file, however it exists. follows the code: from…
-
1
votes1
answer693
viewsReceive a parameter through a friendly URL on a Wordpress page
I have a Wordpress page called Recordings which is accessed through http://localhost/Recordings and I need to pass an ID parameter at the end of the URL that can be used later to create dynamic…
-
1
votes2
answers55
viewsRemove ? resize= from image url
After some tests with gtmetrix I realized that images take a long time to load when they are resized from the url, with the method "?resize=(dimensions)" at the end of it. Example:…
-
1
votes1
answer150
viewshtaccess with friendly url not working(?)
I’m finishing a project, and I thought I’d put a user-friendly URL, one I had already used in another project, the same thing, I didn’t change anything, just the server and site host. Of:…
-
1
votes1
answer46
viewsHow do I get a PHP Angularjs URL
I can’t get the current angular URL in PHP, I’ve tried using $_SERVER["HTTP_REFERER"], in addition, comes the original file path ... Original URL: http://link.com.br/ead/moodle2017/#/lessons/39 I…
-
1
votes0
answers33
viewsFriendly/Optimized Url does not open
I am optimizing the Urls of a site and I had a certain problem. Some pages do not open after receiving optimization, in fact the page is found and inserted in the path, but the content of the page…
-
1
votes0
answers158
viewsHow do I place an htaccess friendly url in the place I want?
I’m using this code: RewriteRule ^editar/candidato=([0-9]+)&admin=([0-9]+)/?$ http://localhost/MeuSite/candidatoeditar.php?candidato=$1&id=$2 [QSA,NC,L] But I’d like the link to stay that…
-
1
votes3
answers483
viewsStore URL snippet - Javascript
I am capturing a certain value of the URL through Javascript, but I’m having difficulty at some point. Follow below. var url = window.location.href; var page = url.split('/'); var page =…
-
1
votes1
answer126
viewsRecovers values using classes and Pdo without going through the url
Good afternoon, I have a class where I pass all the methods insert, update, delete, consulta(fechall) and consulta(fech($id)) Below I show the class of consulta(fech($id)) public function…
-
1
votes3
answers64
viewsDelete part of a string and keep URL contained in it
Inside a string there is a snippet used by Wordpress to display the image in the middle of a news, it is possible I remove all this stretch of the string and take advantage of the image URL?…