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

Wordpress within a subdirectory of another Wordpress environment doesn't work

Here's a summary of my scenario: I'm running Wordpress on a linux environment The root directory contains and index.php file that references the subdirectory where my main site's files are (codex ...
0
votes
0answers
13 views

Any way to redirect from old domain to new?

Say we had a WP site at aaa.com, but we changed the name and domain to bbb.com. We set up a 'redirect' from aaa.com to bbb.com (on Dreamhost) but it does NOT redirect 'pretty' links like ...
0
votes
0answers
10 views

How to Redirect /post-name.html to /categoy-name/post-name.html unbreak seo?

I wanna to redirect old permalinks post type to new permalinks automatically unbreak seo. My old permalinks: domain.com/post-name.html New permalinks: domain.com/category-name/post-name.html by in ...
0
votes
0answers
11 views

removing posts redierct to 404 page [on hold]

i have a plugin as phone book with lots of information ,when i import the xml data or removing it with another plugin (bulk WP) after 43 44 .. seconds it redirect to 404 page with old URL for options ...
0
votes
0answers
23 views

multisite https redirects to http home_url

I have a multisite with subdomains. Worked like a charm. Now I want (at least some of) the sites to use HTTPS. So my hoster installed a wildcard SSL certificate. To start to move one site, I changed ...
0
votes
1answer
15 views

redirecting an entire WP site from one top level domain to another

I think I know the best way to proceed doing this but just want to get some reassuring thumbs up before going ahead. Basically I want to move a .co.uk domain to the same name but .com The site ...
-1
votes
1answer
17 views

Hide page for user logged and redirect for profile? [duplicate]

I have a page on wordpress, that after you enter is redirected to your profile page. So far so good. However, after the user logged in would have had no more access to the homepage. I've hid the ...
0
votes
0answers
8 views

How to redirect Https to Http [migrated]

I want to redirect HTTPs to HTTP, I tried following code in .htaccess file Options +FollowSymlinks RewriteEngine on RewriteCond %{SERVER_PORT} ^443$ RewriteRule ^(.*)$ http://www.yourdomain.com/$1 ...
0
votes
0answers
25 views

Unique page URL redirect to file_get_contents() at domain

I need to take a page from WordPess and 301 redirect itself to a sub-domain. Page = http://adopttheweb.com/does-it-work/ Domain = http://wp-unique-page-url.adopttheweb.com/ These are live, but ...
0
votes
1answer
17 views

Redirect Old domain & posts to new domain homepage

I am closing my previous site so i want to redirect old domain's homepage & all posts to new domain's homepage. I tried using Cpanel redirect but it only redirects homepage not posts. I want to ...
0
votes
3answers
24 views

Redirect to login page

I am new to wordpress. I am running wordpress setup on http://localhost/wordpress/. I am facing two problems right now: Only the logged in users can access the site. So, I am trying to redirect the ...
0
votes
1answer
12 views

Prevent redirect to page/page when reserved term 'name' in $_POST when value is a page/post title

I'm using a particular payment gateway which includes in their payment response the parameter 'name'. I'm aware this is a reserved term which shouldn't be used. Unfortunately, I have no control over ...
0
votes
0answers
23 views

Login form redirect problem when checking if user is logged in on page

I created a private page, but this page needs to be more than just available by entering a code for a page that has been listed private in the Publish settings of Visibility, so I created a page and ...
0
votes
1answer
17 views

Multisite hide subdirectory

I have a multi site install using sub directories and Im using domain mapping. The second site is like such domain.com/site2 and thats mapped to mywebsite.com I can visit domain.com/site2 or ...
0
votes
0answers
16 views

How to disable the automatic redirection? [duplicate]

I already posted a similar question on Serverfault: http://serverfault.com/questions/776310/how-to-disable-the-automatic-redirection-in-wordpress-htaccess-file My problem is that WordPress ...
2
votes
0answers
34 views

Using a custom field value to redirect away from a 404 page

I’m moving from an old CMS to WordPress. The old articles are saved as posts and the new WordPress permalink is %post-id%. The old URL slug is unique and saved as a custom field for each post; the ...
0
votes
1answer
35 views

What causes /pages/ to appear in URI, and how to remove it?

I have a WordPress site I am working on, in which /pages/ appears in the URI for all Pages. For example, www.site.com/pages/contact-us/ I am stumped as to why this is occurring, it doesn't occur on ...
0
votes
2answers
36 views

How to redirect 40,000 urls with the same url structure efficiently?

The 40,000 urls have the same structure between them. How can we redirect 40,000 urls in bulk instead of inputting each url 1 by 1? Here's a sample format of the url structure: ...
0
votes
1answer
38 views

Custom Login Plugin Redirects to wp-login.php After Site Migration

I am using a custom login plugin I made for my site, it was working fine before migration but now it redirects to the wp-login.php page. Old Site -> http://prep.kevinmamaqi.com/ (still available ...
0
votes
1answer
43 views

Admin page redirect to another admin page

How can I redirect certain WordPress admin pages to another admin page. For example I never want a user to see wp-admin/about.php it should always redirect to wp-admin/index.php. There are also a ...
-2
votes
0answers
11 views

Output Diffrent Tablerows after loading the same Wordpress Side with a Shortcode in the Content where the table will be shown

i know currently how i can add a shortcake for my Plugin that will output an table with 20 Rows of information and also a navigation bar for the previous 20 rows. But I still could not find out how to ...
0
votes
1answer
16 views

Wordpress Permalink Problem 404

My website old permalink http://example.com/postid.html . Now I changed my permalink structure to http://example.com/postname . My old link which is now 404. I tried using Yoast Generator and ...
0
votes
1answer
29 views

Users are redirected to homepage instead of wp-admin

After migrating my wordpress site users who are not Admins are redirected to the site's homepage after login. On the old site they were redirected on wp-admin. The Administrator is redirected to ...
1
vote
1answer
33 views

Redirect loop after changing nameserver [closed]

my site is https://techyuga.com. Yesterday, I tried to change the nameserver to CloudFlare nameserver. But after that,I am getting infinite redirect loop on my website and I can't even log in to my ...
0
votes
2answers
93 views

Redirect all pages except one to homepage via .htaccess

I just trasformed an old website to a one-page Wordpress. The old website had several URLS, now there's ony 1: the homepage. Plus another page with privacy policy. Hence I would like to redirect all ...
0
votes
0answers
15 views

How to redirect a sub directory except for the landing page?

I need to redirect all my posts under the subdirectory 'plays' to the home / directory except for the landing page so if you go to mydomain.com/plays/hello you will be redirected to mydomain.com/hello ...
0
votes
0answers
13 views

How to redirect in Nginx from Year/Month/Postname to Year/Month/Category/Postname

I am using Wordpress on Nginx, and I need to create these 301 redirects: from /%year%/%monthnum%/%postname%/ to /%year%/%monthnum%/%category%/%postname%/ from /%category%/%postname%/ to ...
0
votes
1answer
44 views

Redirect Localhost wordpress site to dashboard

I Upload Wordpress Website From Server to Localhost When I Open http://localhost/wordpress/wp-admin it redirect to me http://localhost/dashboard/
0
votes
0answers
11 views

How to occupy Wordpress slug [duplicate]

I'm wondering how to occupy a certain slug to prevent it from being used by my users. I want to make a custom redirect to redirect the users to my login page. So the url could be ...
0
votes
0answers
24 views

WordPress redirecting issue using is_page and logged_in

I am using buddypress and want to redirect all logged in users to their profile page when they try to access login page. Below code only works if I check logged in user but not with is_page(). Also ...
1
vote
0answers
22 views

wordpress_redirect returns different headers for HEAD and GET requests

There's an odd behaviour I just noticed during some tests we're doing on one of our sites. We're verifying if the user isn't logged in and perform a wp_redirect in our theme's header.php like this: ...
0
votes
1answer
14 views

Showing different pages depending on a cookie value

I have a website that asks the visitors to choose a language on the first page, I store the option in a cookie and I am showing the content (starting with second page) depending on this option. I ...
0
votes
0answers
18 views

Redirect to 404

If I try to use link like http://site_name/post_name/546/, I would be redirected to http://site_name/post_name/. Is there any way to make redirect to 404 page in this case (only if last part of url ...
0
votes
0answers
34 views

301 Redirect on wp multisite

I have tried to follow instructions see on couple of discussions and none of them seem to work . I have a domain viraleditorial.com and its running multisite network. I have subsite ...
-2
votes
2answers
46 views

How to change Ugly link?

How to change Ugly link from www.test.com/?p=123 to test.com/123 I want to make two types of links: www.test.com/123-my-post-title-name www.test.com/123 The latter should lead ...
0
votes
1answer
20 views

'Conflict' with action deleted_post and is_admin()

I created a delete button on frontend for blog posts and custom type posts and I would redirect to a specific page after deleting them, I looked around on google and I found all solutions like this: ...
0
votes
2answers
32 views

What is the most efficient (ie. less server intensive) way for 301 redirects?

I would like to know if there is any difference, in terms of efficiency (i.e. less use of server resources) in performing 301 redirects using .htaccess or using the wp_safe_redirect feature of ...
1
vote
0answers
37 views

How do I determine what is causing a redirect for a given page?

This is probably a face palm question. On Wordpress 4.4. the link http://example.com/blog ...redirects to: http://example.com/category/general ...ie. it's redirecting to archive.php and ...
0
votes
1answer
27 views

Redirecting to old domain, tried everything, nothing works

I've moved a Wordpress site from one domain to another. I have changed the siteurl and home options in the wp-options table, added this tags into wp-login.php file: update_option('siteurl', ...
0
votes
0answers
27 views

How do I generate 301 redirect?

I am working on the function which is supposed to add 301 redirect when the permalink gets changed (for example, when we change categories structure). The idea behind is to keep the old URL in a meta ...
0
votes
0answers
17 views

Redirecting a Post to a Page Because the Page is More Flexible

Wonder if there is an acceptable way to do this. I am using a theme on this site that allows me a good amount of functionality for pages that isn't there for posts. So, I can create a page and have ...
0
votes
0answers
31 views

Wordpress redirect from one directory to another but exclude wp-admin and wp-login.php

I would like to redirect an entire WordPress sites (posts, pages, categories etc) from one sub directory (blog) to another (news) but excluding /wp-admin/ directory and the /wp-login.php file. I have ...
0
votes
0answers
21 views

Website keeps redirecting to Wordpress install page (install.php)

I hope someone here can help me as the problem I have is driving me insane. For the last few months I have been putting together a Wordpress portfolio and had almost finished it. Recently, out of ...
0
votes
0answers
25 views

Best way to redirect huge number of documents (pdf/mp3/docs)

I am working with a WordPress site that has huge number of documents. Now the documents paths is changed after massive system upgrade, I would like to know about the best way of doing redirects ...
0
votes
1answer
22 views

Redirecting a POST to a php script

This is an expansion on the second answer to the question asked here. I have been trying to redirect a post request from my_website/test to wp-content/themes/my_theme/test.php but I am getting a 404 ...
0
votes
1answer
37 views

Infinite Loop after Genesis Theme Upgrade

I'm running WordPress on Microsoft Azure, and I've been having a lot of timeout errors any time I try to install or update plugins/themes. (I'm using a custom child theme, based on Genesis.) Today, I ...
1
vote
1answer
87 views

How to pass email values from one php page to another

Good evening, I have two subscription forms (mailclimp) i want to pass the email value from one php page to another. In the code below i add the /** session_start(); **/ in comments because show me ...
1
vote
0answers
27 views

WordPress Multisite - Multiple subfolders for blogs

I created a Network in blog.animals.com, the Network is running fine. I can set up blogs like blog.animals.com/chimpanse. This is also working. I like to have multiple (2) subdirectories for each ...
0
votes
0answers
21 views

bbPress 404 for non-logged in users - Need redirect to login page

I've got a bbPress forum (all forums are private) and am using a plugin that notifies users of new posts within the forums. The problem is that when a users clicks on the link in the email, they are ...
0
votes
0answers
17 views

How do I redirect /search/ to ?s=

I have a Search page set up which uses the typical GET format <form id="searchform" action="http://example.com" method="get"> <input id="s" type="text" name="s" ...