"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
3answers
32 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
15 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', ...
-1
votes
0answers
14 views

auth_redirect and multiple domains [on hold]

I have a bilingual website and have set two domains to point to the same Wordpress installation. Both domains point to the same directory and everything runs fine. I need users to be logged in to view ...
0
votes
1answer
12 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
10 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
13 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
0answers
23 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
40 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
28 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
13 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
27 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
47 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 ...
0
votes
0answers
10 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
33 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
29 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
20 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
17 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
24 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
34 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
41 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
48 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
15 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
16 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
30 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
19 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
26 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
39 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
27 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
19 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
26 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
27 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
26 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
2answers
27 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
45 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
23 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
24 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
44 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
46 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
29 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
27 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 ...
0
votes
1answer
36 views

Multisite: Redirect Subsite Administrator to Subsite Home Page, Bypassing Dashboard

The subsite administrators of my multisite installation want to go directly to the subsite home page upon login, bypassing the dashboard. Irrespective of the wisdom of this, it's what they clearly ...
0
votes
1answer
28 views

Sub Categories Keep Redirecting to Pages With Same Slugs

What I want to do is have a news category with two sub categories (property-registration and property-revitalization). Going to /news works fine. However going to /news/property-registration or ...
1
vote
0answers
24 views

301 Redirect for Non-Date Based URL's

I'm wanting to redirect posts in WordPress that do not have a date based permalink structure to those that do. For example: domain/aprils-obx-race-recap-gnarly to: ...
0
votes
2answers
32 views

How to create short urls for sharing and downloadable content?

I want to create something similar to "youtube.com/long => youtu.be/short" for my wordpress blog/portfolio/freebie site: "magicshrooms.com/%cat-etc => mgcsr.mz/link-name ". Generally, I want to create ...
0
votes
0answers
35 views

How to load another page file of my custom plugin file

I'm creating my own plugin for medical purpose. in the site front end using shortcode i created a login form. so after logged in the doctor can see list of patients with and edit link to each row. i ...
1
vote
2answers
56 views

Redirect 301 www.my-site.com/page/n to www.my-site.com/ [closed]

How to make redirection on WordPress site with .htaccess to redirect this: http://www.my-site.com/page/n to home page: http://www.my-site.com/ I do not wish to list previous post on site on first ...
0
votes
0answers
48 views

Subpages return 404 server error

I just moved a site to another production environment and I have an issue with accessing subpages. The home page and the /wp-admin section works as expected and there are no path issues with images or ...
0
votes
1answer
23 views

get_bloginfo prints IP instead of url

I just recently moved a site to another production environment and I seem to have missed some setting in the db config as a lot of the built-in functions prints the IP instead of the url. Ideas? Tried ...
0
votes
2answers
39 views

Admin user getting redirected to /wp-admin/user

I recently added a network to my multi-network wordpress install (that is, a single install with multiple subdomain networks, each with multiple subdirectory sites). Although everything appears ...
0
votes
0answers
28 views

Subdomains to pages

Hi I have a website on wordpress which have 2 pages which I meant to convert it to subdomain. Eg: Let my website at be http://www.domain.com there are two pages http://www.domain.com/page1 and ...