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

Custom redirect pages with out URL in content post

Please help me, For example, my web link is abc.com and I have an article, and in article 2 link is abc.com/att/file.zip (this is the blog link attachments) and a joint the other loads is ...
0
votes
0answers
8 views

How to write WooCommerce get_term_link URL to produce desired URL

I am new to WooCommerce development. I am working with this line in content-product-cat.php: <a href="<?php echo get_term_link( $category->slug, 'product_cat' ); ?>"> I would like to ...
1
vote
1answer
5 views

Disabling HTTPS redirection for migration

I migrated a WordPress 4.3 site from Register.com to MediaTemple today and found that the forced SSL is causing issues for the staging URL. In order to try again I have (on the live Register.com ...
0
votes
0answers
10 views

Use two Seperate Submit buttons for same contact form 7 and redirect one to other page

I want to use two seperate submit buttons for a contact form 7. One (eg.enquire) to submit form only and the other (eg. enquire and buy) to submit and redirect to other page. How do i do the same? ...
0
votes
1answer
32 views

Wordpress 4.3 broke meta redirect (with url params plugin)

I'm using the plugin URL Params (homepage) in order to send an URL to a page and after three seconds redirect the user to that page. Unfortunately Wordpress 4.3 broke that functionality. This is how ...
0
votes
1answer
16 views

404 redirect based on url

I have a link like this: https://www.example.com/bh-job/38/?title=digital-marketing-intelligence-expert When I surf to the page I'm redirected 404 page because the page doesn't exisit. The page ...
0
votes
1answer
10 views

Send data to database after redirect (and popping out of iframe)

I am using $wpdb->insert to place form data into a custom database. There a multiple things happening, though. The page that sends the data to the database is caught in an iframe. I know how to get it ...
0
votes
0answers
33 views

Woocomerce adding items to cart from a share cart url? [on hold]

I think I need help in here, Im not really sure if I need to set the session manually or it will set automatically while adding items to woocommerce cart, lets consider the following: ...
0
votes
0answers
14 views

301 bulk redirects

so, I need to do a massive 301 redirect on the site I got to maintain. The site is quite huge and there is more then 3500 links that are needed to be redirected. All links are retrieved from Google ...
0
votes
1answer
16 views

changing permalink gives 404 error for old links

I have changed the permalink from Post name to Custom Structure. Earlier my blog links were like www.website.com/blog-post-link i want to change that to www.website.com/my-articles/blog-post-link so ...
0
votes
0answers
4 views

WP Page Redirect Possibility that's User Dependent [duplicate]

I'm trying to create a link that redirects readers to a specific page, depending on their user level. So, if a user clicks on link "/go-here" it will direct to "/page1" for userType1, "/page2" for ...
-1
votes
1answer
18 views

Link to external page has wordpress blog-url inside

I am modifying a theme. The initial function looked like that function tmnf_ratingbar() { $rinter = get_post_meta(get_the_ID(), 'tmnf_rating_main', true); if ($rinter > 0) { ...
0
votes
1answer
19 views

forward/redirect taxonomy archive of term to a page with same name

I have a page called "cars" with child pages for each individual car eg (site.com/cars/ferrari) I have created a taxonomy called 'vehicle' where each term has a car that matches the child page. ...
0
votes
1answer
22 views

WordPress Multisite redirect loop

I'm wondering what my htaccess file should look like for my multisite install. I'm using sub folders instead of sub domains, this was something that I actually changed after the initial setup. ...
0
votes
0answers
25 views

Register new post type in plugin (multisite)

I'm currently trying to create a custom post type inside my plugin. Everything works fine in the back-end but when I try to view the post in the front-end then either it redirects me to the homepage ...
1
vote
1answer
21 views

How to pass a message using template_redirect

I'm using the following function to redirect a post to another using custom field. It's working just fine until I added the line#8 to pass an ID so that I can grab it in to the post (to where was ...
0
votes
0answers
8 views

two author templates for same user

Is it possible to have two author´s templates? I have a list of registered users and when visitor clicks on a user name (user 1) it takes them to a public profile of that person using author.php. Is ...
0
votes
0answers
20 views

How to show a page when no post found?

How do I show a page when no post is found? Something like this: if (NO_PAGE_FOUND) { customData = getCustomDataFromDB(); if (customData === null) { // GO TO NOT FOUND 404 ERROR PAGE ...
0
votes
0answers
10 views

How to Redirect Group of Posts w Wildcard? [closed]

Using the Redirection plugin, I am looking to redirect an entire group of posts with a given URL. Essentially I would like to redirect all example.com/products/post-title to example.com/post-title ...
0
votes
0answers
23 views

Usage of the login_redirect filter

I am a bit puzzled as to the usage of the login_redirect filter. I have two situations when I want to use this: User (or admin) is logging in to access members area Admin is logging in to access ...
0
votes
0answers
35 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
1answer
34 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
30 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
14 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
22 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
23 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
38 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
22 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
25 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
33 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
26 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
34 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
16 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
22 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
40 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
67 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
73 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
73 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
36 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
16 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
25 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
22 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
75 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
3answers
36 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
42 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
74 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
74 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 ...