"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
15 views

.htaccess regex for redirect subdomain to root domain & redirect old permalinks

ok, i have at site a blog.mysite.com, and recently migrated all content to a new wp install at mysite.com. i want to redirect all of the posts from blog.mysite.com to mysite.com and also account for ...
0
votes
1answer
14 views

Which method to use when deleting posts from the front-end

I am trying to enlist all my posts on the front-end along with delete and edit links (using the shortcode API). I am having difficulty with the delete links. To me the most obvious way to handle ...
-1
votes
0answers
8 views

Track all the redirects [closed]

I am having some issues with http to https redirection with WPML enabled, and I would love to see some sort of url paths that are being redirect (for example, does http to https get redirected first? ...
0
votes
1answer
15 views

How to include parent terms in hierarchical taxonomy URLs?

For all custom taxonomies, the URLs look like: /base/slug/. I need a solution to for my hierarchical taxonomies to have: /base/parentslug/childslug/. Anybody knows how to redirect and or to have the ...
0
votes
2answers
25 views

Conditional Redirect

I'm looking to do a redirect based on browser, but only for a specific page (or 2). I'd like to send the user to an alternative page if the browser is IE7 or less. The alt page will have completely ...
0
votes
0answers
18 views

How do I add a forward slash to end of URL for Fetch as Google?

When trying to use the Fetch as Google tool I keep getting a redirect error. This error is because my URL address is http://www.example.com instead of http://www.example.com/ How do I add the ...
0
votes
1answer
12 views

Make a select where the options are the different multisites

I've been wondering this for a while; If you run a multisite setup on your WordPress installation, are you able to create a select on the main page (e.g. www.example.com), where the options in the ...
0
votes
0answers
8 views

Rewrite rules for subterms in custom taxonomies

I am using a large number of custom taxonomies. My post type is called "location" and there is a parent term "Asia" and a subterm "Thailand". Now I created the taxonomy archive template files ...
0
votes
2answers
20 views

Redirect preview single post link to a page

I have custom post types setup such that the items don't have or need single-post pages. The posts will be displayed via a custom query on a page. My question is when i create a single post (on the ...
0
votes
1answer
23 views

Use blog as base for tags and categories

I have a site: example.com build in wordpress. I set up the posts page as example.com/news. I want my tags and categories to be: example.com/news/tag/mytag example.com/news/category/mycategory ...
0
votes
0answers
27 views

Site goes back to homepage when you dont include the www

I have made multiple pages in my Wordpress site but whenever I go to these pages without the www in the beginning the site always redirects to the homepage. I know if i was getting an error it would ...
0
votes
1answer
51 views

Redirect A URL Pattern In WordPress Using .htaccess

I am new to WordPress and just converted from Blogger to WordPress. Now as you know that Blogger URLs are too different from WordPress URLs so after migrating I started receiving 404 error in Google ...
0
votes
0answers
18 views

Unable to login + Redirect loop on mobile

When I try to login to my wordpress page, I'm stuck in the loginpage without any CSS. Filling in the correct logins doesn't get me logged in. I just get redirected to that same page: ...
0
votes
1answer
36 views

How to redirect user to a page after form submission

I have three dropdown filters on the front site to select country, territory and region and need to redirect the user to the country/territory/region page depending upon the filter values on click of ...
1
vote
2answers
126 views

How does Wordpress redirect to WooCommerce shop page?

I'm creating a plugin for WooCommerce, it needs a parameter in the url of shop page like this http://domain/wp/shop/?param=value. It worked fine until I set the shop page as front page, when I access ...
0
votes
1answer
25 views

How to redirect multiple subfolders back to root domain?

Due to search engine crawling errors, I need to redirect websites of non existing subfolders to a reachable website. This is what is currently leading to 404-errors: www.domain.tld/subfolder1/tag1/ ...
1
vote
0answers
64 views

Login/Register redirect user with message

I am working on a Wordpress website where I am trying to redirect the user after he just registered or logged in but I also want to have access to the error or success messages once on the homepage (I ...
0
votes
1answer
35 views

Wordpress directing to Posts page (edit.php) instead of saving post

I have got a clean build (WordPress 3.9.1 running Twenty Fourteen theme). I've installed WooCommerce plugin and added one product. The product is a variable product with 65 variations. When I link ...
0
votes
1answer
24 views

Redirect loop upon installation of my plugin

I have created a plugin that uses a shortcode [MyCreditStatus] to display a form (multi-page form). This plugin uses an API that I also made. When I try to install the plugin, there are times that ...
0
votes
1answer
28 views

redirect users to the login page

I create a template page as seen below to check if user is logged in or not. If user is not logged in, I want to redirect user to first login page and after login I want him to redirect previous page. ...
0
votes
1answer
63 views

Redirect to a page after a few seconds

I have homepage which needs to redirect to another page. For this to accomplish, I used the meta fresh tag <meta http-equiiv=refresh content="6; url=/home/"> And, it works perfectly. Later I ...
0
votes
1answer
34 views

Redirect user to a particular link in 10 seconds after using wp_die

I want to use some type of functionality if ( $some_condition == false ) { wp_die(); // Here i want to redirect page on some URL after 10 seconds } I need to do it inside a plugin. Is it ...
1
vote
1answer
48 views

Redirect to Current Page after Login

In my wordpress page, I add Login- logout item to the main menu using the code (in functions.php) below : add_filter('wp_nav_menu_items', 'add_login_logout_link', 10, 2); function ...
1
vote
1answer
31 views

How do I add a add_rewrite_rule without it redirecting?

I have a custom post type called "locations". I have a location called "starbucks". I can view this by going to "/location/starbucks". I would like to add "coffee-shop" to the URL, so the path ...
0
votes
0answers
11 views

Wordpress Multisite Domain Mapping and Redirection

I want to ask that, i want to make a some thing like this that when I enter a sub-domain url like sub.domain.com the site should open without redirection to map domain let say sub.com, and when I try ...
0
votes
2answers
37 views

WordPress 302 Redirect to Holding Page

Once again struggling with htaccess. I've successfully redirected the home page to my holding page with the following rule but it's not applying to child pages for some reason ...
0
votes
0answers
21 views

How do I enforce a 404 status for an EXISTING page?

I was able to replace the main query for 404 pages with pre_get_posts but as soon as I point to an existing page, the error changes to 301. What function should I hook to to change the status to 404 ...
0
votes
1answer
83 views

How to redirect wp-admin/index.php to a custom post type?

I want to redirect my index.php on the admin side to a custom post type. When I go to mysite.com/wp-admin, it must show a custom post type and not the dashboard. How can I do this?
0
votes
0answers
36 views

When WP_Query only returns 1 post, how do I automatically redirect to that post?

I've been searching around for a few hours now and can't figure out how to do this. Seems really simple. I've seen lots of redundant examples on how to redirect to a single post when a search result ...
0
votes
1answer
22 views

Redirect from subdomain

I'm moving a Tumblr site to WP and need to deal with a redirect. I'm using the Redirection plugin. So, I need to redirect from http://blog.example.com > http://example.com To achieve this, do I need ...
0
votes
0answers
15 views

WordPress MU - pages to other domains

I have a problem with Wordpress Multisite. Does somebody know how to redirect page address to other addresses?? I have for ex.: http : / / serv12349 . local . com / page_1 =====> http : / / www . ...
0
votes
3answers
46 views

Changing permalinks and redirecting urls

I'm moving a client from Tumblr > WordPress. I can't figure out how to make the new permalinks work. Two issues: The current Tumblr urls look like this: ...
1
vote
1answer
27 views

expecting 404 but redirecting to post with url subdirectory in post title

I'm seeing something unexpected, although I'm not sure whether it's a feature I can disable or whether it is something introduced by the custom theme I'm using that I need to track down. If I enter a ...
1
vote
2answers
99 views

Disable ONLY URL auto complete, not the whole canonical URL system

I have a blog with several pages in some category "projects" that are structured/named like this: /projects/project-2012 /projects/project-2013 /projects/project-2014 /projects/project-2015 When a ...
0
votes
0answers
24 views

Add trailing slash to URLs not found

So I noticed that Wordpress automatically adds a trailing slash to URLs. I also noted that it doesn't do this for URLs that aren't found on the server. Why this probably is logical. Is there someway ...
0
votes
0answers
46 views

URLs ending with number higher than 2147483647 redirects to to domain.com/2147483647

I've got a javascript implented on my Wordpress site with the purpose to the substring of the URL and if it matches some criteria, it'll load a specific piece of content. So, if you input this URL ...
0
votes
1answer
73 views

Wordpress redirect to splash page once a day for the first week

How can I redirect the user to the splash page for the first week they ever visit only? This code would redirect it once every week, but I'm more after a once a day for 7 days solution: function ...
0
votes
2answers
32 views

All URLs Redirect to Main Page

Whenever I try to access pages within my site, such as mysite.com/wp-login.php, it redirects to mysite.com. It doesn't redirect if I put www.mysite.com, however. Is this a domain configuration issue, ...
-1
votes
2answers
109 views

Display Image Upload from Contact Form 7 on Redirect Page [closed]

How would I show an image upload, a photo of someone, in the Thank You page. It's for a competition. NB: The user uploads an image and then that image is shown on the thank you page. I need to ...
0
votes
0answers
51 views

Redirect permalinks after creating custom post types

I'm in the process of reorganizing a website with many posts (~30.000) a part of which have to be migrated to a new custom post type. Since the custom posts have an added slug to the permalink, is ...
0
votes
0answers
89 views

How to force redirect visitors to login/register page in buddypress

I have redirect script function login_redirect() { global $pagenow; // Check to see if user in not logged in and not on the login page if(!is_user_logged_in() && $pagenow != 'wp-login.php') ...
0
votes
1answer
47 views

How to redirect non existent pages/posts in wordpress using htaccess

How can I redirect non existent pages/posts in WordPress using only .htaccess file? Here is my code: <IfModule mod_rewrite.c> Options +FollowSymLinks RewriteEngine on RewriteBase / ...
-1
votes
1answer
29 views

Wordpress Logout Redirect Follow up

You answered a logout redirect question for this guy a while ago, I implemented the code and it worked great, thanks! (http://wordpress.org/support/topic/wp-logout-page-redirect-to-homepage) My ...
0
votes
1answer
31 views

How do I Redirect Tags from Old Joomla Site to New WordPress Site?

I've recently converted a site from Joomla to WordPress. I'm down to polishing up the old Joomla site links that don't match the WordPress structure, and I've run into a problem where I need some ...
0
votes
1answer
68 views

Passing variable as permalink URL

I've been trying to adapt the rewrite functions described here with little success: Passing variables through permalink structure WordPress permalinks and custom $_GET Variables The structure of ...
0
votes
2answers
29 views

Change the domain url?

So I have two urls. www.url.com and www.urlb.com I don't want to manually transfer the files to the other website, instead I just want to change the domain, so that it says www.urlb.com in the URL ...
0
votes
1answer
85 views

Detecting post type within init action

I have an front-end ajax login on my site. I want to set the redirect url to '/services/clientarea'; for every page that is not part of the blog. For blog pages i want the login redirect to be ...
0
votes
0answers
44 views

Multisite Registration Redirect

I've got a multisite using sub-directories with s2member, and i'm trying to find out how to redirect all registrations onto a single site. Currently, clicking on registration takes you to the ...
0
votes
0answers
22 views

302 on Wordpress Multi site installation on subdomain

I have a Multi Site installation on www.example.com, which is working fine. Afterwards I've made an exact copy of this installation and placed it on a subdomain of this site: subdomain.example.com. ...
-1
votes
4answers
59 views

Simple Wordpress function / plugin to redirect a site

Is there a way to create a simple function that redirects every page of a site to another site? I've Googled around but all the plugins / functions that I've found are only really meant for ...