Top "Url" questions

A URL (Uniform Resource Locator), is a universal identifier on the web.

Getting parts of a URL (Regex)

Given the URL (single line): http://test.example.com/dir/subdir/file.html How can I extract the following parts …

regex language-agnostic url
PHP Get Site URL Protocol - http vs https

I've written a little function to establish the current site url protocol but I don't have SSL and don't know …

php url ssl
Get file content from URL?

When I use following URL in browser then it prompt me to download a text file with JSOn content. https://…

php url file-get-contents
Getting URL hash location, and using it in jQuery

I'd like to get the value after a hash in the URL of the current page and then be able …

jquery url hash fragment-identifier
Does a `+` in a URL scheme/host/path represent a space?

I am aware that a + in the query string of a URL represents a space. Is this also the case …

url encoding query-string
Optional query string parameters in ASP.NET Web API

I need to implement the following WebAPI method: /api/books?author=XXX&title=XXX&isbn=XXX&somethingelse=…

c# url asp.net-web-api query-string
Allow Access-Control-Allow-Origin header using HTML5 fetch API

I am using HTML5 fetch API. var request = new Request('https://davidwalsh.name/demo/arsenal.json'); fetch(request).then(function(…

html api url fetch-api
How to use a servlet filter in Java to change an incoming servlet request url?

How can I use a servlet filter to change an incoming servlet request url from http://nm-java.appspot.com/Check_…

java url servlets request servlet-filters
How to launch Safari and open URL from iOS app

On the settings page, I want to include three links to My app support site YouTube app tutorial My primary …

ios url mobile-safari
How to pass extra variables in URL with WordPress

I am having trouble trying to pass an extra variable in the url to my WordPress installation. For example /news?…

php wordpress url get