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
1answer
34 views

Point Webflow site to domain.com/webflow-site

I'm using google domains to host my frontend web application at domain.com. I also have marketing pages that are built on webflow.com that I'd like to seamlessly integrate with the domain.com. I'd ...
0
votes
0answers
18 views

nginx single location redirect to https SSL_ERROR_RX_RECORD_TOO_LONG

My nginx (1.14) configuration server { listen 80 default_server; server_name _; location ~ /(download|upload) { proxy_pass http://download_upload; } location / { ...
0
votes
1answer
17 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 ...
-1
votes
0answers
10 views

Multiple nodejs apps nginx configuration

I've configured two nodejs apps and launched them using pm2. domain.link - running on port 8080 auth.domain.link - running on port 3000 I've configured nginx for domain.link and everything is ...
1
vote
1answer
30 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 ...
-2
votes
0answers
23 views

Redirect request from an external IP to another external IP

I access an external application through an IP 192.XXX.XX.XXX/application and some buttons in that application are configured to forward the request to the internal IP 10.XXX.XX.XXX/aplication_2. Is ...
1
vote
1answer
24 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 ...
0
votes
0answers
40 views

Nginx proxy 302 redirect location header is wrong

I have a problem with getting Nginx proxy(http://localhost:8091) to work with Mautic instance, the original Mautic website works like that(I swapped all urls to https://mautic.example): When you visit ...
-1
votes
0answers
13 views

Add site-specific redirects in nginx on Heroku

I’m using Heroku to host a PHP-based application. I’m onboarding a website so need to set up 301 redirects between the old site’s URL structure and the new URL structure. Reading Heroku’s docs, it ...
-1
votes
0answers
21 views

Nginx redirect from page “File not found” for all non existing PHP files

I have redirect for 404 error: location / { error_page 404 /; } but it doesn't work for: example.com/somephp.php When I put this in URL I only see "File not found" and blank page. ...
1
vote
0answers
21 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....
0
votes
0answers
23 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 ...
0
votes
1answer
25 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 ...
0
votes
1answer
24 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 ...
0
votes
1answer
50 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://...
0
votes
1answer
53 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....
0
votes
1answer
46 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.
0
votes
2answers
25 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 ...
0
votes
1answer
74 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 ...
0
votes
2answers
40 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 [...
1
vote
2answers
36 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 ...
1
vote
0answers
13 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....
0
votes
1answer
45 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 ...
0
votes
0answers
26 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'...
1
vote
1answer
29 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 ...
-1
votes
1answer
24 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 ...
0
votes
2answers
106 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 ...
0
votes
1answer
37 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 ...
0
votes
1answer
31 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 ...
0
votes
1answer
45 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/...
0
votes
2answers
37 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 ${...
0
votes
0answers
30 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. ...
0
votes
0answers
38 views

How to redirect URL via Google cloud functions?

I have subdomains, site1.mydomain.com , site2.mydomain.com I'm using vhosts in one server. site1.mydomain.com is not use in now. In site1 conf file it redirects somewhere. My boss asking me do it with ...
1
vote
1answer
22 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 ...
0
votes
1answer
40 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 ...
0
votes
1answer
48 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 ...
0
votes
0answers
193 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 ...
0
votes
0answers
19 views

Disable global Redirect directive in Apache for a given Virtual Host

I'm trying to disable a global redirect for a particular virtual host. The redirect is RedirectMatch "^/$" "/plinth" I have a particular virtual host where that redirect is ...
2
votes
1answer
99 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 ...
0
votes
1answer
33 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 ...
1
vote
0answers
86 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 ...
0
votes
0answers
16 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,...
1
vote
1answer
58 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=...
0
votes
1answer
34 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 ...
0
votes
1answer
75 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....
1
vote
1answer
27 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 ...
0
votes
1answer
22 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 ...
0
votes
1answer
63 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 / ...
0
votes
0answers
18 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 ...
0
votes
1answer
93 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 ...

1
2 3 4 5
43