1
vote
1answer
38 views

NGINX - Remove index.php from the end of the URL

I can access my webpages with "www.dom.com/mypage" which will redirect to "www.dom.com/mypage/". "www.dom.com/mypage/index.php" is the main file but I want to remove this from the url so if you type ...
0
votes
1answer
38 views

URL redirect not working in IIS 7.5

I am facing problem redirecting my HTTPS web service from HTTP. I have applied CA SSL certificate to my web service and using URL Rewrite, I have done the changes for redirection in IIS 7.5. Here is ...
0
votes
3answers
43 views

How to remove hypen (-) using nginx rewrite rule?

I am using this rewrite rule to redirect example.com/a-b-c?id=learn-more ----> http://example.com/abc?id=learnmore rewrite ^/a-b-c?id=learn-More http://example.com/abc?id=learnMore permanent But ...
0
votes
0answers
62 views

Redirect url get variables after rewriting htaccess

My original url was this: wwww.domain.com/car-details.php?merk=BMW&model=X5&titel=sale&car_id=3 I have Rewrite it into this: wwww.domain.com/BMW/X5/sale/3 By putting this in my ...
-2
votes
1answer
209 views

Wireless router URL redirection [closed]

I'm trying to "filter" explicit URLs (+18/21) from network traffic and redirect to another website. I have physical access to router inside my home, computer and router local web-access, which let's ...
1
vote
2answers
213 views

How do I redirect to different backend server based on URL using Apache?

I'm a newbie to Apache, sorry if this is a documented solution somewhere. I have been scouring the web and can't seem to find this answer ... I would like to redirect traffic based on the URL coming ...
0
votes
0answers
40 views

nginx rewrite subdomain to other subdomain

I have a atlassian server with the following config: server { listen 443; server_name servicedesk.example.nl; ssl on; ssl_certificate certs/jira.cer; ssl_certificate_key ...
1
vote
1answer
53 views

Redirect from Old Site to New Site on different folder

I want to redirect all request from a url host www.hostname1.com (including all subdirectores-www.hostname1.com/....) to a different url with a different host, www.newHost.com. I have already made the ...
0
votes
1answer
71 views

Apache2 Virtual Host redirect except on special path

Assume we have 2 domains. www.my-domain.com www.mydomain.com As Standard, we have a redirection from .mydomain.com/ to .my-domain.com/ via (mydomain.conf) <Virtualhost *:80> ServerName ...
0
votes
1answer
493 views

Ngnix Rewrite - If URL contains

I'm having a small issue - my error log is filling up with requests to a directory folder on my site (but with added data that shouldn't be there). http://example.com/the-directory/undefined ...
0
votes
1answer
26 views

Moving my project to a different location broke absolute links

Before my project was located in the root of domain.com. Most of hrefs are like this: <a href="/user/test">test</a> But since my project was moved to domain.com/catalog/, all of those ...
0
votes
0answers
112 views

IIS8 ARR URL Redirect - redirect port

I cannot get this working. I want to reverse proxy from the server to a second server, but handle ports also, eg From [http://123.123.123.123:81/] to [http://234.234.234.234:81/] and ...
0
votes
1answer
135 views

.htaccess URL rewrite to upper-case characters in domain

For example, I'd like to have foobar.com show FooBar.com This almost works, but ends up forcing a redirect loop: RewriteEngine On RewriteCond %{HTTP_HOST} ^(www.)?foobar.com\.com RewriteRule ^(.*)$ ...
0
votes
2answers
172 views

URL redirect using Windows DNS

I have a website say xyzuniversity.com/north. I want to redirect college.com to be redirected to xyzuniversity.com/north using Windows DNS entries. Is there a process to do this? Also what are the ...
1
vote
3answers
315 views

nginx: How to redirect root to subdirectory while maintaining URL in the address bar

I have an nginx setup with folder structure like this: - www |- splash |- blog www is the root folder. I would like to redirect users who access http://mysite.com to the splash folder. But I don't ...
0
votes
1answer
145 views

Rewrite certain URL in Nginx such that another app will serve it

I have a config file for mydomain.com which is served with Drupal. Problem is this rewrite rule takes the control over any request: if (!-e $request_filename) { rewrite ^/(.*)$ /index.php?q=$1 ...
0
votes
2answers
92 views

subdomain.domain.com works, but still accessible via domain.com/site

I've got a site installed at, for argument's sake, /var/www/site, and have a subdomain set up so that it can be accessed via subdomain.domain.com. How do I stop it also being accessed via ...
0
votes
1answer
678 views

Redirect 404 errors without rewriting the URL

Is it possible to have an erroneous URL remain in the address bar while redirecting the user to a URL within my domain? I want www.domain.com/forum to be the actual site being served in all 404 ...
1
vote
1answer
1k views

How to redirect an specific url with specific variables in iis

The idea is to add a rule to my iis (version 7) to redirect this http://www.mydomain.com/folder/Default.aspx?&variable1=eeee&variable2=aaa to: ...
0
votes
1answer
79 views

Redirect a url to a new host

I have the following URL which displays a normal static website: www.example.com. This site is hoted on Amazon. I want to make all urls starting with www.example.com/redirect to redirect to another ...
0
votes
1answer
155 views

Domain url redirect with myDNS

I have a domain and want to redirect this domain to url (for example www.example.com). How I can do this with mydns (using mydnsconfig interface or mydns itself).
2
votes
1answer
991 views

htaccess: how to rewrite to clean urls and redirect old urls to the new clean ones? [duplicate]

With htaccess I'm trying to make my sites urls clean. I use very basic urls like: www.mysite.com/pagename.php ("pagename" is variable). I want www.mysite.com/pagename to display the content of ...
0
votes
2answers
2k views

Simple apache2 redirect from one domain to another

What I want to do is the following: My domain xy.example.com no longer exists. Thus I want to do a simple redirect to the new domain abc.example.com. It should be a redirect, that also works when ...
0
votes
1answer
124 views

Locally redirect Domain1.com to Domain2.com/subdir on one computer

I am running a FreeBSD server and I want to redirect a specific website domain to another domain including subdirectory. I want to bypass that domain to alter the XML results it returns. I tried the ...
-1
votes
1answer
413 views

URL Redirect to IP on LAN [duplicate]

Possible Duplicate: Is there a way to forward a port based on subdomain? wOk here is what I need to do: Listen on various ports and route to LAN IP addresses based on url and port. So I ...
0
votes
1answer
76 views

In EC2, how do I do a traditional redirect?

When users hit mydomain.com, I want them to redirect to another page. I know I can do this through: my name registrar my DNS servers But I would like to do it through EC2. How can I set it up?
1
vote
1answer
48 views

How many certificates are needed if to redirect non-www requests to www prefixed ones over https

If I want to redirect https://example.com to https://www.example.com, are two certificates needed? One is for example.com and the other for www.example.com?
1
vote
2answers
148 views

.htaccess 301 Redirect

I have an existing Wordpress site setup at mycompany.tld1 and recently registered mycompany.tld2. I want to setup a 301 redirect from mycompany.tld2 to mycompany.tld1, what would that .htaccess file ...
3
votes
3answers
803 views

Is it ok to not use 'www' in my website subdomain url?

We have a website that is a subdomain of our primary domain, such as site.domain.com. The official URL of the website is http://site.domain.com, but some people keep referring to it as ...
3
votes
4answers
346 views

Redirect www from DNS records

Related to this question: What’s the point in having “www” in a URL? How can I do a “www” redirection form a DNS record level? I don’t want to tweak apache or IIS to achieve this.
3
votes
3answers
4k views

IIS URL Rewrite HTTP to HTTPS with Port

My website has two bindings: 1000 and 1443 (port 80/443 are in use by another website on the same IIS instance). Port 1000 is HTTP, port 1443 is HTTPS. What I want to do is redirect any incoming ...
1
vote
1answer
248 views

HTTP redirects showing ip address

I have a domain name on 1&1 and a VPS on Linode. I noticed that my site was enclosed in a frameset which I didn't create. I checked nginx and jetty in the VPS but none of them created the ...
2
votes
4answers
126 views

Website Versioning Practices

I tried searching, but I couldn't really figure out the best search terms to find my answer. I have a Ubuntu 10.04 server with Apache. I want to set up a site that will be versioned, so my file ...
1
vote
2answers
144 views

Redirecting http://support.domane.com to http://support.domain.com

I'm fighting a losing battle over here. I've got an easily misspelled domain name. So I purchased the misspelling. Now, I need to setup the misspelled domain name to redirect everything to the ...
120
votes
8answers
9k views

What’s the point in having “www” in a URL?

Other than for historical reasons, is there is reason to have “www” in a URL. Should I do a permanent redirect from www.xyz.com to xyz.com or xyz.com to www.xyz.com? Which one would you suggest and ...
15
votes
5answers
1k views

How can I enforce that my urls always start with www?

I want to ensure that users come to www.mydomain.com even if they arrive through the alias mydomain.com. This is so that I have control over cookies on subdomains, and so that Google sees one single ...