Questions tagged [redirect]

HTTP or HTML mechanisms used for redirecting browsers to where the actual content is located

Filter by
Sorted by
Tagged with
0 votes
1 answer
211 views

PowerChute appliance 4.4.1 for ESXi issues 302 redirect to localhost after login

I've been using PowerChute 4.3 network appliance on my ESXi host for a while now. I followed the instructions to download and install the appliance update to 4.4.1 this morning using the official tar....
Steve Hiner's user avatar
2 votes
1 answer
767 views

How to get line number of error that .htaccess apache2 is reporting in /var/logs/error.log

I get a internal server error after adding redirects to .htaccess - I've added 600 of them. I check /var/logs/error.log [Wed May 12 16:26:02.600394 2021] [core:alert] [pid 8071] [client 127.127.127....
therobyouknow's user avatar
0 votes
2 answers
2k views

How to redirect connection from subdomain to another server using Nginx

I am working on an app where I have a following elemnts: A subdomain name redirected to port 80 of server A Server A hosting two docker containers: one for nginx mapping port 80 to 80 and one for a ...
ChiPlusPlus's user avatar
0 votes
2 answers
3k views

IIS7.5: HTTPS->HTTP 302 redirect

I have an asp.net website running on IIS7 configured long ago. There appears to be a 302 redirection in place redirecting all requests over HTTPS to HTTP instead. I would like to remove this redirect ...
spatula5's user avatar
0 votes
1 answer
89 views

Point Webflow site to example.com/webflow-site

I'm using google domains to host my frontend web application at example.com. I also have marketing pages that are built on webflow.com that I'd like to seamlessly integrate with the example.com. I'd ...
Jon C. Young's user avatar
0 votes
1 answer
611 views

Apache 410 a URL Without Affecting Sub Paths

I'm trying to kill a URL, so in my .htaccess file, I put: Redirect 410 /my-path It works. If I try to visit: https://www.example.com/my-path I get: Gone The requested resource is no longer ...
GTS Joe's user avatar
  • 199
2 votes
1 answer
1k views

How do I exclude my sitemap from httacess redirect?

I want all urls to be redirected, except my sitemap xml file in the root directory. The htaccess should allow https://old-domain/xml.xml to resolve with HTTP 200, but it is still redirecting to the ...
Till Noah's user avatar
1 vote
1 answer
119 views

Redirect the document root and a specific page only to another domain

Might sound confusing, but what I want to achieve is this: If the user visits: www.mydomain.com (with or without www.) transfer them to: www.myotherdomain.com/welcome-old-users At the same time, I ...
Paloma Martinez's user avatar
1 vote
0 answers
157 views

Apache reverse proxy configuration (/context to /)

I'm having this issue trying to proxy a site to another context on a different domain What I currently have ? I have a fully functional web site running on the following URL: https://helloworld....
William Añez's user avatar
0 votes
0 answers
152 views

multiple htaccess redirects to a new domain

I'm trying to redirect an entire domain over to another domain while also redirecting a couple of specific pages to specific locations. I also want to preserve www and https on the original domain to ...
Kyle's user avatar
  • 1
0 votes
1 answer
797 views

Apache redirect URL to another virtualhost

I have two sites which runs independently on my VPS, let's call them site1 and site2. They are respectively located at /var/www/html/site1 and /var/www/html/site2 I don't have a domain name yet but I ...
Arkaik's user avatar
  • 113
1 vote
1 answer
3k views

Apache add new site as subdomain on server

I have two sites which runs independently on my VPS, let's call them site1 and site2. They are respectively located at /var/www/html/site1 and /var/www/html/site2 I don't have a domain name yet but I ...
Arkaik's user avatar
  • 113
0 votes
1 answer
2k views

Redirect to a URL passed in the query string with Apache 2

I'm pretty newbie in URL redirection, and I would like to create this kind of redirection: http://example.com/?url=http://domain.test/ to http://domain.test/ The result I'm having so far is: http://...
Beelzeko's user avatar
0 votes
1 answer
2k views

Nginx redirect URLs with dynamic parameters

Customers from the internet need to access a web server accessible only from VPN, the domain is internal.domain and I have no control over it. Internally, the main page to log in is caas.internal....
ytresfield's user avatar
0 votes
1 answer
146 views

Apache Redirect with OR Operator

How can I use the Apache OR operator to redirect several paths to one URL? E.g.: RewriteEngine on RedirectMatch 301 /foo || /foo/bar || /das.html https://example.com/ext/ddy/$1 Thanks for any help.
GTS Joe's user avatar
  • 199
0 votes
2 answers
415 views

Nginx redirect specific page with data to another page using data

i have tried a few diffrent things i have found on this site but cant seem to get any working i am lookin to redirect using nginx from one media file to another while using the arument data to build ...
user72261's user avatar
0 votes
1 answer
1k views

Can DNS TXT record broke website? [closed]

I had job to verify website to Facebook with dns records. So I did it and now website shows hosting provider template and redirect to his website. I had add something like this: NAME FILE VALUE ...
Patryk Chowratowicz 'Zszywacz''s user avatar
1 vote
2 answers
1k views

Apache redirect HTTP to HTTPS Redirect or Rewrite?

I have found two way to redirect http to https with apache. Using Redirect Redirect / https://mydomain/ Or Rewrite RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule ^/?(.*) https://mydomain/$1 [...
Tobia's user avatar
  • 1,312
1 vote
2 answers
4k views

How do I correctly implement DNS and redirects from subdomain to domain

We are updating our website (example.co.uk) part of which involves setting up 301 redirects from the old site, in the .htaccess file — which is fine and straightforward. The old site had an area that ...
Aaron's user avatar
  • 11
1 vote
0 answers
103 views

WP with reverse proxy: Accessing Admin section from subdomain

I have a blog on a subdomain (WP installation), which for SEO reasons I’m moving to a folder structure. The subdomain and the main site are on different servers/platforms, so I’m using a reverse proxy....
Dalv's user avatar
  • 11
0 votes
1 answer
466 views

Redirects from Nginx reverse-proxyed Django ASGI server going to wrong subdirectory

I'm trying to install Etebase in a subdirectory of my Nginx webserver. (I'm also running a Pi-hole dashboard on this server in a seperate subdirectory.) Etebase is a Django app using ASGI. I'm using ...
dan9er's user avatar
  • 103
0 votes
0 answers
278 views

NGINX Get local IP for proxy_pass

Is it possible to pass in a variable such as $server_addr into proxy_pass. proxy_pass http://$server_addr:8096/; If I do this, I run into issues where it doesn't load. Is this possible on what I'...
SpenserWilson1's user avatar
1 vote
1 answer
458 views

.htaccess Redirect 301 - Single pages work fine, homepage doesn't

I'm trying to redirect some specific pages to the new ones on my new site (these redirects work fine) and, finally, my homepage OR (even better) my homepage and all the pages which I didn't redirect ...
Daniele Carollo's user avatar
-1 votes
1 answer
2k views

Nginx redirect with vue not working

EDIT: I'm serving my node backend with proxy_pass like: location / { allow all; } location /backend { proxy_pass http://localhost:60702; # Some headers } When removing this file ...
why me's user avatar
  • 113
0 votes
2 answers
2k views

Nuxt.js program not running on the Main Domain with Apache in Ubuntu

I have a Nuxt.js program that I run on Apache in Ubuntu OS. When I port it to a subdomain like www.example.com, it works fine; But when I port it to the main domain such as example.com, my program ...
MRS1367's user avatar
  • 51
0 votes
1 answer
1k views

NGINX Redirect everything except one location

I have an average nginx server configuration for a PHP application. I'm trying to redirect all requests to a new endpoint, except for one location block. location / { # redirect everything ...
Pedro's user avatar
  • 291
0 votes
1 answer
255 views

Force redirect from http://host.com:8080 to https://host.com with nginx + apache2

I'm using nginx and Apache 2 : Here is my configuration in nginx: server { listen 80; server_name hostexemple.com; root /home/user/web/www/public; # Redirect requests ...
injetkilo's user avatar
  • 101
0 votes
1 answer
1k views

Masking link with a 302 redirect through nginx not working

I'm trying to mask an affiliate link, so I want to have a 302 redirect through nginx I want to redirect all /go links to the respective affiliate link, so all link redirects would be like mydomain.com/...
spacing's user avatar
  • 103
0 votes
2 answers
349 views

I can´t redirect HTTP to HTTPS in my Apache server proxy

(Sorry for my bad english) Hi, i know that this is not the first question about redirect to a secure conection in a proxy server but i have no ideas how to resolv it. this is my config ErrorLog ${...
Camilo Fuentes's user avatar
0 votes
0 answers
321 views

Redirect to magento 2 store in htaccess

I'm using SetEnvIf Host to redirect users to the correct magento store depending on the domain name. This works perfect for https://www.domain.co.uk, http://domain.co.uk and http://www.domain.co.uk. ...
Jonas de Herdt's user avatar
1 vote
1 answer
127 views

.htaccess redirect root to i18n content

I'm facing problem with .htaccess and have not idea how to solve it. Our webpage is exposed on two domains: example.de and example.com. I would like to redirect user to i18n content when user request ...
Patryk Rogosch's user avatar
1 vote
1 answer
3k views

Apache2 - default SSL/HTTPS page - aka. <VirtualHost *:443>

This is a very simple question. I have several websites hosted. Some are HTTP, some are HTTP and HTTPS. It all works. However, if I mess up an SSL site by pointing a domain at my server where the SSL ...
Apache's user avatar
  • 294
0 votes
1 answer
2k views

Nginx location redirect to destination URL obtained from a different server

In my current scenario there are a dozen domains with a PHP redirect script set up on them that obtains the destination URL from a SQL database based on the $_SERVER['QUERY_STRING'] parameter passed ...
Alex Protopopescu's user avatar
1 vote
1 answer
4k views

On synology dsm, add a specific nginx config to a specific virtual host

On a synology dsm we use an nginx webstation. On this webstation we have (several) virtual hosts. One example is that we wish to redirect all incoming traffic on port "282" (which is beyond ...
paul23's user avatar
  • 203
2 votes
1 answer
108 views

.htaccess redirect/rewrite many domains to many domains

My idea is: requests to service.example.com should be redirected to service.example.com, all the other requests to example.com should be redirected to base.example.com My host is configured in such ...
Tomek's user avatar
  • 21
0 votes
1 answer
60 views

Full traffic redirect

I've the following network layout: IMAGE I need to permit to [PC 1] to comunicate with [NETWORK DEVICE] placed in the other side of wan. The software in [PC 1] must "see" [NETWORK DEVICE] in ...
albcar's user avatar
  • 3
1 vote
0 answers
561 views

Redirect Permanent in Virtual Host apache configuration behaving not as expected

I have multiple domains pointing to the same IP. RedirectPermanent works fine for all domains IF and only IF the pages are NOT existing, and I get the 404 default page of my website. If I type in the ...
giulio rdcom's user avatar
0 votes
0 answers
38 views

nginx multiple servers with catchall always triggering catchall

I want to host 2 sites on 1 server (to save money, my server is only using like 2% CPU at any time anyway). I ran into an issue a month ago where google shows my IP instead of domain in search results,...
Monkey Man's user avatar
1 vote
1 answer
224 views

Nginx Redirect regex

I have this url: https://example.com/admin/catalog/product/view/id/45533/?___store=en_us&sendAttributionID=email_automation_5ffa6c5967af4527508858fb&ContactID=...
G. G.'s user avatar
  • 143
0 votes
1 answer
86 views

Name and severity of this type of redirect fraud

On my server, I track clicks to external websites that serve as references. Recently, visitors from Russia have been clicking on http://emotionathletes.org/redir?url=http://freedatingsiteall.com, for ...
miguelmorin's user avatar
0 votes
1 answer
775 views

403 redirect not working .htaccess

I want to block users from India from the website and redirect them to a custom 403 page. Here's the code that i placed in .htaccess file: ErrorDocument 403 /403.html deny from 1.6.0.0/15 deny from 1....
Angira Kartik's user avatar
1 vote
1 answer
279 views

Does an .htaccess redirect to a different folder activate the second .htaccess within?

On my apache site, I have the following redirect: RewriteCond %{REQUEST_URI} !^/web/ RewriteRule ^(.*)$ /web/$1 which redirects from the root directory, to the "Web" directory. Will this ...
Eliezer Berlin's user avatar
0 votes
1 answer
177 views

Apache redirection (to a single page on another domain/server) does not work

I want to set a redirection from only a set of sub pages to another url but it does not work. Is it because it is not on the same machine/network (something else) ? Should I add its certificates on ...
oneagain's user avatar
0 votes
1 answer
1k views

Nginx Redirect for Specific URL

For our site's server block in nginx, I have these location directives: location ~* ^.+\.(ico|css|js|eot|woff|otf|svg|gif|jpe?g|png|swg|woff2)(\?[a-z0-9=_]+)?$ location /applications/ location / ...
Ghan's user avatar
  • 25
0 votes
0 answers
77 views

How to execute php file on calls to CSV?

I'm trying to find out how to generate CSV file with php on nginx when CSV called for download. E.g. when facebook calls www.site.com/feeds/feed1.csv server should execute www.site.com/feeds/feed1.php ...
Demuri Celidze's user avatar
0 votes
1 answer
124 views

SSL certificate for Domains not in use

I am not sure if my title makes sense, but here is the situation. My site is hosted on GoDaddy, and the monthly fee includes an SSL certificate for the domain. I have also registered domains that ...
Carolyn Melo's user avatar
1 vote
1 answer
2k views

nginx not redirecting to https

I am following the instructions on this page to setup an R Shiny server on a DigitalOcean droplet. What I would like to have: A Shiny server running on shiny.domain.com Automatic redirect from shiny....
nico's user avatar
  • 113
1 vote
1 answer
200 views

"redirect permanent" doesn't stop

I configured SSL/TLS for a site, and added a redirect line to the original config. Redirect permanent / https://mypage/ And it worked fine. Now i was tasked to make it back. I deleted the SSL-based ...
Tornyai Péter's user avatar
0 votes
0 answers
14 views

Redirect Url on Apache Server

i have this url: https://pouv.com/presentation/vues/restreint/gestionnaire/**** i want to redirect to: https://pouv.com/bo/ I do this on my .conf: ## Rewrite rules RewriteEngine On RewriteRule ...
Mercer's user avatar
  • 113
1 vote
1 answer
9k views

htaccess redirect all urls with question mark parameter to without

I checked a lot, for my question. there are some close, but none that would solve my problem. I need to permanently redirect ALL URLs that end in this: ?mode=list AND ?mode=grid to without (remove ...
vyperlook's user avatar

1
3 4
5
6 7
47