Category "redirect"

.htaccess 301 redirect with exclusion does not work

I try to use a simple 301 redirect from domain1.com/folder/ to domain2.com/ but excluding domain1.com/folder/subfolder I use the following code in .htaccess: Re

Replace part of a long URL and redirect

Is there a way to redirect the URL as follows: URL is generated based on a filtering system so it is like this https://example.com/product-category-no-slash-gen

Nexcloud + Reverse proxy ERR_TOO_MANY_REDIRECTS when trying to access my subdomain

In order to host multiple websites I'am trying to reproduce the following schema diagram The redirection works correctly with the following sites and without ha

PHP redirect if user is from google search

Can I detect if user clicked on my site from google chrome or google search and redirect them? I know that I can detect Chrome user with this function: if (strp

How do I redirect an address to another docker container using the nginx?

Im trying to redirect to docker containers using nginx but when accessing my server from an 'external pc'(host and other vagrant machines) the address doesn't r

WordPress Redirection Plugin Redirect

I'm trying to redirect a page and any subpages to the root but I can't find a way of doing it. I'm using the redirection plugin (https://redirection.me/). I wou

Express Redirect to index.html doesn't render app.js (React Refresh Cannot Get issue)

I'm relatively new to React, but facing an issue which I understand to be fairly common; my app works fine, but when I refresh or try to link directly to a rout

How do I check all the redirects of a URL and get it as an array?

I'm making a site which checks all the URL redirects, just like wheregoes.com. This site doesn't provide any APIs. I have to get all redirects, then select the

iOS TikTok's internal browser doesn't activate javascript redirect to url

When my page is opened from tapping the link on a TikTok iOS app profile, my javascript redirect doesn't fire when the page is loaded in the webview. If you hit

Redirect wordpress website to another site

I moved my wordpress website with updraftpluse backup plugin to another domain and now when I open new domain website redircet to Previous domain. what can I do

Bookmarklet redirecturl trims off #tag

I have a bookmarklet I use to autologin to certain test sites but I have it to where I can redirect them to specific pages after the login occurs. However the u

Redirect with PHP after ajax call

Im doing the following ajax call: $('#save_sale').click(function() { var save_sale = 1; $.ajax({ type: 'GET', url: 'summary.php',

Possible to alias a download link (to file in AWS S3 bucket): ".../Foo_v1.0.13" <-- ".../FooLatest"?

This seems like something that happens often enough that there might already be some provision for doing it that I'm not aware of... Users of our app download o

IIS Web.config Rewrite rules - Redirect rules with - or + chars

https://someserver.com/path01/2011/abc+and+def/88722 https://someserver.com/path01/2011/abc-and-def/88722 I have several URLs that I need to create a redirect

Redirect 404 to homepage in Nextjs with dynamic routes

I am trying to redirect 404 pages to the homepage in Nextjs, but because of a rule in the next.config.js it does not work. Every other 404 redirects to homepage

Tomcat: Redirect a Rest Call and use part of the URL to build the parameters

I have an Apache Tomcat server and I need a solution (inside or outside tomcat) to transform the Rest call for instance from "/equipment/instance/{id}/state" t

Popup which persists through page redirect Next.js (React)

I am using Next.js for one of the projects that I work on. I wonder if someone could help me with an advice on how to show a popup (popup component, I think it

How can I use .htaccess rewrite to redirect the root URL to a subdirectory, but also have a fallback when nothing is found?

I'm trying to find a solution for changing root to default to subdirectory_1, but when where is no file/directory inside subdirectory_1, redirect all request to

Cypress redirects randomly making test flaky

I have encountered a wierd redirect in my cypress tests that occur seemingly randomly and I would really appreciate some help on why this is happening. As you c

How to rediret all requests to another host in IIS

I want to redirect all requests from the old domain to a new domain. For example: From: oldhost.com/app1/houses?city=springs To: newhost.com/app1/houses