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

Redirect to a page while maintaining search query parameters without causing an infinite loop

We are making use of a plugin called Product Filter by XforWoocommerce. It has a feature that limits the available product filter options based on what products are visible, however, it does not work ...
0
votes
0answers
12 views

Create a user page from parent page template

I'm trying to create a user profile page from a parent page profilo.php. I want that when the url is mydomain.com/profilo/username, it shows the user page with the page "profilo" as template....
0
votes
0answers
10 views

Sportspress This page isn't working

When a visitor tries to open Future Scheduled Match the page isn't loading giving an error message "This page isn't working -- domain redirected you too many times" I'm not sure why this is ...
0
votes
0answers
11 views

How to get rid of extra confusing subdomain redirection? [duplicate]

I've finished building my site just recently and I notice that when I open anything the url adds a nasty top subdomain to the top like in this example: https://q-link.site/product/electric-longboard-...
0
votes
1answer
6 views

Redirecting specific sites to HTTP in WordPress Multisite

What I need to do is redirect only some of the sites in my multisite installation to use HTTP instead of HTTPS. Currently my setup has been so that every site redirects to HTTPS but I can't seem to ...
0
votes
0answers
15 views

How to redirect if 404 error in wordpress then redirect 404.php url

i need to redirect my wordpress blog url to 404.php (file) If some type wrong URL like example.com/blog/fgsdgfdg then I need to be redirect URL to example.com/blog/404.php Below code not working ...
0
votes
0answers
23 views

Stop home page redirect to subfolder

I have a confusing issue! my home page redirect to subfolder! other pages are ok. just home page makes me confused. fidanfilm.ir .htacces on root is RewriteEngine On RewriteCond %{HTTPS} off ...
0
votes
0answers
7 views

How do redirect custom url to wordpress author page

I am trying to create a custom url and then redirect to the /author/username. Example: custom url :/{author's name} redirect to :/author/{author's name} The custom url is what the user will see as ...
0
votes
1answer
16 views

How to prevent WordPress from redirecting single page to prefixed category archive with same name?

I have been trying to solve this problem for hours. I would like to have a page with a simple slug (/blog) and a category term with the same name (/category/blog) exist on my site together at the same ...
0
votes
0answers
17 views

Remove access to Dashboard index.php only

I am looking to redirect users of a certain role from the dashboard index (/wp-admin/index.php) to a different dashboard page (/wp-admin/admin.php?page=yith_vendor_settings) There are plugins and code ...
0
votes
1answer
27 views

Redirect away from page if user is not admin

I have a Wordpress page that should only be visible to the admin. Any other kind of user role, or logged-out visitors, should be redirected away to the home page if they ever try to visit that page. ...
4
votes
2answers
58 views

How to change default page slug?

I have a CPT called jobs and a page named Job Apply. I am trying to achieve something like below url: http://example.com/job-slug/apply Where, job-slug can be any job. i.e Programmer, Developer etc.. ...
0
votes
1answer
25 views

How can I redirect users on the new 404 page without plugin?

I have a 404 page in my theme but I am not using that page. I have created a new 404 page in WordPress using wpbakery page builder. I need to know how can I redirect users on the new 404 page without ...
-1
votes
0answers
20 views

Remove in redirect_canonical() http redirection

Is there an approved way to stop WP from redirecting you? If you mistype the name of a page it should provide a 404 error. Instead the "feature of WP" guesses what you want and if you have a ...
0
votes
1answer
19 views

Redirect Function Prevents Images from Showing in Front-end Media Uploader

I have a simple redirect function in a custom plugin to prevent users from accessing WP Admin area in a multi-site installation. The plugin enables users manage contents and their profile at the front-...
0
votes
1answer
31 views

How to fix URL with pageid example /?p= too many redirection error

I have recently updated my WordPress to 5.5 and I encountered "too many redirection error" when I use URL with page id /?p=1234 (previously it was working before the update). It keeps ...
0
votes
1answer
19 views

Redirect old Posts URL to new URL

This may have a simple answer I'm not aware of, but I'm not familiar with redirects on Wordpress. Here's my question: I had my default Posts routed to mysite.com/post-name. I want to now route the ...
0
votes
0answers
14 views

How do I Fix a Redirect Chain

I'm wondering how to minimize redirects and eliminate the chain from content that's being served both from https. 4 chains in total. All autooptimize cache related.
0
votes
0answers
14 views

Site using static homepage, redirects (301) and removes pluses from query string

It seems as though all WordPress sites that I’m supporting for various clients has this same functionality — if the site is using a static homepage, and you visit the homepage with a query string ...
0
votes
0answers
12 views

Login Redirect Based on Action Parameter in Login URL

I'm trying to redirect logged in users to a specific page based on what is in the login url. For instance, I have added an action parameter to the login url like this: https://mywebsite.com/wp-login....
0
votes
1answer
28 views

How to redirect to login page when user not loggedin on a particular page

In my plugin there are many pages. I want to redirect to a login page if the user is not loggedin on a particular page. I used below code, but it redirect to login page on all pages. I want to ...
0
votes
0answers
17 views

Add New Button in Admin Panel

I am learning Plugin Development in WordPress. I have an Add New button in one of my Admin panel page like below. I would like to redirect to http://127.0.0.1/wordpressplugin/wp-admin/admin.php?page=...
0
votes
0answers
12 views

Move root to subdomain and keep root

I have a pretty huge website in root folder of server and I want to move it to subdomain. The biggest issue is that I want to keep root wordpress for marketing purpose (wordpress will be stripped and ...
1
vote
2answers
39 views

How do I make 301 redirection from `/%post_id%/` to `/%postname%/`?

My permalinks is set to /%post_id%/ (post id). https://elrons.co.il/%post_id%/ I want to change them all to /%postname%/ (which is the post slug). https://elrons.co.il/%postname%/ Problem is, whenever ...
0
votes
0answers
19 views

Need to redirect home page only on Woocommerce site if user logged in

I'm pulling my hair out with this one. I've tried 4 or 5 different approaches but none work consistently. We have a WP site that includes a blog and Woocommerce for wholesale customers. We have a ...
0
votes
1answer
29 views

How to redirect old permalinks to ones generated by [WP-Hashed-ID] plugin?

I've changed the permalink for WordPress post. Old permalink structure was using the 'post_id' and new one is hashed post id using the plugin WP-Hashed-ID. How can I enable redirection from links ...
0
votes
0answers
5 views

Some terms on the search box of Woocomerce redirects to wp-admin

I bought the Shopinia theme by Themeforest last month. I'd like to ensure that the problem isn't related to the theme. When I try to search x terms on the search box of my webpage (https://...
0
votes
1answer
18 views

Redirect old /%category%/%postname%/ to just /%postname%/

I changed my posts permalinks from /%category%/%postname%/ to /%postname%/. Now all my old URLs are not working and I want to redirect them to new structure. How can I do that? I use nginx
0
votes
0answers
16 views

Redirect based on Cookie leads to Error after WooCommerce payment

I want to make sure every user does only get access to my webshop after visiting the home page. Therefore, the home page sets a cookie setcookie('mycookie', $value, 0, "/", "mywebsite....
1
vote
0answers
16 views

How to redirect if a background request is still being executed

I am using the Woocommerce Waitlist plugin to allow users to subscribe to product waitlists. After subscribing to a waitlist I want to redirect the user to another page to complete a form. I am using ...
0
votes
0answers
17 views

Disable Canonical Redirect for specific subdomain

I have a Wordpress site configured on site.example.com I am trying to set up a reverse-proxy but I am running into issues with Wordpress' automatic redirect functionality. To provide the reverse-proxy ...
1
vote
0answers
22 views

how to setup .htaccess: redirect/ /%postname% to /%category%/%postname%

how to setup .htaccess: redirect/ /%postname% to /%category%/%postname% My current permalink structure is: %postname% I'd like it to be: /%category%/%postname%
1
vote
0answers
30 views

Htaccess file isn't redirecting http sub-pages to https––they display 404 error instead, tried many solutions and none work

I installed SSL on my Google Compute Engine hosted WordPress Multisite installation, and have been having a hard time getting it working fully. Right now, the main domains for each site redirect ...
0
votes
0answers
18 views

Unusual Apache2 Error Causing Wordpress Redirect Error?

I have the following error in my apache2 error log(Ubuntu 18.04, local LAMP dev environment), that I believe is causing a The page isn’t redirecting properly error: [:error] [pid ] ...
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
13 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
13 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
38 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
21 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
70 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
21 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
33 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
26 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
33 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 ...

1
2 3 4 5
34