Questions tagged [redirect]

"HTTP Redirection" – the process by which a request for one URL is automatically replaced by a request for a different, usually related, URL.

Filter by
Sorted by
Tagged with
0
votes
0answers
31 views

WordPress Multisite: Redirects users after login to the site's admin dashboard they belong to

I want to let the users log in through the main site(www.example.com/wp-admin), Once the user successfully logged In, I want to redirect them to the site admin(ie: www.example1.com/wp-admin/index.php)...
-1
votes
1answer
14 views

Wordpress website down with error “redirected you too many times.”

I have a website that has been down for awhile with the redirect loop. I also cannot access wp-admin, gives me the same exact message. I was wondering if i could get this fixed asap since its a ...
0
votes
0answers
6 views

Woocomerce search box redirects to wp-admin with some terms

Well, I can't tell much about this problem, but for some reason, when I search on my website some terms or at some times, the search redirects to wp-admin. What can be the reason for this?
0
votes
0answers
9 views

Help with custom permalink redirect

I need to redirect a URL that looks like this: www.domain.co.uk/information/%info_category% to just www.domain.co.uk/information/ I have the Redirection plugin installed but can't seem to get it to ...
1
vote
1answer
19 views

How to redirect a page to another?

On my website, I have following url structure: example.com/test/ example.com/test/a-page example.com/test/another-page How can I redirect all of the URLS that contains /test/ right after the domain ...
0
votes
1answer
12 views

WP Redirect with Wild Card Characters

I am using wp_redirect() to restrict access to logged out users and redirect them to login page. Here's my code which works perfecly. function loggedout_post_redirect(){ if ( !is_user_logged_in() &...
0
votes
0answers
14 views

Stop subdomain redirect to homepage

In my Ubuntu server i have two vhosts, where each points the DocumentRoot for the folder and ServerName for the correct domain and sub domain. I have done it with example.com and sub.example.com, ...
1
vote
0answers
51 views

Buddyboss Platform plugin causing “too many redirects”

Last week, I moved my wordpress site from a temporary domain with bluehost to the normal domain (www.cozygigs.com). On the temporary domain, everything worked properly. After I did so, I became unable ...
0
votes
1answer
22 views

Conditional redirect to several pages

Suppose I have these WordPress pages: page-A page-B page-C and a published page page-main. My question: The clients see and access only page-main which is in the end virtual - it doesn't exist. ...
0
votes
0answers
12 views

Redirect to dashboard user once you click on Publish page

Let´s say you are in a creating a page you put the title and the content, the last step is click on "Publish" once you click on publish I want to me redirected to the Dashboard (https://...
1
vote
1answer
117 views

Redirect to “All Posts” after post update or publish in Block Editor

When anyone presses Publish or Update from the Block Editor in a CPT, I would like them to be redirected to the CPT listing page. (Users are typically editing many of the CPT at once, so this will ...
0
votes
1answer
29 views

Filter wp_redirect() to stop redirect under certain condition

I am developing a tool to print PHP debug messages on screen. I would like to stop the wp_redirect() function from actually doing the redirect if the debug tool contains a message that it wants to ...
0
votes
0answers
47 views

Redirect error after updating Wordpress to 5.4.2

After updating to WP 5.4.2 I am getting this error message when I try to access the site HTTP redirect status code must be a redirection code, 3xx. At first I could see some pages and access the ...
0
votes
0answers
12 views

ERR_TOO_MANY_REDIRECTS when switching from good database to old database

I did a fresh install of WordPress 5.0 with a new database, and I can logon and view the dummy site. Then I changed wp_config.php to connect to my original database (same release number). When I do ...
0
votes
1answer
34 views

Redirect to /404/

Is there a way I can redirect the URL slug of the 404 template to /404/ so so for example if I have /category/media/blah it redirects to /404/ Is that possible I don't know if it can be done using ....
0
votes
1answer
34 views

Redirection from a specific page for users logged in but not with membership

I am trying to redirect logged in user but not with a membership, from a specific page to product page. But it is showing error if I land on that page. Let's say join is the page with id 1867. Here is ...
0
votes
0answers
17 views

Author Archive Page redirecting issue

When I click "Author" Hyperlink anywhere on the website, It is not working. say, I click: https://digitalvarys.com/author/admin/ And It Redirects to http://admin/ Why is it? Refer the ...
0
votes
2answers
26 views

How to forward all requests starting with a specific folder name to the same folder

In my Wordpress website main directory, I created a folder servers, which contains two files .htaccess & index.php. In the .htaccess file, I add those lines to redirect all requests to that folder ...
0
votes
1answer
29 views

301 redirect any RSS feed on level up url

On my site I've got RSS feeds - something like this: www.example.com/en/shipper/feed/ www.example.com/en/carrier/feed/ I want to 301 redirect all those URLs to the level up, respectively: www....
0
votes
0answers
7 views

Redirect user to a specified page when they visit a certain URL (Not after login, all the time)

All I am trying to do is create a unique page for each user. When they go to /dashboard is redirected based on the user to their own specific dashboard page eg: /username. At the moment, you can used ...
0
votes
1answer
13 views

Redirect Category Media 'URL' when clicked

Currently when I view the Media page the URL is /category/media/. I need the URL redirected to /media/. What's the easiest way to do in WordPress
0
votes
1answer
15 views

How do I write a subdomain redirect?

I'm trying to write a redirect so that anyone who tries visiting "www.example.au" is directed to "www.example.com", but I'm not sure how to do that in my .htaccess file. So far, I'...
0
votes
0answers
10 views

Gutenberg Not Working with Trailing Slash Redirect in .htaccess File

I have updated my .htaccess file with non-trailing slash to trailing slash redirect. <IfModule mod_rewrite.c> RewriteCond %{REQUEST_URI} /+[^\.]+$ RewriteRule ^(.+[^/])$ %{REQUEST_URI}/ [R=301,...
0
votes
1answer
33 views

Understanding Redirects

I have a WordPress website that is working well. The website is shared hosted on a popular hosting site. It was migrated/transferred from a different hosting site to the current one (this point is ...
1
vote
0answers
15 views

Wordpress Multi-Site on Ubuntu 18.04 LAMP Keeps Re-Directing

After a few weeks of head banging... I am very near to completing a local development environment for my WP Multi-Site Installation. The final problem that I have (wishful thinking), is that the ...
0
votes
0answers
13 views

How to automatically redirect category pages (301) when changing the location of a category in the hierarchy

How to get it so when you change location of the category it automatically 301's to the new category location. Example> I give child a parent a) /category/child > b) /category/parent/child Both ...
1
vote
0answers
11 views

List / Get post redirects

In WordPress, when I change the slug of one of the posts, WordPress generally is able to automatically redirect it. We're using WordPress as a backend for a SPA, and we aren't able to use these ...
0
votes
0answers
22 views

how to redirect /% postname%/ to /% category% /% postname%/

how to redirect /% postname% / to /% category% /% postname% / in a massive way example : https://wesite.com/personalizacion/ to a https://wesite.com/category222/personalizacion/ I have many url so ...
0
votes
0answers
84 views

wordpress+docker+apache mod proxy redirects to http://localhost

My environment is, a docker container running wordpress on apache can be accessed via ip:port . The host environment has an apache instance which redirects traffic that comes to http://myurl to ...
0
votes
0answers
10 views

Redirect_uri won't redirect to appropriate settings page

So I have a functionality on my WordPress configurations for Instagram that has a redirect URI and for some reason, it won't redirect to the appropriate page after being authenticated. The code is set ...
1
vote
1answer
16 views

Redirecting to old domain after migration website

Could someone help me with restoring my website (with new domain name)? I have a database backup and when restore it, wordpress is redirecting me to old website and domain. I changed site url in mysql ...
0
votes
0answers
9 views

How do i redirect the user to the last used page, after login

I am building an online store and don't want the user to be able to access the Checkout page unless he is logged in. So i've made a redirect if he clicks Checkout, that sends him to the login page by ...
0
votes
0answers
18 views

Pass query params between pages

I have a link which I send to customer email with some seo params. https://wordpress-example.com/?test=123 but after go to another page I missed it. How to deal with it and pass this parameters ...
0
votes
1answer
25 views

Extending page urls without getting a 404

I'm using a shortcode on some of my pages and need to add a gender to the page urls. For example, if the page slug is "/ninjas/", I need to be able to use urls like "/ninjas/female/&...
0
votes
0answers
32 views

Redirect logged in users to their primary dashboard

I have a WordPress multisite installation. When the user (who is not a super admin) logs in and then opens the dashboard of the main page (example.com/wp-admin), he gets the message below: You ...
0
votes
0answers
23 views

multisite 404 subfolder same name slug as site

To keep this short, as a disclaimer, I'm not that versed with WordPress, servers, etc, so I might talk gibberish: The Issue 🠺 I have a multisite root, let's call it msite.com 🠺 This site spawns ...
0
votes
0answers
17 views

Redirect empty search to another page

I am using the following code to change the url of my search results page: function wpb_change_search_url() { if (is_search() && !empty($_GET['s'])) { wp_redirect(home_url("/suche/...
0
votes
1answer
513 views

Disabling the X-Redirect-By response header

Is there a clean way to not have WordPress send the X-Redirect-By response header when redirects happen? I'd like to disable it in order not to expose information about our software stack. Something I ...
0
votes
0answers
16 views

Wordpress still redirects after updating siteurl and home options

I'm trying to set up my Wordpress site on localhost. For other sites it's always worked when I've set the siteurl and home values in the wp_options table to the local URL (e.g. http://localhost). ...
0
votes
0answers
28 views

Remove Trailing Slash From Root WP Directory

I have WP installed in a directory above the domain ( example https://example.com/folder/ ) I want the WP index page to get accessed without the trailing slash ( example https://example.com/folder ). ...
0
votes
0answers
18 views

Erase the HTML website and replace it with a WordPress website -301 Redirection

We are going to erase the HTML website and replace it with a WordPress website (New redesigned site). We already have 301 redirection( http to https) in .htaccess file. Is this 301 redirection is ...
1
vote
1answer
212 views

Site kit Google Analytics setup giving Error: {“error”:“invalid 'redirect_uri'”}

I was facing some hard time configuring the SSL for my Primary Domain and Subdomain and forcing HTTPS link over HTTP: I generated the SSL Let's encrypt certification and then found a solution to add ...
0
votes
0answers
37 views

How to replace the links http to https

I have a few http URLs in my website that aren't being converted to https. script src="http://html5shim.googlecode.com/svn/trunk/html5.js" src='data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3....
0
votes
0answers
13 views

WP 301 redirect does not work

Usually on my WP sites when I change the URL, WP automatically creates a 301 redirect. Lets say I have this URL: www.site.com/ugly-long-url If I change it to www.site.com/nice-url Then when I ...
0
votes
0answers
15 views

http Html pages to https wordpress pages 301 redirection

We are going to migrate our current HTML site to WordPress site and also HTTP to https migration for the same website, The entire URL structure changed now. Which one I have to use from the below ...
0
votes
0answers
8 views

redirected to posts tab when I try to update page

Please help. I am a beginner WordPress user with very little experience and no coding knowledge. I accidentally restored a revision of the homepage and tried to edit the page back to its previous ...
0
votes
0answers
17 views

simple add_rewrite_rule not working

I'm trying to redirect https://example.com/register to https://example.com?mode=register I have tried the following code add_action( 'init', 'redirect_urls' ); function redirect_urls(){ ...
0
votes
0answers
9 views

How To Fix Auto 301 Redirects From Wordpress (when choosing custom permalink)?

I had a question about how to fix the auto 301 redirects that Wordpress sets up when you do a custom permalink structure. In the setting>Permalinks, I created a custom structure (website.com/category/...
2
votes
2answers
28 views

Redirect subdomain homepage to domain specific page in wordpress multisite

I have a wordpress multisite with one site to domain.com and another to materials.domain.com At the domain site I have a page domain.com/materials I'd like to redirect the materials.domain.com ...
0
votes
0answers
34 views

URL re-direct (without changing the structure)

I need to somehow set a redirect on my site. Let me explain: when I go to www.example.com/aaa/bbbbbb/ and click on "ccccccccc", I get: www.example.com/aaa/bbbbbb/ccccccccc Instead, I need the URL to ...

1
2
3 4 5
35