Questions tagged [redirect]
A response by a webserver, that asks the user agent to not show the response body, but instead request a different resource. Questions can be related to Redirect Protocols, Link Equity and Types of Redirects.
42,459
questions
0
votes
0
answers
5
views
Understanding Mobile Redirect
I currently have access to the server where pvmcitypaper.com is hosted. However, I do not have access to the registrar to make DNS changes.
I have created a page directing users to the new site. ...
1
vote
0
answers
28
views
Wear OS redirect issue PKCE
In our watch app project, we are using the PKCE approach to open a web view on a phone where the user puts login and password, and then using as a redirect url https://wear.googleapis.com/3p_auth/com....
-1
votes
1
answer
54
views
Use response url getting via ajx in ajax success not working
I am sending data from ajax and returning response from php script.
Returning response using in ajax call is not working.
I want to redirect user to url received from **payment-process.php** script.
...
-1
votes
1
answer
17
views
Redirect from one domain to another with .htaccess
I run a bilingual website which is accessible via two domains (beispiel.com and example.com.
Now I want to set up the following redirects:
All urls beginning with beispiel.com/fr should be redirected ...
1
vote
1
answer
29
views
How can I redirect with dynamic parameters using Nginx?
I'm currently receiving a request to my Nginx server at domain1.com/test?param1=123¶m2=abc¶m3=xyz. I need to take the three parameters, execute a separate HTTP call using those ...
-2
votes
0
answers
12
views
How to get back to position after redirecting word press website or changing name of domain
I have redirected my old domain (spotifymod.com) to a new one (spotypremium.com following all guidelines google provides. Steps:
I have setup the domain and hosting for new domain, and uploaded all ...
-1
votes
0
answers
30
views
How to redirect a page in JavaScript? [closed]
I have made a Javascript code, which will redirect a login page into main html page but it is not redirecting as expected.?
I used window.location.assign("main.html") in javascript but it is ...
0
votes
1
answer
38
views
Redirecting to a razor page after successful login in ASP.NET MVC
I want to redirect to the following Razor page after successful login:
[Route("api/[controller]")]
[ApiController]
public class AdminController : Controller
{
private readonly AppContext ...
0
votes
0
answers
23
views
How to forbid the Redirection when the url contains the folder name under the `build` folder of Frontend project?
I have a WEB application. When I try to access:
https://{myDomain.com}//example.com/..;/assets
The browser will bring me to another domain:
example.com/..;/assets
After my research, i found there ...
0
votes
0
answers
11
views
A way to actually block redirects and popups and to limit number of tabs in Android chromium based browsers
A way to actually block redirects and popups and actually limit the number of tabs in Android chromium based browsers, the block pop-ups and redrect option is useless in a browsers settings, doesn't ...
0
votes
0
answers
6
views
Customize Individual Page will shown in header menu after Specific product purchased in WooCommerce Order
I am trying to while user purchase a specific product than after purchasing the product after that particular user while login his/her account and it will shown one hidden page in header menu.
I have ...
1
vote
2
answers
65
views
php redirection issue "location header not found"
I might need a little advice on my assignment. I'm working on a php script that processes html form and saves the data. The issue I'm having is with the redirection. Basically, if all the data are ...
0
votes
0
answers
11
views
"Redirect many times" I frame tag issue
I have a website login page with ASP.net I want to add it as an I frame on another WordPress website with Elementor but it gave me a "redirect many times error".
`your text`
this is the ...
0
votes
0
answers
20
views
How to perform 301 redirect in Vue JS 3 using SSR
I'm trying to implement a 301 permanent redirect in a Vue JS 3 application using Server-Side Rendering (SSR). I've tried using the this.ssrContext.res.redirect method, but it's not working as expected....
0
votes
1
answer
28
views
Flask return redirect(url_for('xyz')) causing TypeError: '<' not supported between instances of 'int' and 'str'
Please bear with me, I'm a complete noob and this is my 1st ever request for help so don't really know how to articulate the problem or what to provide to help articulate it.
I'm receiving the "...
-1
votes
1
answer
24
views
When we redirect page in asp.net it seems to cache the URL and won't redirect to new URL
I have a scenario where I map the url on a page and of URL maps with redirect URL in database then I redirect it to the new URL mapped for redirect.
if (vURL == ds.Tables[0].Rows[0]["New_URL&...
0
votes
0
answers
15
views
Is redirecting output with > redundant when using slurm?
I am running my program with slurm. I want all output (and all errors) to go to logfile.log. My sbatch script is
#!/bin/bash
#SBATCH --output=logfile.log
#SBATCH --error=logfile.log
srun PROGRAM
I ...
1
vote
1
answer
56
views
Bottom Tab Bar is not visible in all the pages
The below are my sidebar view and bottom tab bar view..The tab bar is visible only in the views that is associated with that(I mean home, search, profile and settings but it is visible in the pages ...
0
votes
0
answers
25
views
Redirect SKU from URL directly to specific product variation in WooCommerce
I want to be able to open product page directly from URL by SKU (/?sku=GIVEN_SKU). This code works well, but only for normal products:
add_action('template_redirect', 'sku_url_redirect');
function ...
0
votes
0
answers
21
views
Redirection 301 from prestashop category and product links (source) to woocommerce product and product links (target)
Do I need to permanently 301 redirect the category and product links of the prestashop source site to the category and product links of the woocommerce recipient site?
SOURCE CATEGORY LINK:
https://...
0
votes
0
answers
24
views
How to (pre)fix path for vite proxy if server sends 302 redirect
I have a vite proxy configuration like so:
server: {
port: 4200,
host: 'localhost',
proxy: {
'/api': {
target: 'http://localhost:8000',
changeOrigin: true,
...
0
votes
1
answer
53
views
redirecting my http://website to https://website doesn't work
I would like to redirect all traffic to https for our web server. We're running a docker container with nginx.
When checking from within the server my redirection, it seems to be doing the redirection
...
1
vote
0
answers
36
views
.htaccess not working as expected for /public/ redirect
So, I am working on this php framework of my own called PHP Launcher. There I have .htaccess to acheive the following:
if project is in a sub dir of server's root dir, then RewriteBase /sub_dir/
if ...
0
votes
0
answers
31
views
Link a subdomain to a web service hosted in IIS in windows Server
I have a WCF web service on windows server hosted in port 80 on IIS. I have a sub domain too. I want link subdomain to my web service.
For example:
My server IP: 91.106.223.89
My domain : sub.mydomain....
0
votes
0
answers
10
views
Why Domain Redirection not working on mobile
i am creating an adult content streaming website and i need domain redirection for my website because of the government regulations,
so briefly my main domain is banned from the country but accesible ...
0
votes
0
answers
16
views
How to redirect hyperlinks with a custom chrome extension
I am kind of a noob at chrome extensions. So far I have a chrome extension, which adds a context menu option that allows you to open a YouTube shorts video as a regular video.
Right clicking the short ...
0
votes
1
answer
65
views
Azure Node web app Entra ID login page redirection problem
I deployed a simple sign in and sign out Node application with Microsoft authentication on Azure. I hope after login with Entra ID, the redirect page can return to home page with user info. However, ...
-1
votes
0
answers
51
views
Can't redirect back to my custom domain URL
I have a problem with the DOMAIN URL in my Razor Page web app.
Here is the original URL which looks like this:
https://mySiteName-stage-bo.azurewebsites.net
And there is the custom domain:
https://...
0
votes
0
answers
36
views
React router outlets migration to Nextjs 14 app router
I'm trying to migrate the starting part of CRA app, but I'm not sure how to do it with app router in Next.JS 14, because I'm using outlets.
Routers in CRA app:
<Route path='/' element={<...
-1
votes
0
answers
32
views
Regex redirect everything under parent except for parent itself and another directory [duplicate]
We are trying to redirect everything under /webinars/ to /webinar/ while excluding the /webinars/ parent page/folder.
So /webinars/abc should redirect to /webinar/abc. But /webinars/ should be ...
0
votes
0
answers
11
views
How to have 301 response on angularjs SPA - dotnet
Im seeing 301 response on network tab but on wheregoes or any SEO redirect tools, im getting 200 response. Any idea how to trick SEO tools to have 301 redirect response?
Controller
[HttpGet]
[Route(&...
0
votes
0
answers
18
views
How to redirect to a URL with a query parameter after sign in with google?
import React, { useState, useEffect } from "react";
import '@fontsource-variable/dancing-script';
import {
Box,
HStack,
Flex,
Text,
Button,
Alert,
AlertIcon,
Link,
VStack,
Heading,
...
-1
votes
0
answers
17
views
Google Signin redirecting to blank page
I am setting up google signin (GSI) and after I signin and it should redirecting to the page but it sends me to a blank page with the correct url, if I go to the url box and just press enter it sends ...
0
votes
0
answers
16
views
How to redirect from '/collections/all' to '/collections/shop-all' with Liquid or JS from Shopify
I had a store on Shopify where I would like to know how can I redirect from '/collections/all' to '/collections/shop-all' with Liquid from Shopify. (But I already have read that you can't redirect ...
0
votes
1
answer
63
views
Dynamic URL query redirect on action in React
I am attempting to use a redirect with a query from a form in React. I have tried numerous ways but cannot seem to get it to work. I am new to front end development on the whole so what seems fairly ...
1
vote
2
answers
31
views
How do I return 404 for a certain apache request that contains spaces?
What is an easy / reliable way to return 404 for an url that looks like this (using .htaccess) ?
/foo/my file name.jpg
I should be able to block more urls in the .htaccess over time, so it is not ...
-1
votes
1
answer
52
views
Re-Direct Empty WooCommerce Search Result To Custom Page
I am trying to achieve a re-direct to a custom URL for all product search results that return a 0 result. With the code below I get "Fatal error" message screen in WordPress.
This is my code:...
0
votes
0
answers
11
views
Unwanted redirection to homepage after turning taxonomy to 'public'=>false
I have in my site (a site with Elementor, if it's matters) taxonomy 'aaa' with taxonomy term 'bbb'.
When I registered this taxonomy, it was set to 'public' => true. Now I changed this setting, so ...
-1
votes
2
answers
61
views
How to Set Up '301 redirect' from '/collections/all' to '/collections/all/shop-all' on Shopify?
I'm just tryin' to set up a link as the '301 method', tryin' to redirect from '/collections/all' to '/collections/all/shop-all' on Shopify, where when I click from the 'Shop' button, it needs me to ...
2
votes
1
answer
118
views
500 - Internal server error after publishing redirect in ASP.NET MVC application
I have the following redirect for a page with a new URL:
[RoutePrefix("eventos-online")]
public class OnlineEventsController : Controller
{
[Route]
public ActionResult Index()
{
...
0
votes
1
answer
122
views
NextJS 14 and Supabase Authentication with Redirect
I have a NextJS 14 (Typescript) application and using Supabase as Saas Backend.
My app/login/page.tsx file renders the following component:
'use client'
import { useFormState, useFormStatus } from '...
0
votes
0
answers
16
views
nginx how to redirect aaa.com/app/query to ccc.com/#/query
My project requires configuring reverse proxy using Nginx. I want to proxy htttp://aaa.com/app/query to http://ccc.com/#/query.
I have tried several approaches, but none of them worked.
location /...
0
votes
0
answers
31
views
I Need Help NodeJS Sessions Getting Cleared After Redirecting Pages When Posted On Vercel
Currently I'm using node.js and Supabase as database also I posted my website in vercel. Now after I logged in succesfully I go to homepage with the data and its working meaning in the studentHomePage ...
-3
votes
0
answers
85
views
How to keep bots busy with PHP
I have a small web page with PHP that answers requests for small JSON data files (about 500 bytes or so). It works perfectly.
However, I have 4 IPs that look like bots that make tens of thousands of ...
0
votes
0
answers
15
views
How to fix 301 redirect loop in the client browser
I have two domains. Let's say aaa.com and bbb.com. Aaa.com was for a long time redirected to bbb.com with a 301.
bbb.com is the site that is currently live but this is on the domain that we do not ...
0
votes
0
answers
11
views
Namecheap and domain redirect
I own a domain name on Namecheap (let's say example.com), and I'd like http(s) calls on this domain to be redirected to my Synology dynamic DNS (example.synology.me). I have tried with CNAME records (...
0
votes
1
answer
22
views
Setting up a wildcard subdomain in Apache
Help me configure the following logic: when example.ru is requested, the content from var/www/example.ru should be displayed. When *.example.ru is requested, the content from var/www/subdomain should ...
-4
votes
0
answers
27
views
Wordpress, insert a page in the path of a Woocommerce category
There is a trick to insert a page inside a Woocommerce category path.
To explain myself more simply, I'll give an example.
I have a Woocommerce category with this path domain.com/phones/. I want to ...
0
votes
0
answers
57
views
How to implement maintenance mode in Nuxt 3 with a global middleware?
I'm trying to implement a maintenance mode in my Nuxt 3 application. I have created a middleware (maintenance.global.ts) that I want to run on every page call and change, whether it's through a nuxt-...
0
votes
1
answer
26
views
Wordpress website intermittently tries to redirect to a scam website lan05(dot)biz [closed]
I know very little about website design, etc, and a few year ago inherited the responsibility of keeping my org's website current: I add pictures to a slideshow, change the text on the main page to ...