1
vote
2answers
203 views

How to not redirect if requesting server_name only

Most people type in the browser bar: mysite.com and not https://mysite.com. Alot of developers including myself have something like this in their Nginx config file which means that this mysite.com ...
-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 ...
2
votes
1answer
2k views

NGINX: strip querystring in rewrite

I'd like to make a 301 rewrite to the sites's index without any querystring. Like this: http://example.com/anypage.asp?anyvar=anyvalue To: http://example.com/ Here's a real example: ...
0
votes
3answers
678 views

Nginx: 301 redirect with query strings

I am redirecting /example.php?var=value to /index.htm like this: rewrite /example.php?var=value / permanent; However, the browser ins printing the final uri like this: domain.com/?var=value How ...
-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 ...
1
vote
1answer
2k views

Nginx redirect loop

I am trying to transfer a site from one server to another. I normally use apache, but this project was using nginx and Ultimate SEO for url modification. I am using the same nginx config file but I am ...
0
votes
1answer
96 views

several hundred redirects, whats the most efficient way of configuring them?

I am aware that having too many redirects in a .htaccess file can lead to a loss of performance in apache, this leads me to my question is there a faster way to configure redirects in apache ...
6
votes
5answers
3k views

IIS 301 Redirect from “/index.html” to “/” for SEO Canonicalization

I used the technique explained here for IIS (http://www.webconfs.com/how-to-redirect-a-webpage.php), but this appears to result in an infinite loop when applied to "/index.htm" and redirected to "/". ...
0
votes
1answer
89 views

Does anyone have some stats on the effects of having large amounts (over 100) of redirects in apache conf?

We recently trasferred over a blog to a new site and had to setup a couple of redirects from the old articles to their new location. Now, the problem here is that we found out that on his old site he ...