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
0 answers
15 views

Application actions based on URL

I am sorry if this question was already asked, but I do not know how to frame it differently - none of my searches found something that answers this. I am currently using Windows 11 and XAMPP, with ...
Kobus Myburgh's user avatar
0 votes
0 answers
8 views

HaProxy custom ports

I need to load balancing one of our customers application portal. The flow works as follow: The enduser reach the portal through the URL example.net:3000/login page; The enduser will choose one of ...
FriendlyPotat95's user avatar
0 votes
1 answer
26 views

apache redirects to local IP on virtual machine

I'm having a problem with my apache setup. I'm using a Proxmox server with multiple virtual machines and only one public IP. Apache runs on the Proxmox host and forwards the requests to the virtual ...
xtrose Media Studio's user avatar
0 votes
1 answer
45 views

Weird 301-redirect to http from https only happening with CF as proxy on /wp-admin on www subdomain

I have a wordpress blog on an EC2 instance on AWS using the AMI image aws-marketplace/bitnami-wordpress-6.3.2-6-r09-linux-debian-11-x86_64-hvm-ebs-nami-7d426cb7-9522-4dd7-a56b-55dd8cc1c8d0 In ...
user1015149's user avatar
-2 votes
2 answers
32 views

301 redirect the old domain with a certain link to a new domain with the same link

I have a problem, I want to redirect htaccess The content of domainold.com is still used, only this URL has changed from the Old website, namely http://domainold.com/product/register to my new site, ...
Project Downgrade's user avatar
0 votes
1 answer
31 views

nginx redirect subdirectory

rewrite ^/faq/(.*)$ /faq/$1 redirect; I would like to redirect domain.tld/faq/* to domain.tld/faq/ Unfortunately, this leads to an endless loop. Background: There was the FAQ url and very many other ...
Andreas Armbruster's user avatar
0 votes
1 answer
56 views

nginx redirects with changed response code

I am trying to redirect any location that gives 404 to the front page and change the response code to 302. According to nginx documentation this should be possible? https://nginx.org/en/docs/http/...
7fc9ecfc6810c58545e1bc3b556003's user avatar
0 votes
0 answers
32 views

Kubernates - ExternalName Service rewrite method from POST to GET after HTTPS redirect

Imagine to have this scenario: An API Gateway A Backend Service deployted on a Kuberantes cluster. Also we have: An external authenticated service (imagine an external web application out from our ...
Bugpirasi's user avatar
  • 101
0 votes
0 answers
11 views

Avoiding redirect server's url to www for specific url path

I want to enable auto-verification of deep links in Android for which I need to host the file assetlinks.json on my server https://mycompany.com. This will allow auto-verification of my deep links ...
Pankaj Badgujar's user avatar
0 votes
0 answers
39 views

Test Page Apache httpd on docs.domain.com

I have a wordpress website server running on linux. I have a issues when I enter docs.domain.com it opens a Test Page Test Page pic . So my target is when users enter https://docs.example.com to ...
AZAZEL's user avatar
  • 1
1 vote
1 answer
30 views

Redirect removing sufixes after 3 URL segmentes in Nginx

This is the URL that I need to remove the last segment (?order=asc) https://www.example.com/segment_1/segment_2/page/the_number_goes_here/?order?asc This is the code I'm trying: location ~ ^/([^/]+)/(...
btgen's user avatar
  • 11
1 vote
0 answers
108 views

Apache Server Forward Proxy : How to redirect to a custom page?

On Apache server (Xampp) I have make a forward proxy for firewall filtering that works well, but I don't understand how to use RewriteRule to redirect a forbidden url to a custom error page. I wish to ...
Eremin's user avatar
  • 11
0 votes
1 answer
46 views

Special redirect NGINX Wordpress removing last segment

I need some guidance on how to redirect this the proper way... I have a site on nginx and a bunch of malformed URL's (crawled by Search Console) that I need to redirect with 301. My CMS is Wordpress ...
btgen's user avatar
  • 11
-1 votes
1 answer
112 views

nginx refuses to redirect all 404 pages to my index.html

I want Nginx to redirect all pages that are 404 to my index.html. This nginx is running as a container. Yes I have confirmed nginx is actually being reached as the docker-compose log output shows the ...
Dave's user avatar
  • 287
1 vote
1 answer
69 views

How to remove amp word from center of url

I removed Amp Module from our site and I need to remove amp word from center of all of urls. Using Nginx Web server for example : mysite.com/shirt/nike?amp=1&product_list_dir=asc&...
peyman peymani's user avatar
1 vote
1 answer
38 views

Nginx subdomain to subdomain redirect not working

The config below redirects to .another-domain.com with empty subdomain name. What am I doing wrong? server { server_name ~^(\w+)\.domain\.com$; location / { rewrite ^ $scheme://$1.another-...
Vladimir's user avatar
  • 135
0 votes
1 answer
103 views

How redirect ANY site not found in Hestia to another server - Nginx proxy manager

I want: if ANY site not found in (Hestia 192.168.0.37 server) then redirected (Nginx proxy manager 192.168.0.36) Given: Hestia server 192.168.0.37 Nginx proxy manager 192.168.0.36 Site for test ...
dr.ipkins's user avatar
0 votes
0 answers
36 views

Mask Url from path to subdomain using NGINX

I want to achieve url rewrite as such: https://documentation.domain.com/login to https://app.domain.com/login https://api.domain.com/login to https://app.domain.com/login , any sudomain with url {...
Jason The Dynamite's user avatar
0 votes
0 answers
96 views

NGINX Rewrite path to subdomain with cloudflare results in Too many redirects

I want to achieve url rewrite as such: https://documentation.domain.com/login to https://app.domain.com/login https://api.domain.com/login to https://app.domain.com/login , any sudomain with url {...
Jason The Dynamite's user avatar
0 votes
0 answers
28 views

Nginx missing trailing slash redirects to the wrong url behind proxy

We use an nginx webserver behind an nginx proxy. When i try to browse a subpath, the nginx backend webserver (something.example.local) appends a trailing slash behind the url (301 redirect) -as ...
5poharviz's user avatar
0 votes
0 answers
83 views

Using Rank Math REgex for subfolder redirects to home

So short summary: im a SEO specialist working on a website that has over 1000 404 pages due to a translator app. The subfolders /de/ /fr/ /es/ /en/ and URL's within the subfolder need to be redirected ...
user1043312's user avatar
0 votes
1 answer
43 views

How to block all requests starting with "?mode" on Apache?

Recently my website was hacked and now I have around 20000 indexed links in Google that were redirected to other sites via my website. Now I have stopped all redirects but I have too many request on ...
Ahmad Eidizadeh's user avatar
0 votes
2 answers
42 views

Path not excluded by mod_rewrite config

I am trying to roll my own vhost config to handle certbot/letsencrypt. I want to redirect anything other than requests to /.well-known to HTTPS. But the exception for .well-known is not working; ...
symcbean's user avatar
  • 21.9k
1 vote
0 answers
76 views

htaccess: I can't redirect to nested subfolders correctly on the WordPress app

I have a multilingual WordPress site that has two languages: en and tr, It's site A. I wanna put my other WordPress site inside /tr/shop/ folder, It's site B. Just need only these rules: /en/anything/...
user avatar
0 votes
0 answers
23 views

Pass requests for specified hosts throw VM

I have VPN that restrict all internet except inner resources. I don't like it and i want to install VM, connect it to VPN and redirect all requests for specified hosts to VM and get back answer. Is ...
Алексей Емельянов's user avatar
0 votes
1 answer
79 views

Redirect Error website on VPS Ubuntu "www version" redirecting to "apache default page"

Hi I am a web designer and have recently starting maintaining a VPS server I am using a Lamp VPS server running ubuntu 18 with multiple PHP websites have edited virtual host and htaccess multiple ...
SACHIN HD's user avatar
1 vote
1 answer
190 views

Apache RedirectMatch not matching double slash

I want to redirect URLs with multiple consecutive slashes (e.g. //) in the path to have only one consecutive slash, e.g. https://example.com/a//b/c/ → https://example.com/a/b/c/. My .htaccess file ...
fionn's user avatar
  • 13
0 votes
1 answer
44 views

Is possible return a static page in https virtual host using lighttpd?

It seems like redirect is not done. If I put URL https://test2/static_page in browser it works but if I put https://test1 don't redirect SERVER["socket"] == ":443" { $HTTP["...
Aprendiz's user avatar
0 votes
0 answers
31 views

Learning reason of incorrect redirect in Nginx

There's a web app url of which may vary - it's either .com or my..com depending on if a user is logged or not. However, there's an element on the main page (that can be accessed via .com or my..com) ...
Gregory Miermont's user avatar
0 votes
0 answers
73 views

Nginx Redirecting Single Question Mark Request to Originaly URI

I'm trying to redirect URI's ending in a single question mark to the same URI with the single question mark removed. Running nginx/1.21.6 Here's an example. Original Request: https://domian.com/...
jordantrizz's user avatar
1 vote
2 answers
269 views

Apache rewrite rule for a folder to a different domain

I need to redirect all requests concerning a folder to another (old) web server called www2 keeping the entire original path, for example https://www.example.org/thisfolder/maps/map.jsp?id=2345 must ...
Steph's user avatar
  • 13
0 votes
1 answer
256 views

Exchange Online redirect rule doesn't reset "To" address

My configuration goal is to forward / redirect a message going to a mailbox to an external site (its an email capture setup). I was using forwarding, which is straight forward but includes the ...
Gerard ONeill's user avatar
0 votes
0 answers
213 views

Tomcat redirects from https to http even though it shouldn't

I had to change server cert for Tomcat and that's all what I've done. Now all of a sudden it redirects browsers from 443 to 80: % wget https://example.com/example --2023-06-04 19:56:35-- https://...
LetMeSOThat4U's user avatar
0 votes
0 answers
139 views

Alias custom domain to GitHub repository for git clone

What I'm trying to do is setup a custom domain name so that it can be cloned as a git repository using git clone. For example, $ git clone https://my-domain-name.tld/ # would be cloned into my-domain-...
kwyntes's user avatar
  • 101
-1 votes
1 answer
217 views

Cloudflare DNS keeps redirecting to a wrong site on the same server

I have a strange DNS setting glitch here. We are rebuilding and migrating two old sites to a new VPS server. They coexist now as below. We use Cloudflare DNS (NO reverse proxy). Site A: aaa.example....
Acon's user avatar
  • 1
0 votes
0 answers
67 views

How do I redirect a subdomain to another internal webserver without affecting the RDP Gateway

we have a standard windows server 2022 running IIS 10 and remote desktop gateway. we use rdp.domain.com for the gateway address for external RDP Users. we would like to run another internal windows ...
Arthur's user avatar
  • 1
0 votes
1 answer
58 views

Redirect a subdirectory to external domain

I want to redirect all the entries for a certain subdirectory to another (external) domain with the "rest" of the address. I have tried something but it does not work... server { listen [...
Maxime Chupin's user avatar
1 vote
0 answers
81 views

How to redirect all pages that contain an specific word using the .htaccess file

I have a bunch of indexed pages that start with the same word and they are all 404 so I want to redirect them all to the homepage of the site. The server is Apache, so I would like to use the ....
Pol Senserrich's user avatar
0 votes
0 answers
35 views

GeoIP-specifing nginx redirect for multiple servers

I need redirection based on country code I get from GeoIP (ngx_http_geoip2_module), but as I see, I can't use map because I need different conditions and destination URLs for different server ...
Sardorkhuja Tukhtakhodjayev's user avatar
1 vote
1 answer
308 views

Redirect active FTP traffic to another server using iptables

Network Scheme - IP addresses are fictitious Firewall SO: Centos 6 I recently enabled two-factor authentication, using Google Authenticator, and with that transfers via SCP for some users were ...
euduca's user avatar
  • 11
1 vote
1 answer
96 views

httpd redirect one port number to another

We are trying to redirect requests on port 8555 to port 8443. In our httpd.conf file, we have the following: <VirtualHost *:8555> SSLEngine on # SSL configuration that is irrelevant to this ...
user1207177's user avatar
0 votes
0 answers
115 views

Nginx Server Block Not Redirecting Properly

I've just recently swapped over to nginx from apache2, and it seems to be handling load times much better. However, I've now lost access to my forum subdomain. Whenever I goto my forum's subdomain, it ...
Michael Griffith's user avatar
0 votes
0 answers
217 views

Redirect port 443 to another SSL configured port on IIS 10

Fist and foremost, due to limitations imposed by our service provider I can only use 1 IP address for both 80 and 443, so multiple IP address configuration is simply not an option. So, I have a server ...
Mark de Wet's user avatar
1 vote
0 answers
64 views

How to redirect using .htaccess in Apache

I am using the following .htaccess rules to redirect the url for following conditions: RewriteEngine On RewriteCond %{HTTP_HOST} ^example\.com$ [NC] RewriteRule ^$ https://example.com/page.php [L,R=...
Bvc...'s user avatar
  • 111
0 votes
0 answers
61 views

Redirect route to a totally new one with same domain Nginx

The website with this route Domain.tld/faq.php=?lang=en&id=121 need to redirect to Domain.tld/some/121?lang=en not only id=121 but any id with the old route to be redirected to the new route. ...
Savvy's user avatar
  • 1
0 votes
0 answers
41 views

NGINX - redirect userdir to another domain

I had an apache virtualhost config that redirects "http://host.domain.com/~userdir" to another host: RewriteRule ^/~(.+) http://anotherhost.domain.com/~$1 [R,L] But I'm having trouble ...
Eder Andrade's user avatar
1 vote
1 answer
454 views

Default WordPress .htaccess rewrites causes default server page to load due to no default index page present for the root URL

I could really do with some help here please. I know this is a WordPress issue now through testing. If I allow .htaccess to process rewrites on my Wordpress sites by adding AllowOverride FileInfo to ...
J O's user avatar
  • 21
0 votes
1 answer
861 views

How to setup 301 redirections in GCP load balancer?

I've setup a static website on GCP using this tutorial. So I have a bucket and a load balancer. I'm trying to setup URL redirections in the load balancer to avoid BC breaks on old URLs. I want an user ...
Gregoire's user avatar
  • 103
0 votes
0 answers
432 views

Apache Tomcat Accept HTTP and HTTPS on same port and always redirect to HTTPS

Hi I have the following connector in my apache tomcat server in the file server.xml: <Connector port="8443" protocol="HTTP/1.1" connectionTimeout="20000&...
Viktor Carlson's user avatar
0 votes
1 answer
385 views

Redirection to a different server with the same domain

If a DNS server redirects mysrv.domain.io to the IP 192.168.0.100, but there is a second server in the network, let's say 192.168.0.101, that also "reacts" to the Host-Header mysrv.domain.io,...
Dash11235's user avatar

1
2 3 4 5
47