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

Multisite subdomain is redirected to home page of main domain

Multisite subdomain is redirected to home page of primary site. I cleared cache and disabled plugins. The problem persists. This happened after I forced www. (.htaccess) to resolve issue with server ...
0
votes
1answer
14 views

Force HTTPS 301 redirect with hook

I am trying to force a 301 https redirect with hooking into the 'template redirect' function. I want not doing it a htaccess because when I update my permalinks, htaccess with https redirect ...
-2
votes
0answers
9 views

WORDPRESS Simple Press dialogue boxes closing after 1 second [on hold]

For my wordpress website, I have a forum using the plugin "Simple:Press" (www.simple-press.com) and it's basically just a template integrated forum. However, when I open my 'toolset' (which has ...
0
votes
0answers
17 views

You do not have sufficient permissions to access this admin page

I got a problem with the "You do not have sufficient permissions to access this admin page." after logging into my wordpress, unlike other problems, mine occurred after i logged in my account into my ...
-1
votes
0answers
17 views

Theme transfer, redesigning, hosting, redirecting [on hold]

I am redesigning two sites that are wordpress.org (invitationoxford.com and invitationtupelo.com) I want to use the theme "puzzle" which I have already purchased not knowing it was only for ...
0
votes
1answer
17 views

Check if redirected from a specific page template

I have a page template, which redirects to the homepage using this: wp_redirect( home_url() ); Now, on the homepage is it possible to check if it has been redirected from a specific page template ...
0
votes
1answer
26 views

Unwanted slug in my website

There is an unwanted slug /question/ in my WordPress website. Slugs are automatically changed to /question/ when I open many pages. I have thoroughly checked my phpMyAdmin and I have no /question/ ...
0
votes
0answers
9 views

Htaccess https 301 problem

Since 2 weeks I have installed an SSL certificate on my domain. I have changed my base urls to https so my canonical url is https now. But now I need to force to https. I did this with the below ...
0
votes
2answers
19 views

Redirect before post page

I have post list page of a category. I want to redirect not logged user to login page before he views the post page. I tried with wp-members plugin, but not. In wp-members plugin, there is a hook to ...
0
votes
0answers
14 views

HTTPS 301 redirect doesn't work anymore

Since a few weeks I have a SSL certificate installed on my domain. The HTTPS version of the website works fine, and I changed all my internal urls to HTTPS. I have set my urls in settings > general to ...
0
votes
1answer
17 views

unwanted redirect

Built a custom theme for a client, everything has been working great for the last month. Today I noticed the "Aircraft" page was redirecting to the front page. Checked everything, refreshed ...
0
votes
0answers
29 views

Ajax login without redirect/reload

I've successfully created a login with Ajax, in part to this tutorial: http://natko.com/wordpress-ajax-login-without-a-plugin-the-right-way/ My problem is that it requires a redirect at the end to ...
0
votes
0answers
31 views

How to redirect after login getting a variable from url (for example with the language)

I use the default login form. I want the users with certain role be redirected after succesfull loggin to the home page, but in the language that user is using in the moment of loggin. This is an ...
0
votes
0answers
26 views

Subdomain-multisite with root blog in www.domain.com in Nginx

I have WordPress multisite running on a LEMP stack in a Laravel Homestead instance. I installed the MS network using subdomains inside a domain domain.app. I'd like the domain.app be accessible only ...
0
votes
0answers
13 views

Usage of wp_send_json_success and wp_redirect at the same time

I have to send the success response to ajax if user filled the form fields successfully or not on the client side and redirect to the other page which finalize his authorization at the same time on ...
1
vote
1answer
90 views

Redirect to referring page after logging in

I am not using any custom login plugins or any bespoke code. A few of my pages have got this bit of code in them at the very beginning. <?php if(!is_user_logged_in()) ...
0
votes
0answers
21 views

Best way to redirect a few URLs to new ones

What is the best way to do a 301 for a few URLs in the same domain? At the top of my .htaccess file I put like this for 4 four of my deleted URLs. Redirect 301 /services/old-page-one/ ...
0
votes
1answer
26 views

How to redirect from plugin page

After processing form data in one of plugin file I need to redirect to some other page. When I used wordpress function or php wp_redirect()/header() it shows me error like "header already send" html ...
0
votes
2answers
29 views

How to set 301 redirection after moving WordPress blog?

I have moved my wordpress blog to new domain. Old Address : domainname.com/blog | New Address : newdomainname.com Please pay attention about old address and new address. Now I want to redirect all ...
0
votes
0answers
22 views

WP behind haproxy load balancer: $_POST being reset

So here's the sitch: Load balancer (haproxy) delivering to 3 web servers and a database server, 5 servers in total with memcache sessions being shared between the web servers. I can confirm that ...
0
votes
0answers
23 views

Wordpress install enters an infinite loop

I am really struggling with this one - hopefully someone here can help... I am installing a brand new, fresh version of Wordpress v4.0 (A task I've performed easily 100+ times before without ...
0
votes
1answer
20 views

Redirect after permalink changes

In old site I had the permalinks like: www.example.com/q-html.html When I change my old site to WordPress 4.0, I set the like: /%postname%/ When the URLs come up in a Google search, the user is ...
0
votes
0answers
17 views

Multisite : mapping main domain with a subdomain, is this thing possible?

I've some weird stuffs. Is is possible to map the main domain of a subdomain multisite install? To me it's not but maybe I'm wrong. I'm using a sunrise config. For now it triggers redirect loop in ...
0
votes
1answer
72 views

HTTPS to HTTP rewrite rules not working as expected

I'm struggling at getting these rewrite rules to work and was wondering if someone can point out my error(s). The following should redirect a user to HTTPS if they are at the login page or in the ...
0
votes
1answer
41 views

How to redirect correctly a root domain to a subdomain in a subfolder?

The next .htaccess code redirects example.com (from /public_html root folder) to the subdomain1.example.com (to /public_html/subdomain1 subdolder) and an old page register to a new one at ...
0
votes
1answer
19 views

How to move a https website back to dev and access the admin?

I have a live WP site that uses https, when I move it back to a dev server that's http only I can't access the admin because it get's redirected to https. This only happens when I try to use the ...
0
votes
1answer
31 views

Log out and redirect to different URL

I have a sign out on my site to log out of Wordpress When logged out I would like to redirect uses to a different URL. I'm using this in the functions.php add_action(' wp_logout ',' ...
0
votes
0answers
23 views

Logging back into WordPress after logging out and having issues with 'loggedout=true' in redirect URL

I have custom login form that displays a logout link after a user has logged in. I'm running into an issue when clicking log out. Wordpress redirects the user to a url with the parameter ...
1
vote
1answer
41 views

Redirect to page 2 after comment

I would like to have commenters going to the page 2 of a paginated post. My posts are separated by the <!--more--> tag so i have the www.site.com/post-title and www.site.com/post-title/2/. I ...
0
votes
1answer
79 views

Edit Permalink Structure For Custom Post Type or Modify .htaccess?

I've been trying to find a solution for days now and I am absolutely stumped. I am putting together a website to list my domain portfolio for sale and I'm using a plugin I purchased to lists the ...
0
votes
0answers
13 views

How to prevent redirect_canonical from redirecting media

I have an issue where there's a media file with the same url as a post (egg-bake.pdf vs. egg-bake) The permalinks are set to mydomain.com/post-name. The problem is that since egg-bake.pdf was ...
0
votes
3answers
55 views

Is there way to redirect all blog post pages to Home page?

I am creating a social bookmarking site using WordPress. I am using a custom field to store the web URL. Then when a user clicks the Title, it redirects to the original blog post page. Please check ...
0
votes
1answer
17 views

redirect “about author” code to about page

I'd like to redirect/change this code <a href='" . $wp_about_author_author['posts_url']. "' title='". $wp_about_author_author['name'] ."'>". apply_filters( 'wp_about_author_name', ...
0
votes
1answer
14 views

Redirect first time comments

So I want to add a comment redirect code to my comment form. I know I have this part right here: <input name="redirect_to" type="hidden" value="http://domain.com/thank-you" /> So what I want ...
0
votes
0answers
17 views

use root url for every permanent link in permalink structure

I would like to redirect each "view post" or similar button in the backend to the root Page. I now just entered a / in the custom structure of permalinks. Could this give me any issues, with e.g. ...
0
votes
1answer
28 views

Wordpress Redirect Specific User. Tired of Peter's redirect Plugin its not working

I was trying this since 2days still not a good answer. Tired of Peter's login its not working. I want to redirect a specific User (Like "John" or someone) to a specific Page. its a hidden one i want ...
0
votes
1answer
62 views

Redirect HTTP to HTTPS

I was pleasantly surprised to see that CloudFlare had started providing a free SSL certificate to all its users, my site included. I use a WordPress plugin to force HTTPS SSL on my pages, but the ...
0
votes
1answer
77 views

Redirect all users, except network administrators, from the main site to a subsite

I have a WP Multisite / Multi Network installation. What I need is to redirect all non-logged and also all logged in users, except logged in network administrators, from the main site example.com ...
0
votes
0answers
104 views

Multisite network admin – URL / redirect error

I followed this guide on how to set up a WordPress installation that is optimized for git deployment. Basically, WordPress is moved into a subfolder called wordpress, index.php and wp-config.php are ...
0
votes
0answers
52 views

WP Multisite Running Windows, Web.config Causing Redirect Loop

I have this network site setup When creating a Mini site the content loads fine but all File source are trying to use the mini site's Root root is www.example.com/wp/ ...
0
votes
0answers
46 views

!is_user_logged_in() fails

Updating to Wordpress 4 has broken this for me, and I'd like to understand how to fix it. The following code should redirect users when they are not logged in : <?php if ( !is_user_logged_in() ) ...
0
votes
1answer
146 views

login page not working [closed]

i moved my wordpress website from old server to new server without any problem. when i log in to dashboard it is not working. Page becomes refresh, checked with password right and wrong. It doesn't ...
1
vote
1answer
108 views

Wordpress HTTPS redirect loop

I've been struggling to get HTTPS functional on my site for over ten hours now. I've got severe headache trying to set it up myself. I want you to understand that I tried several different ways to ...
0
votes
0answers
44 views

WordPress HTTPS - '… better to use HTTP for installation …'

I've made a few test installation of WordPress, including Multi-Site, using https://www. - and haven't encountered any specific problems or issues. I aim to make https://www. the default, site-wide. ...
0
votes
1answer
74 views

Working with Reverse Proxies and Multisite Installation

We have a wordpress multi site, the main site has a URL similar to mainsite.com Each of the sub sites have a URL such as subdomain1.mainsite.com, subdomain2.mainsite.com etc Each of the sub sites we ...
0
votes
1answer
28 views

Why WP redirecting to homepage after GET form submitt?

<form method="get" action="example.com/?category=1"> <input type="submit"> </form> action parameter may be any page etc. but it always redirect to homepage. If change method to ...
0
votes
0answers
48 views

How to Redirect login User with Mapped Domiain Primary blog Url to Original Sub-site Url

I have the following code which redirects a user of a multi-site to their respective sub-site based on their primary blog url when they log in from the main site. add_filter('login_redirect', ...
0
votes
1answer
30 views

How to get better performance for redirect from domain.tld/35 to domain.tld/full-permalink?

Based on this answer I created a function to change the shortlink from domain.tld?p=435 to domain.tld/435 and redirect domain.tld/435 to domain.tld/full-permalink: function shorter_shortlink() { ...
0
votes
0answers
104 views

Redirect using document.location.href go to undefined > 404 on Wordpress

Here goes my issue: I'm executing the sql and listing the states fine in the page >> mywebsite.loc/fairs/ and I want to select the combo and redirect to >> mywebsite.loc/fairs/?state=CA But wordpress ...
0
votes
1answer
61 views

Creating intro page in wordpress

I am trying to create a very simple "intro" page in wordpress which will display a 5 seconds video introduction and then will redirect to the homepage automatically. I saw that there are many plugins ...