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

learn more… | top users | synonyms (1)

0
votes
1answer
21 views

Custom Login Plugin Redirects to wp-login.php After Site Migration

I am using a custom login plugin I made for my site, it was working fine before migration but now it redirects to the wp-login.php page. Old Site -> http://prep.kevinmamaqi.com/ (still available ...
0
votes
1answer
28 views

Admin page redirect to another admin page

How can I redirect certain WordPress admin pages to another admin page. For example I never want a user to see wp-admin/about.php it should always redirect to wp-admin/index.php. There are also a ...
0
votes
0answers
17 views

Clear Cookie Before Redirect

Would it be possible to clear specific cookies or all cookies before redirecting a user to a specific page? is it unethical to do so?
-2
votes
0answers
8 views

Output Diffrent Tablerows after loading the same Wordpress Side with a Shortcode in the Content where the table will be shown

i know currently how i can add a shortcake for my Plugin that will output an table with 20 Rows of information and also a navigation bar for the previous 20 rows. But I still could not find out how to ...
0
votes
1answer
11 views

Wordpress Permalink Problem 404

My website old permalink http://example.com/postid.html . Now I changed my permalink structure to http://example.com/postname . My old link which is now 404. I tried using Yoast Generator and ...
0
votes
1answer
17 views

Users are redirected to homepage instead of wp-admin

After migrating my wordpress site users who are not Admins are redirected to the site's homepage after login. On the old site they were redirected on wp-admin. The Administrator is redirected to ...
0
votes
0answers
21 views

Redirect loop after changing nameserver

my site is https://techyuga.com. Yesterday, I tried to change the nameserver to CloudFlare nameserver. But after that,I am getting infinite redirect loop on my website and I can't even log in to my ...
0
votes
2answers
44 views

Redirect all pages except one to homepage via .htaccess

I just trasformed an old website to a one-page Wordpress. The old website had several URLS, now there's ony 1: the homepage. Plus another page with privacy policy. Hence I would like to redirect all ...
0
votes
0answers
14 views

How to redirect a sub directory except for the landing page?

I need to redirect all my posts under the subdirectory 'plays' to the home / directory except for the landing page so if you go to mydomain.com/plays/hello you will be redirected to mydomain.com/hello ...
0
votes
0answers
10 views

How to redirect in Nginx from Year/Month/Postname to Year/Month/Category/Postname

I am using Wordpress on Nginx, and I need to create these 301 redirects: from /%year%/%monthnum%/%postname%/ to /%year%/%monthnum%/%category%/%postname%/ from /%category%/%postname%/ to ...
0
votes
0answers
21 views

WordPress 301 not working (maybe related to SSL?) [closed]

I'm having a very strange issue in a new website I am working on. This is the first time I had to work with SSL in a WordPress environment. Basically, my setup involves the free SSL offered with ...
-3
votes
0answers
19 views

Backlinks Saver Plugin Redirect

I'm using Backlinks Saver to redirect dead pages to my homepage so I can preserve my linkjuice. It's causing some issues with some of my custom HTML pages and I would like to disable the plugin for ...
0
votes
1answer
30 views

Redirect Localhost wordpress site to dashboard

I Upload Wordpress Website From Server to Localhost When I Open http://localhost/wordpress/wp-admin it redirect to me http://localhost/dashboard/
0
votes
0answers
11 views

How to occupy Wordpress slug [duplicate]

I'm wondering how to occupy a certain slug to prevent it from being used by my users. I want to make a custom redirect to redirect the users to my login page. So the url could be ...
0
votes
0answers
21 views

WordPress redirecting issue using is_page and logged_in

I am using buddypress and want to redirect all logged in users to their profile page when they try to access login page. Below code only works if I check logged in user but not with is_page(). Also ...
1
vote
0answers
21 views

wordpress_redirect returns different headers for HEAD and GET requests

There's an odd behaviour I just noticed during some tests we're doing on one of our sites. We're verifying if the user isn't logged in and perform a wp_redirect in our theme's header.php like this: ...
0
votes
1answer
13 views

Showing different pages depending on a cookie value

I have a website that asks the visitors to choose a language on the first page, I store the option in a cookie and I am showing the content (starting with second page) depending on this option. I ...
0
votes
0answers
18 views

Redirect to 404

If I try to use link like http://site_name/post_name/546/, I would be redirected to http://site_name/post_name/. Is there any way to make redirect to 404 page in this case (only if last part of url ...
0
votes
0answers
28 views

301 Redirect on wp multisite

I have tried to follow instructions see on couple of discussions and none of them seem to work . I have a domain viraleditorial.com and its running multisite network. I have subsite ...
-2
votes
2answers
45 views

How to change Ugly link?

How to change Ugly link from www.test.com/?p=123 to test.com/123 I want to make two types of links: www.test.com/123-my-post-title-name www.test.com/123 The latter should lead ...
0
votes
1answer
18 views

'Conflict' with action deleted_post and is_admin()

I created a delete button on frontend for blog posts and custom type posts and I would redirect to a specific page after deleting them, I looked around on google and I found all solutions like this: ...
0
votes
2answers
31 views

What is the most efficient (ie. less server intensive) way for 301 redirects?

I would like to know if there is any difference, in terms of efficiency (i.e. less use of server resources) in performing 301 redirects using .htaccess or using the wp_safe_redirect feature of ...
1
vote
0answers
37 views

How do I determine what is causing a redirect for a given page?

This is probably a face palm question. On Wordpress 4.4. the link http://example.com/blog ...redirects to: http://example.com/category/general ...ie. it's redirecting to archive.php and ...
0
votes
1answer
24 views

Redirecting to old domain, tried everything, nothing works

I've moved a Wordpress site from one domain to another. I have changed the siteurl and home options in the wp-options table, added this tags into wp-login.php file: update_option('siteurl', ...
0
votes
0answers
26 views

How do I generate 301 redirect?

I am working on the function which is supposed to add 301 redirect when the permalink gets changed (for example, when we change categories structure). The idea behind is to keep the old URL in a meta ...
0
votes
0answers
17 views

Redirecting a Post to a Page Because the Page is More Flexible

Wonder if there is an acceptable way to do this. I am using a theme on this site that allows me a good amount of functionality for pages that isn't there for posts. So, I can create a page and have ...
0
votes
0answers
25 views

Wordpress redirect from one directory to another but exclude wp-admin and wp-login.php

I would like to redirect an entire WordPress sites (posts, pages, categories etc) from one sub directory (blog) to another (news) but excluding /wp-admin/ directory and the /wp-login.php file. I have ...
0
votes
0answers
20 views

Website keeps redirecting to Wordpress install page (install.php)

I hope someone here can help me as the problem I have is driving me insane. For the last few months I have been putting together a Wordpress portfolio and had almost finished it. Recently, out of ...
0
votes
0answers
24 views

Best way to redirect huge number of documents (pdf/mp3/docs)

I am working with a WordPress site that has huge number of documents. Now the documents paths is changed after massive system upgrade, I would like to know about the best way of doing redirects ...
0
votes
1answer
22 views

Redirecting a POST to a php script

This is an expansion on the second answer to the question asked here. I have been trying to redirect a post request from my_website/test to wp-content/themes/my_theme/test.php but I am getting a 404 ...
0
votes
1answer
35 views

Infinite Loop after Genesis Theme Upgrade

I'm running WordPress on Microsoft Azure, and I've been having a lot of timeout errors any time I try to install or update plugins/themes. (I'm using a custom child theme, based on Genesis.) Today, I ...
1
vote
1answer
59 views

How to pass email values from one php page to another

Good evening, I have two subscription forms (mailclimp) i want to pass the email value from one php page to another. In the code below i add the /** session_start(); **/ in comments because show me ...
1
vote
0answers
26 views

WordPress Multisite - Multiple subfolders for blogs

I created a Network in blog.animals.com, the Network is running fine. I can set up blogs like blog.animals.com/chimpanse. This is also working. I like to have multiple (2) subdirectories for each ...
0
votes
0answers
15 views

bbPress 404 for non-logged in users - Need redirect to login page

I've got a bbPress forum (all forums are private) and am using a plugin that notifies users of new posts within the forums. The problem is that when a users clicks on the link in the email, they are ...
0
votes
0answers
14 views

How do I redirect /search/ to ?s=

I have a Search page set up which uses the typical GET format <form id="searchform" action="http://example.com" method="get"> <input id="s" type="text" name="s" ...
0
votes
0answers
7 views

m. subdomain doesn't work

I created a subdomain (m.qubauniversity.com) and pointed it to the normal domain point (same folder). I added the following to .htaccess (root), but it's not working: RewriteEngine On RewriteCond ...
3
votes
3answers
170 views

Global redirect in WordPress?

Say you have 20 or even 50 pages that needs permalink changes. How can you guarantee an automatic redirect formation for all of them afterwards? In Drupal for example, one could install the module ...
0
votes
2answers
30 views

rewriterule not working

I have post type example with 2 records: exam1 and exam2. This post type was created by plugin Types Toolset (www.wp-types.com). So link to exam1 looks like my_site/example/exam1. Also I have 1 ...
0
votes
1answer
15 views

Folder wordpress page redirect

I have my wordpress on a folder, lets say /blog. I would like to be albe to redirect virtualy the users so visit some specific urls to a page. Let's say: I have my terms page that so it is on ...
0
votes
1answer
30 views

Cannot install wordpress, /wp-admin/install.php, inproper redirection

I cannot complete wordpress instalation. I enter all the database parameters and successfully proceed but then it get stucked at /wp-admin/install.php It says: The page isn't redirecting properly ...
0
votes
2answers
60 views

Clone a Post Tite and Custom Field into Custom Post type

I am using Simple Urls to setup redirects on my blog. I am trying to create redirects automatically upon publishing a post. For example, If i publish a post about StudioPress it will be automatically ...
0
votes
1answer
11 views

Serve wordpress regardless of the cname

So I am trying to serve the same wordpress install to any cname on a domain. I'm running nginx and I think I have everything set up there correctly so it will answer to any cname, but wordpress keeps ...
0
votes
1answer
43 views

Wordpress subfolders htaccess bypassing the root htaccess RewriteRule

I have hosted many domains at my GoDaddy hosting. There 'example.com' is my primary domain and its WordPress files are in folder 'web_example' situated at root. There is a .htaccess file at root to ...
0
votes
1answer
27 views

issue in wordpress auto delete post and redirect to another 1

i am getting strange issue on WordPress, my site is huge traffic and database. one thing.. my WordPress is updated 4.4.2 all plugins updated. now i get issue when i publish new post most of the posts ...
0
votes
0answers
49 views

Warning: Cannot modify header information - headers already sent

My WordPress redirection is not working, I'm getting this error: Warning: Cannot modify header information - headers already sent /wp-includes/pluggable.php on line 866 I am using this code ...
0
votes
0answers
27 views

WordPress form redirect after add_rewrite_rule

Two problems i got: automatically redirect from OLD url's to new one (eg. search form will redirect to old url and i need redirect to new one) - what the best method (htaccess, wp_redirect? now i ...
0
votes
1answer
18 views

Multisite setup help - plain domain/subsite always redirects to domain with subdir multisite

I set up a path-based wp multisite using subdirs for each site. It all works well except if the subsite is accessed without www. For example - //mainsite/subsite always redirects to //mainsite" ...
0
votes
0answers
21 views

Redirect while passing a variable in nginx

I have a redirect that almost works, I want to redirect the following pattern https://domain.com/foo/bar to https://domain.com/index.php/foo/?var=bar but still display https://domain.com/foo/bar ...
0
votes
0answers
47 views

How to develop custom URL redirection

I'm writing a custom theme and have a custom post type which represents an external entity (e.g. a website). Hence, I have a field 'external_url' in my post type. Part of the custom post type post's ...
4
votes
1answer
55 views

Paged Single Post doesn't redirect to the main url after Removing Pagination

I used <!--nextpage--> (Codex) to paginate (split) a few single posts. Now i removed all the nextpage html parts from the posts. everthing looks fine. Unfortunately the old urls like ...