0
votes
3answers
66 views

Redirect user after login/registration globally

How it possible to redirect all users, even administrators after login to specific page? And also redirect users after successful registration? Any simplest way? For example I want to redirect users ...
0
votes
0answers
17 views

Redirect registration=disabled page

I need users who land on this page... http://subdomain.example.com/temp/wp-login.php?registration=disabled To be redirected to http://subdomain.example.com/temp/register I am using multi-site so I ...
0
votes
0answers
87 views

HTTP Code 302 on Google Webmaster tool

I'm running a wordpress blog. My blog is very young. It's online since a couple of months. My host is godaddy. I'm not a SEO expert. Recently I noticed that on my webmaster tools (from google) there ...
0
votes
0answers
25 views

Block Contributors from admin EXCEPT allow delete posts from front-end

I have a site with some front-end post creation and editing capability for Contributors. I would like to block all non-admins from the admin, but allow them to delete posts via links created via ...
0
votes
1answer
66 views

Can Not Redirect from Plugin-Registered Admin Page

I am doing the following in my plugin: Register a custom admin page and in the callback function (the last parameter of add_submenu_page) Redirect to another page However, when I open the custom ...
0
votes
1answer
70 views

Temporary redirect prevents getting $_POST array

I'm sending a form from a woocommerce plugin. I've tweaked the thankyou.php page and added email sending functionality. However the $_POST array is empty. Inspecting with Chrome Dev Tools I found ...
0
votes
1answer
88 views

Redirecting old site links to new site

I'm hoping one of you WP gurus can help me out here... I have a website. Let's call it Jack.com I'm re-branding Jack as a girl, so I've made another website website - Jill.com I want all existing ...
0
votes
2answers
93 views

Redirect from the dashboard to edit.php if wp_is_mobile() is true

Looking for a way to redirect the user from the dashboard straight to edit.php if wp_is_mobile() is true. This is what I've tried: function redirect_if_mobile() { $screen = ...
2
votes
1answer
183 views

redirect pages with no content, instead of 404 error, using max_num_posts?

I have a site that has changed its pagination structure, resulting in a huge amount of 404 errors (more posts are being shown per page than previously, so there are lots of pages that were once ...
0
votes
1answer
298 views

Headers already sent - Wordpress core

I'm getting an error on my site regarding "headers already sent": Warning: Cannot modify header information - headers already sent by (output started at ........./wp-admin/menu-header.php:161) in ...
1
vote
0answers
69 views

Firing a function AFTER redirect

I am using a function that redirects the user to a custom page, rather than wp-login in the event of errors. In my case I am using the Http Referer function to send the user back to the same page ...
0
votes
2answers
107 views

How to redirect from one WP site to another

I want to set it up so when you click on a tab on my one site it redirects you to my other site. I've tried every code I can think of and nothing seems to work. Please help.
1
vote
1answer
557 views

How to do 302 redirects “in” WordPress using Redirection plugin?

I am planning to use the Redirection plugin to do redirects. The plugin's description states that it also enables 302 redirects, but I can't see how. There's no option as such (see screenshot below). ...
0
votes
1answer
378 views

How To Only Allow Users To View Their Own Buddypress Profiles?

I am currently developing a social-network sort of site using Wordpress + Buddypress and the client has asked that profile pages not be publicly visible for the time being. Basically the client is ...
0
votes
2answers
287 views

Redirect the non-www version of the site to the www version to remove duplicate content [closed]

In wordpress site how to Redirect the non-www version of the site to the www version to remove duplicate content # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteCond ...
0
votes
2answers
160 views

Redirect the non-www version of the site to the www

In wordpress site how to Redirect the non-www version of the site to the www version to remove duplicate content
2
votes
2answers
790 views

Password change when the user login first time

I have a "change password" page. Is there a way to redirect that page when the user login first time using wordpress generated password? Thanks
-1
votes
3answers
3k views

wp_redirect() function is not working how to solve this

wp_redirect($post->guid) is not working,how to solve this. this is my code: if(isset($_REQUEST['vid']) ){ $id=$_REQUEST['vid']; $post_title = 'sasa'; $post_content ='zxczxczxc'; ...
0
votes
1answer
376 views

Why does the first page of one category redirect to empty page 4?

When I load this URL on my WP e-ecommerce site, it 301 redirects to page 4 which does not exist, and appears as a page with empty contents: Go to this URL: ...
-1
votes
1answer
114 views

problem redirecting users to page on login

I'm trying to redirect certain users to a part of my site but I cannot seem to make it work... can you take a look at this and tell me what I'm doing wrong? if ( ! function_exists( ...
0
votes
1answer
256 views

Load template inside a parent template

Inside of my current theme directory, I created a folder called "mobile" which contains a separate set of template files, all optimized for mobile. Now, say I setup a function that detects a mobile ...
0
votes
1answer
155 views

Does WordPress send a 301 header message when you change permalink structures?

I have a super old blog that I upgraded from 2.0.7 to 3.1 by upgrading over multiple versions. One of my biggest concerns was losing all the link juice from my legacy URLs but they were clearly made ...
1
vote
1answer
680 views

Can I change default registration link (without htaccess)?

I'm using url like «wp-login.php?action=register&role=patient» and «register_form» hook for add extra inputs form which depends on urls like this: ...
0
votes
1answer
537 views

Redirecting to a post based on a GET parameter and a custom field

I'm trying to redirect to a specific post based on a GET parameter. The value of the GET parameter is the value of a specific custom field. For example: http://somedomain.com/wordpress/?fid=xyzzy ...
0
votes
2answers
221 views

Redirecting simple big problem

i'm a little worried here. I'm trying to redirect EVERYONE that access my site to a specific webpage, and nothing is working! Currently i'm trying this code: function redirect_this() { ...
1
vote
1answer
1k views

How to hide/redirect the author page

I have a website where I let people subscribe. I would like to only show the author page for actual authors who have written a post. I wrote this code that checks for post the problem is I can't use a ...
4
votes
2answers
977 views

Why is wp_redirect() preferable to a standard PHP header redirect?

In asking a question about hooks and redirects, I was advised to use wp_redirect in place of the PHP header function. Just wondering why wp_redirect is preferable?
0
votes
1answer
255 views

Date based redirects of posts that no longer exist

I want a more elegant way to express the following redirect: RewriteCond %{REQUEST_URI} ^/blog/2008/(.*) [NC, OR] RewriteCond %{REQUEST_URI} ^/blog/2009/01/(.*) [NC, OR] RewriteCond %{REQUEST_URI} ...