Tagged Questions

"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
11 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
15 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
11 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
35 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
18 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
17 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
25 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
17 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
35 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
48 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
10 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
44 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
16 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
13 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
22 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
46 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
57 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
70 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
29 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
33 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
96 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
40 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
35 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
54 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
21 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
30 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
26 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
76 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
53 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 ...
0
votes
2answers
77 views

Debugging a redirect loop affecting only certain pages

I am trying to fix a site which has several redirects that seem to have been added via a plugin called Peters plugin redirect. The plugin has since been deactivated and delated but the redirects loop ...
0
votes
0answers
19 views

Redirect an old to new permalink not working

I have my old site permalink structure like this /%year%%monthnum%%day%-%post_id%.php since 2010 and now I decided to change server and transfer it on a new one and change the permalink on a much ...
0
votes
0answers
26 views

Redirect all users to previous URL before login, except “contributors”

In one hand I redirect all users to previous URL before login. This is the code: function login_redirect( $redirect_to, $request, $user ){ if(isset($_REQUEST['redirect_to'])){ return ...
0
votes
0answers
37 views

Stuck in a Redirect Loop

My Wordpress site is stuck in a redirect loop and I can't now access it. I recently purchased an SSL certificate which my site host says is installed correctly and points to the correct place. I ...
0
votes
1answer
24 views

Redirect after user changes password

I'm doing a custom form where the user can change is password. After submission and if the password is according to the rules I save the new one, overriding the old one, to the database, delete the ...
1
vote
1answer
27 views

How to hide that a certain non-Wordpress directory exists on the server?

I'm very much a newcomer to Wordpress and to this site, so I apologize if this is easy or addressed elsewhere. I have a WP 4.0 site, using a naked domain http://example.com, with the WP installation ...
0
votes
2answers
51 views

Redirect Custom Post Type after user submits update

I have a function for a custom post type that redirects NEW posts to a specific url after they are submitted by users: function tribe_redirect_after_community_submission( $wp ) { if ( isset( ...
0
votes
1answer
34 views

different CNAME to corresponding subfolders

I have three wordpress websites hosted on Apache server in three different subfolders, like www.mydomain.com/sub1;www.mydomain.com/sub2;www.mydomain.com/sub3 Now, I have three new domain names ...
1
vote
1answer
21 views

Moving test theme to live site without mySQL error - how? [closed]

I have installed a wordpress theme on a hidden test site and made some css/design changes. How would I move this to my live site? Sadly I screwed up some of the PHP/MySQL stuff when trying to copy ...
0
votes
0answers
32 views

Custom Page redirects after user registers

I'm using the "Theme My Login" plugin and basically I needed to make it so if the user fills out the registration form on page "X", they get taken to page "Y". I have done this with the help of a ...
0
votes
0answers
31 views

Redirect Issue: Wordpress database

I have an issue with my wordpress site that seems to relate to the settings in wordpress. However, it seems to go into a redirect loop. I can confirm upon a fresh installation the issue disappears. I ...
0
votes
1answer
27 views

A good hook to check authorization and redirect?

It seems strange to put a redirect in a template page, because so much of the page has already been built by the time you reach a custom page template. I'm wondering what is a good action hook to use ...
0
votes
1answer
42 views

Best Way to Redirect Category to Page and Hide Category

I have a category archive page at: http://mysite.com/news It displays an archive of items from the category 'news-article' I'd like to redirect any requests for ...
0
votes
1answer
70 views

redirect index.html inside folder to wordpress page of same name

i have a wp page called mysite.com/stuff/ i have a subdirectory on my ftp called mysite.com/stuff/index.html with a bunch of files and other subdirectories inside. when i go to ...
0
votes
1answer
28 views

Redirect page to default subpage

On a site that I'm working on I have a particular page that has four subpages, which act like process steps. I want the parent page to always redirect to the first of these as a default, should the ...
0
votes
0answers
34 views

unwanted redirect on saving custom post type / custom post not saving

I've added (or at least attempted to add) a custom post type that has a custom meta box allowing a file to be attached to the post. This function has been spotty at best, allowing some files to be ...
0
votes
1answer
56 views

Wordpress as a Facebook app

I´m setting up a WP based app and due to some limitations on facebook page tabs and mobile phones I´m trying to set up a redirect that directs the pages accourding to device and if its visited through ...
0
votes
1answer
52 views

Allow the access over wp-login.php

I created a maintenace template, and redirected to the folder where it is located via the functions.php file inside the theme folder; this is the code: function maintenance_redirect(){ if( ...
0
votes
1answer
33 views

Redirection error after posting a comment on a custom type post

I have created a custom post type called portfolio so the permalink structure for this type of posts is like this: mydomain.com/portfolio/post-name/ My issue is that after posting a comment on one ...
0
votes
1answer
29 views

All pages lead to home

I've recently moved from linux to windows hosting, and now all of my permalinks just redirect to the homepage. I've selected the correct structure in Settings->Permalinks and have the following in my ...