Top "Redirect" questions

A response by a webserver, that asks the user agent to not show the response body, but instead request a different resource.

How to Redirect Page in PHP after a few seconds without meta http-equiv=REFRESH CONTENT=time

It seems that it is not advisable to use <meta http-equiv=REFRESH CONTENT=3;url=url> for redirects but …

php redirect header refresh meta-tags
Heroku/GoDaddy: send naked domain to www

I am trying to figure out how to get the naked domain for my website to redirect to the www …

redirect heroku cname a-records
Best Practice: 301 Redirect HTTP to HTTPS (Standard Domain)

I have been searching for the perfect 301 redirect. But I am finding so many solutions and do not know what’…

.htaccess mod-rewrite redirect https url-redirection
log4j redirect stdout to DailyRollingFileAppender

I have a java app that uses log4j. Config: log4j.rootLogger=info, file log4j.appender.file=org.…

java file redirect log4j stdout
Gdb print to file instead of stdout

I am running gdb and want to examine one of those unfortunate god objects. It takes many pages (and I …

redirect printing gdb
HTTPURLConnection Doesn't Follow Redirect from HTTP to HTTPS

I can't understand why Java's HttpURLConnection does not follow an HTTP redirect from an HTTP to an HTTPS URL. I …

java redirect https httpurlconnection http-redirect
htaccess redirect for Angular routes

I have an angular application with several routes, such as: site.com/ site.com/page site.com/page/4 Using angular's …

angularjs .htaccess redirect web-applications routing
How do I get the referrer URL in an ASP.NET MVC action?

How do I get the referrer URL in an ASP.NET MVC action? I am trying to redirect back to …

asp.net-mvc redirect referrer
php redirect with HTTP query string variables

atm I'm using the following four lines to redirect the user to another page on my website: <?php header("…

php redirect query-string
How do I force redirect all 404's (or every page, whether invalid or not) to the homepage?

Currently every invalid page is 500 (Internal Server Error) because I probably messed up with my server block configuration. I decided …

redirect nginx http-status-code-404