"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
0answers
23 views

Homepage is redirected to another page [on hold]

My home page is http://greenseotools.com/greenhosting But it is not loading now. It redirects to a new page http://greenseotools.com/greenhostinggreenhosting I can not even find the page to ...
0
votes
0answers
12 views

Too many redirects after added SSL redirect on port 80 virtual host

I have 2 virtual host for my wordpress blog. One handles the http port 80 request and other handles port 443 https requests. I have added the following in my virtual host for port 80 to redirect all ...
0
votes
0answers
9 views

502 Bad Gateway When Supplying Header Content-Length To Try To Force Download

I am trying to force the browser to download an mp3 when the user visits this site. The issue I am running into is if i set the Content-Length header the page throws a 502 Bad Gateway error, and if I ...
0
votes
1answer
24 views

Manually Create PHP Page For A Redirect

I am new to wordpress and working on something for a friend, I have FTP access, and am trying to upload a php file, that checks the platform and redirects the user either to the iTunes store if they ...
0
votes
0answers
18 views

Creating a URL re-write rule on Ngix causes re-direct loop with wp-admin

I have a Wordpress site hosted on Nginx by WP Engine. Currently it resolves requests to URLs either with or without a trailing slash. So, both of these URLs are functional: mysite.com/single-post ...
0
votes
0answers
11 views

All in one wp security breaked my /wp-admin

After installing the plugin all in one wp security, now we can't access to the wp-admin, we get redirected to 127.0.0.1, I checked on the .htaccess for clues and found this: # BEGIN All In One WP ...
0
votes
0answers
11 views

wp_login_form to redirect the same as login_redirect filter

I have installed the plugin WPFront User Role Editor and it has redirect settings so that you can specify where each type of user is redirected upon login. This works great for the regular login form ...
0
votes
0answers
14 views

Redirect custom post type child term to first post

is it possible to do the following in a functions.php file? I have the following URL structure: hxxp://domain.com/custom-post-type-slug/parent-term-slug/child-term-slug/page-slug/ Directly under ...
0
votes
0answers
25 views

Error:The Page isn't redirecting properly

I've mounted my wordpress under a subdomain while I am working on theme development. The code in question is placed in the functions.php file under my child theme. Here is the functions.php file in ...
0
votes
0answers
17 views

Redirect to single post with unique custom taxonomy term

I need some help with taxonomies and custom post type to make a redirection to an specific single post. Lets suppose I have a custom taxonomy called "place_id" wich assigns each custom post type ...
0
votes
1answer
22 views

How can public access to WordPress query (e.g. author=) URLs be redirected?

I maintain a WordPress site (I'm a programmer but don't have much WordPress experience), and we've noticed that Google is ending up with high-ranked links to "pages" on the WordPress site that we ...
0
votes
1answer
32 views

Perform a redirect after user action

Is it possible to redirect a user in WP without the header/wp_redirect being before header()? I have a plugin that allows users to manage content they have created on the site... for example, they ...
0
votes
1answer
23 views

Wordpress Prevent 404 on missing custom post

The thing I am trying to achieve is to get data from a third party data source and display each piece of information as if it was a "post" in a WP theme. Now, the WP theme intrinsically works with ...
0
votes
0answers
24 views

Redirect from registration form to other PHP page

I want to redirect the user when he/she has registered on the site. I'm using the registration_redirect hook which works fine. However, what I'm doing right now is redirecting to a php page inside ...
0
votes
0answers
15 views

Blog page and post redirecting to home page

I am using Jobrooler wordpress theme for one of my website with custom post type. On the home page the jobs are showing and working fine for me. But when I am accessing the /blog page and posts then ...
0
votes
0answers
18 views

Stop WordPress from redirecting ?p= in custom rewrite rule to slug of page

I've written a custom rewrite rule, which should rewrite a specific case of a taxonomy url to serve a page. The rule is as follows: add_rewrite_tag('%tax_slug%', '([^&]+)'); ...
0
votes
1answer
29 views

Redirect users after first login

I want to redirect my users to a page after they logged in for the first time. I also noticed some solutions like a redirect after the user was registrated (redirect after first 48 hours) but the ...
0
votes
1answer
59 views

wp_login_form redirect problem

I have added a login form to a page template using wp_login_form(). This page template is used for a welcome/login page for an online seminar. When the user logs in I want them to be redirected to the ...
0
votes
1answer
28 views

Can't make redirect in WordPress

I'm trying to make a login form. But it doesn't redirect. It shows "Login success"; but it doesn't redirect. I also tried with: wp_redirect('myurl'); Which is correct way to redirect in ...
1
vote
3answers
56 views

Show different page for first time user

As per my requirement I need to show a page say firstpage.php for user who visit my site for first time else should show home page say homepage.php I created both this pages as page-templates For ...
0
votes
1answer
26 views

Prevent “/login” to redirect to “/wp-login”

A client has asked me to exlude "/login" as they want to have the url to lead elsewhere (to a remote system). When typing this url it automatically redirects to "/wp-login". How can I remove / prevent ...
0
votes
0answers
49 views

Remove trailing slash

I need to revert from "pretty prmalinks" to query string just for the pagination urls. (so that example.com/page/2 becomes example.com/?paged=2). It could possibly be done via a hook in to redirect ...
0
votes
0answers
27 views

Redirect 301 didn't work for one link

Google Webmaster shows that one page has got one 404 error and this is the link like "?attachment_id=123". Of course I tried to do 301 redirect (I have few working redirecions, so this function works ...
0
votes
0answers
9 views

Wordpress & AngularJS – Routes and redirects

Working on my first project with AngularJS. Pretty straightforward, but I'm wondering. I have a CPT named "project". And also a state named /project. Trying to access /project redirects to the Project ...
0
votes
1answer
22 views

Redirects only work when visitors go to pages that stop with /

I am using a wordpress plugin for redirects. My redirects look like from: /page/subpage/ to: /newpage/newsubpage/ I have a problem with the redirect above. It works when a visitor goes to ...
0
votes
0answers
20 views

How to redirect to its default language when erasing the text after .com/de?

I have a wordpress site with Avada Theme installed 3.7.1 with qTranslate-X plugin. What I'm trying to achieve here is that I want to redirect the site once I erase the text 'de' after www.site.com/de ...
0
votes
3answers
55 views

Redirect to other page when mobile

I am looking for a simple clean solution when someone visits my homepage with a mobile device. Should I use something like Mobile Detect? I've seen many plugins with lots of downvotes or crashing. Is ...
0
votes
2answers
26 views

redirect user to their profile after log in

I would like to know How can i redirect users to their profile after they log in to my website. Right now, when users log in, they get riderected to the home page but i would like for them to get ...
0
votes
0answers
13 views

Redirect specific upload directory

In a WordPress site, some data is getting fetched from a folder 'uploads/slider' using http_get function. However, the URL given in the function is 'ws/slider/list' and not 'upload/slider'. Now, the ...
0
votes
0answers
33 views

Subsite admin in redirect loop, resources on frontend are all 404 and .htaccess changes back

I have a Multisite with three sites. The main site isn't affected by any of this, but the subsites are both broken. 1) When accessing wp-admin on one of the subsites, I get a redirect loop. 2) When ...
0
votes
1answer
57 views

Changing post per page causing 404 for pagination. Need a redirect htaccess rule

i changed my wp theme and i changed the "post per page" wp setting on "reading"now because i want to display more posts on the archives pages. i m using pagination on the archives so a lot of pages ...
0
votes
1answer
61 views

How can I fix a slow redirect after form submit from frontend (no plugin)?

Below is the code I'm using for my short-coded form and to add the post. Here's a basic overview of the problem I'm trying to remedy: -This form is displayed on the page at /addmember/ -On this ...
0
votes
0answers
67 views

How to stop redirect to 404 page when I use jquery onchange function to select a value from a form field in wordpress

I'm developing a wordpress woocommerce website where I put a form where two drop down exists. where selecting a value from the first dropdown after page refresh it automatically goes the second ...
0
votes
3answers
119 views

Headers already sent error after upgrading wordpress to 4.2.2

in wordpress version 3.6 and 3.7 everything works great, but with version 4 and above I get: Cannot modify header information - headers already sent the problem line is: header('Location: '. ...
0
votes
1answer
42 views

after login that will redirect user role into a page

I am trying to create a hook that when a user login, it check the user role.. if the user role is jsa_contributor then it redirect into specific page. but it seems my code didn't work. This is the ...
0
votes
2answers
38 views

Conditional redirection with logout

I've been asked to implement a custom redirection in WordPress. It seemed quite simple at first but I have no idea how to get it right. So much that I can't even get started with it. This is how it ...
0
votes
0answers
42 views

how to redirect old blog post urls when permalinks are changed

When you have a permalink structure set to www.example.com/post-name And you want it to change to www.example.com/blog/post-name Is there any way to have the old format redirect to the new (ie. ...
0
votes
2answers
354 views

wp-login.php — redirect logged in users to custom URL

When a user login, we can easily change the redirect URL (see this, this, or this), but if the user goes to /wp-login.php, they will be redirected to the dashboard if they are already logged in. My ...
0
votes
1answer
21 views

Custom, conditional redirect on logout

I'd like to implement a custom logout function that only runs if the conditions are met. Instead it returns me to the homepage whether the conditions are true or not. Here's the code that should do ...
0
votes
1answer
36 views

Disable redirect to install.php

For example, i include 'wp-load.php' from external file. but if WP is not installed, then while i access that file, it redirects to '/wp-admin/install.php'. How to disable redirection, even if WP not ...
0
votes
1answer
27 views

How do I change the home page to the registered user's profile page

I have a custom profile page for my users. I need to have wordpress redirect the homepage to the user's profile page if they are logged in. If they are not logged in or registered, wordpress would ...
0
votes
0answers
68 views

I can't login using wp-admin

I have posted my problem on the wordpress support forum but no one has gotten back to me, I really need to figure out what's wrong. I tried copying my site to a uk domain that I had and I am sure I ...
1
vote
1answer
55 views

WordPress template_include filter not working properly

I am working on a plugin. The plugin make custom post type "product". First i use template_redirect action for redirection to single and category pages. Here is my template_redirect code: ...
0
votes
0answers
24 views

Redirect to “pre-page”

I am using the Events Manager plugin to create bookings. The site currently functions like this: Page 1: Lists all events (clicking on an event takes user to booking page - Page 2) Page 2: ...
0
votes
2answers
72 views

Changing permalink from /postname/ to category/postname/

I have a website where it consists more than 800 posts, At present my permalinks structure is /%postname%/, but due to some reasons I want to change it to /%category%/%postname%/ I have implemented ...
0
votes
0answers
14 views

WP Rewrite - some rewrite rules are ignored and instead a redirect is served

I am trying to allow any URI that's prefixed with pf/ to show a page without redirection. I do this by filtering rewrite_rules_array and simply duplicating the rules with a pf/ prefix public function ...
0
votes
0answers
23 views

Domain change question

Please help me with this situation. Now I have a site called "abc.com" with pages and blog (many articles). Permalinks is set as abc.com/%postname%/ And I am planning to move just the blog ...
2
votes
1answer
52 views

Return to where the user was, after log out

I know how to direct logged out user to a particular page or a URL, like: <a href="<?php echo wp_logout_url( home_url() ); ?>">Log out</a> But if I want the user to redirect to ...
0
votes
0answers
43 views

Subdomain redirecting to WP-Login with SSL

Wordpress is installed in the root on my server and i have a subdomain/folder with another application separate from wordpress. When I try to access it via HTTPS: //subdomain/admin it redirects to my ...
0
votes
0answers
120 views

URL masking of subdomain to main domain using .htaccess

I am facing with the following technical challenge : We have a main website running on wordpress with content in local language (Greek) on the domain www.adomain.gr We want to set up a second website ...