I remember there's a redirect function in jQuery.  It was like:  $(location).href('http://address.com')   But what was it exactly? I couldn't remember and can't find it using Google Search.
906
How can I redirect the user from one page to another using jQuery or pure JavaScript?
452
What is the best way to add redirect function into the save button on a newform in SharePoint 2013.  When the user create a list item, he/she should be redirected to another form. Is it possible to get and parse the new generated item ID?  Start - Newform URL:   End - Editform URL:   Thanks
35989
I'm getting HREF no return errors in search console and I don't understand why.    We have a page that contains buttons for get multiple pages of results.  URL structure:  Base page: `https://example.com/XX/publications` Pagination of results: `?count=50&amp;page=4` Actual url: `https://example.com/au/publications?count=50&amp;page=4`   Source page:  &lt;link rel="canonical" href="https://example.com/au/publications"&gt; &lt;link rel="alternate" hreflang="en-US" href="https://example.com/us/publications"&gt;   alternate page:  &lt;link rel="canonical" href="https://example.com/au/publications"&gt; &lt;link rel="alternate" hreflang="en-AU" href="https://example.com/au/publications"&gt;   How can I tell Google that it should ignore the URL query parameters?
68881
When you call RedirectToAction within a controller, it automatically redirects using an HTTP GET.  How do I explicitly tell it to use an HTTP POST?  I have an action that accepts both GET and POST requests, and I want to be able to RedirectToAction using  POST and send it some values.  Like this:  this.RedirectToAction(     "actionname",     new RouteValueDictionary(new { someValue = 2, anotherValue = "text" }) );   I want the someValue and anotherValue values to be sent using an HTTP POST instead of a GET. Does anyone know how to do this?
34720
is it possible to use the \url command from the hyperref package with "shorthand" URLs, e.g.  \url{ipython.org}   instead of   \url{http://ipython.org} ?   It seems that the former would only link to local files on my computer, instead of retrieving the web address. (I suppose I could be using \href, but \url is shorter and I'd like to keep its formatting features.)  Edit in response to karlkoeller's answer:   Sorry for not being sufficiently precise. I don't mind typing the 'http' part so much, but I'd rather not see it printed.   egreg's answer does what I want to do - many thanks!
85460
For example, in the past, links to www.example.com wouldn't have meant Google would pass any value to say, forum.example.com. What is the current status of this? (Please provide a reference if possible).
13132
How can I create a shortcut for URL in my desktop? I want to use them in Firefox or Chrome.   If a copy and paste didn't work.   What script I have to use?
2659
What is the most reliable and secure way to determine what page either sent, or called (via AJAX),  the current page.  I don't want to use the $_SERVER['HTTP_REFERER'], because of the (lack of) reliability, and I need the page being called to only come from requests originating on my site. Edit: I am looking to verify that a script that preforms a series of actions is being called from a page on my website.
97069
I have an Excel hyperlink problem: I click on, let's say A1, copy the link in it (http://www.godaddy.com/domains/searchresults.aspx?ci=54814), right click on hyperlink and copy that SAME URL as the link (if it is not automatically detected and changed).  When I go to click on it, I am redirected to http://www.godaddy.com/domains/search.aspx?ci=53972.  If I copy and paste the link directly into the browser, it works fine (i.e., I am not redirected to a different URL).  Does anyone know what's going on?
50408
Do you know if I should use &lt;link rel="canonical" tag, or 301 redirect from:  http://example.com to http://www.example.com  ...to avoid a duplicate content penalty in case other pages link to the domain without the www subdomain? Or is Google smart enough now to identify which is the canonical one?
42701
Say if I had a question that I didn't know where to ask, say,     How does myopia work?   I know it goes somewhere around , but if someone (I) didn't know where to ask that, do we just ask on Meta Stack Exchange and hope for a redirect or something?
64077
Following the recent Google announcements about  we have a number of clients asking about this. Is it safe to just 301 redirect all pages to their SSL equivalent, for example in a common PHP include file:  if($_SERVER['HTTPS']!="on"){     $redirect= "https://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];     header("Location:$redirect",true,301);     exit(); }   Obviously I'm aware this is also possible within a .htaccess file but that cannot be modified in our case.  Obviously all internal links would be switched to https:// links but obviously we need to sort out incoming links from Google and elsewhere.   Is this a sound approach? Are there any other gotchas to be aware of?
51323
By default after a new user signs up, a redirect to the home page happens.  But in such case I want to redirect such user to another page like node/35.  In this node/35 I then want to display some content.
28940
tl;dr : For SEO, should I redirect from one to the other or list both on the DNS records?    It seems that most experts think that both www and non-www should exist. (Please correct me if I'm wrong.) And Google Webmasters Tools lets you choose which is the main one.  But: will a redirect give all SEO weight to one of them instead of splitting it? (There are other search engines after all, so setting the main one in Google Webmasters Tools might not be enough.) Will having both on the DNS records give them more importance? No difference?
85862
This page does it the way I want it to:   But I want to find a better way using jQuery, can anyone point me to a good script that uses jQuery to accomplish this?
120074
The keyboard shortcut to select address bar (in chrome) is Ctrl + L, ALT D, or F6. But what is the keyboard shortcut to un-select the url and get back to the webpage? If I hit tab, the focus cycles within suggested urls.
94032
I want to Redirect as seen below:  https://example.com/p1/p2?sort=p.model&amp;order=ASC&amp;page=2   to  https://example.com/p3/p4?sort=p.model&amp;order=ASC&amp;page=2   Also, I have this code in my .htaccess file :  RedirectMatch 410 ^/p1/p2&amp;   I have used below code, but I just see 410 code for that URL :  RewriteRule ^/p1/p2?sort=p.model&amp;order=ASC&amp;page=2$ /p3/p4?sort=p.model&amp;order=ASC&amp;page=2 [QSD, R=301,L]   So, I have changed RedirectMatch 410 ^/p1/p2&amp; to Redirect 410 ^/p1/p2&amp; , but this time I have seen 404 Code for my Request URI. What should I do?