The HTTP response status code 301 Moved Permanently is used for permanent redirection. This status code should be used with the location header.

learn more… | top users | synonyms

1
vote
2answers
345 views

Lighttpd Redirect to SSL results in 301 redirect loop

I am running lighttpd 1.4.31 with ssl support and am having an issue with forcing https on a specific virtualhost. If I disable the redirect line from the following config, it works as expect (http ...
0
votes
2answers
176 views

Nginx proxy cache 301 redirects but ignore querystring

We have a lot of ad-based traffic that pass various query string params on the URL, but these do not affect the content/output of the pages. I currently have the following nginx proxy cache ...
0
votes
2answers
87 views

nginx permanent move not registered by the browser

We had a "beta" site set up under http://beta.domain.com, while http://www.domain.com contained a launch page. We now got rid of the launch page and moved the site over to the actual domain. I set up ...
0
votes
2answers
165 views

Unable to set up 301 redirection on Nginx web server

I am trying to set up 301 redirection for all the domains hosted on my Nginx server, and every attempt to get it to work has failed this far. My Nginx configuration is below. File: ...
1
vote
1answer
16 views

Nginx HTML content while redirect

When the redirection is configured in nginx, the response contains: <html>[CRLF] <head><title>301 Moved Permanently</title></head>[CRLF] <body ...
1
vote
1answer
48 views

Simple 301 RedirectMatch with URL input variables not working

I have this line in my .htaccess and the 301 redirect is not working. It just doesn't redirect. Can anybody see anything wrong with this? Keep in mind, I have 7 other RedirectMatch strings in my ...
1
vote
1answer
184 views

nginx return 301 / redirect

among all 'redirect in nginx' questions I couldnt find how to redirect (using return 301 and beteer no ifs) using regexps. I have a link to my website and I'd like to remove parameter a the end: ...
1
vote
1answer
1k views

301 redirect Rule For Load Balance F5 BigIp

I have a load balancer F5 Big ip for my website. Currently, I am having 302 redirect in place; however, I wanted to apply 301 but dont know how. For example: My website (abc.com) when typed 302 ...
1
vote
1answer
444 views

Apache2 name based virtual host always redirect 301

I've got a server (runnging Debian Squeeze) with Apache 2.2, there are 4 site running there. I'm using namebased virtulhosts because I've got a single IP. Initial configuration has been made with ...
1
vote
1answer
201 views

Google anaylics and multiple domain problems

The problem is that we apparently don't receive any tracking of google analytics. We have X domain for that particular site. Google analytics only appear to support one domain unless you setup links ...
0
votes
1answer
16 views

How to use # in url as a redirect rule in htaccess for apache

I am having a difficult time figuring out how to have the following work: I am trying to redirect a url in htaccess I am trying to redirect from example.com/test.html to example.com/index#test I ...
0
votes
1answer
45 views

IIS 8 URL Redirect on site level

I am trying to do a simple 301 perm redirect to another url in IIS 8. The end results would be if i navigated to domain2.com i would end up on domain1.com. We are moving from IIS 6 to a new server ...
0
votes
1answer
346 views

Redirect to a different directory - IIS7 ASP.NET MVC web.config

We have a bunch of published URLs that reference a directory called "events" http://www.mysite.com/anniversary/events http://www.mysite.com/anniversary/events/[...] They now want to rename ...
0
votes
1answer
242 views

How to get Apache 301 redirects working with Varnish?

I'm trying to add a number of redirects from old domains to new domains which I have done before using simple 301 redirects in my vhost files like: <VirtualHost *:8080> ServerName ...
0
votes
1answer
116 views

Redirect all dynamic links served using https to http

So, here is the situation: We are running a website which is powered by Drupal. Sometime ago, it was decided that the website should be served as SSL. The settings to redirect the site from http to ...
0
votes
1answer
51 views

If I redirect all users (Except me) from within .htaccess, do I need a robots.txt file

So.. I have my live version of my site e.g v1.0 at domain.com I then have my development testing version at testing.domain.com I want testing.domain.com to only be accessible to me for testing, and ...
0
votes
1answer
50 views

Apache - How to Ignore Paths and Paramaters in 301 Redirect

Say I want all requests to example.com to redirect to abc.com. How can I make everything redirect to the root of abc.com and not include any paths or parameters included in example.com? For example ...
0
votes
1answer
108 views

mod_rewrite, 301 problem

Currently I can access specific site in two ways: 1. http://a.com/foo/bar 2. http://a.com/index.php?url=foo/bar What I'm trying to achive is to allow to do it only using first way, and make ...
-1
votes
1answer
101 views

ssl 301 redirect for nginx and wordpress

What would be the best method to load https in wordpress for a specific url? I'm using events manager pro and would like to have the event pages load securely with out using a plugin.
-1
votes
1answer
52 views

301 redirect help needed for urls with parameters

How do I 301 redirect all urls such as http://domain.com/languages/italian/itemlist.feed?start=[0-9]&format=feed http://domain.com/languages/italian/itemlist.feed?format=feed&type=rss to ...
-1
votes
1answer
109 views

Nginx: simple page redirect

I'd like to make two simple 301 page redirections. For example: http://domain.com/example.php?var=value and: http://domain.com/some-page Both redirecting to: http://domain.com/index.htm Which ...
2
votes
0answers
256 views

.htaccess Redirect 301 loop

I'm having an issue implementing 301 Redirects via .htaccess file on an Apache server. I can enable the 'Redirect 301' statements in the .htaccess file and they will appear to work for a few minutes, ...
1
vote
0answers
81 views

nginx redirects requests from apache proxy to real server address

Description: [server 1] <-|-> [server 2] [Apache] <-|-> [nginx <--> gunicorn <--> django] Apache is running on a server 1 which silently redirects just one subdomain to ...
1
vote
0answers
192 views

301 redirects along with URL rewriting to reduce URLs with query params

Okay, so I have URL rewriting set up on my server (IIS 7) so that, for example, http://example.org/p/1234/ is really http://example.org/product/?product_id=1234 (With /product/ containing an ...
1
vote
0answers
172 views

Why are 301 redirects intermittently slow or time out in IIS 6?

I'm no IIS wiz, but I can provide any additional info that might be helpful. My site uses a 301 redirect to send requests for mysite.com to www.mysite.com. They are two separate sites in IIS. Most of ...
1
vote
0answers
291 views

301 redirection with Squid based on URL (is Squirm the fastest way?)

I am using Squid 2.6 as a reverse proxy. I am receiving all the traffic from several domain names (.com .org etc.) but the website is always the same. I would like to have only one domain (specially ...
0
votes
0answers
23 views

google webmaster soft 404 on 301

I'm looking through google webmaster that my page is generating soft 404 errors (https://support.google.com/webmasters/answer/181708?hl=en) google says: We recommend that you always return a 404 (Not ...
0
votes
0answers
17 views

How do I preserve FQDN accross multiple VirtualHost using Redirect (mod_alias)?

I'm trying to use mod_alias - Apache HTTP Server Version 2.4 in order to create simple Redirect, like following: Redirect /123 http://123.%{HTTP_HOST}/123 I have several VirtualHost that are using ...
0
votes
0answers
14 views

Will this mode of redirection work on my Wordpress blog?

Right now I host my blog on: http://www.marathontalk.com/boyontherun http://www.marathontalk.com is a fully-featured PHP site and my blog is a small part of it. For some complex reasons (which I ...
0
votes
0answers
318 views

Varnish redirect loop

I've tried with a lot of varnish configurations and always experience the same redirect loop, after varnish is running for a couple of hours some pages are displaying the message: The page isn't ...
0
votes
0answers
109 views

htaccess redirect affects bingbot, returning Redirection limit reached

Inside my .htaccess file, I have the following script: RewriteEngine on RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] <IfModule mod_rewrite.c> ...
0
votes
0answers
18 views

nginx redirect with entities

I want to 301 all urls that contain an entity: %B2 I have: location ~ %B2 { return 301 http://www.domain.com ; } however it has no effect, is it possible to do this with nginx?
0
votes
0answers
34 views

htaccess redirect issue in subdomain and subdirectory back to root

I am having a little issue in a 301 redirect. i have a subdomain which can be accessed from directory url as well. i put a 301 redirect as Redirect 301 /subdirectory/ ...
0
votes
0answers
256 views

Where is IIS7 redirect occuring?

I have a site that is set up in IIS7 and is working (although I don't understand how). The binding is www.mysite.fr on port 80. In the root of the site there are no files but several folders. The ...
0
votes
0answers
414 views

IIS 7-redirect subdirectory to another within the same site

I renamed a folder on the site and created new folder with the new name for seo reasons. I would like to redirect all content to the new folder, What should I write in the web.config file? I already ...