"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)

1
vote
0answers
104 views

Why is there a status message “302 Found” on top of the site?

I'm confused about current state of my website. Whole website is working fine but on the top of the site it shows a weird message. Please see the image below: Why this message shows up? Is my site ...
0
votes
1answer
23 views

Redirection on Custom page

I have created login page template and created the login page through wp-admin->pages. here I select the template 'login' Now I need to redirect user on this page if somebody haven't logged in. ...
0
votes
0answers
16 views

How to create access to a wordpress site via registration/login page?

What I want is, whenever a visitor tries to access my wordpress site, either by putting in the url or by clicking on a link from external source, he/she has to go via the registration/login page (if ...
0
votes
1answer
14 views

Temporary Infinite Redirect Loop

I have written a custom WordPress plugin for a certain site (this is not a public plugin, it is private written for that specific site). The plugin reads RSS entries from other sites, and then for ...
1
vote
1answer
22 views

wp_redirect does not work

I have a problem with wp_redirect which does seem to redirect. It's a full url that is on the current website. I need to put exit(); after wp_redirect for it to redirect. Is this normal? Redirect is ...
-2
votes
0answers
35 views

404 hijack in WooCommerce [closed]

A website I'm working on is having a very odd WooCommerce issue. This only happens when WooCommerce is activated with pretty links. Any 404 errors are redirected to an external website which I have no ...
0
votes
1answer
11 views

How do I remove the RSS Feed Redirect?

Currently all the feed URL's for our site forward to /feed/ For example: www.wgel.net/feed/rss2/ forwards to www.wgel.net/feed/ The problem is that /feed/ is ATOM format and I need to get the RSS2 ...
0
votes
2answers
36 views

Force HTTPS using .htaccess - stuck in redirect loop

My Wordpress website is located at example.com/wordpress and I need everything inside to be accessible only using SSL. I've created a .htaccess rule that redirects http -> https: RewriteEngine On ...
0
votes
0answers
6 views

Make a WP instance go to the 404 page of another WP instance

I have two Wordpress instances: One is in '/' The other one is in /commerce I would like that, when somebody goes to /commerce/nonexistingpage or some route that does not exist, the user gets ...
0
votes
0answers
19 views

Specify which template to use by link?

Is there a way to specify which template I want to use when clicking a specific link? Specifically, I have my tag template listing all posts that have a certain tag. My page for the category ...
0
votes
0answers
26 views

How can I get a traceback on function calls?

I've been trying to make a search page, but I keep getting redirected back to the main site. I can't find anything useful in the log about why this might be happening. Is there a way I can enable some ...
1
vote
1answer
22 views

Create a page that automatically redirects to latest post of a specific tag/category?

I'm looking to make a URL like for example: http://localhost/latest-news Where the page for latest-news will automatically redirect to the latest news article (article with news category tag). I ...
0
votes
0answers
4 views

Making a physical folder containing .htaccess without breaking WordPress [migrated]

I am currently relaunching a website, moving from an archaic CMS to WordPress. Unfortunately there will be thousands of unavoidable 301 redirects to set up due to a complete change in site structure. ...
0
votes
0answers
22 views

Converted posts to a CPT, 301 redirects necessary?

I had about 300 posts, sitting inside of the default post post type. I have since created two seperate CPTs, and transferred those posts to the new CPT's. Do I need to set up 301 redirects for these ...
2
votes
1answer
70 views

Make A WordPress Page Accessible To Admins Only, Redirect Other User Roles

I need to redirect logged-in and non-admin users, from page with id 172, to the home of the website. Note that users that are not logged in can actually see the page. add_action('admin_init', 'xyz'); ...
0
votes
1answer
29 views

Media/attachment urls don't redirect with fake URL structure

I'm having an issue with media/attachment files and I'm not quite sure how WordPress is returning the URL that it does. I've noticed that I can add anything as a subdirectory structure before a media ...
1
vote
1answer
42 views

Wordpress multisite subdirectory redirect infinite loop issue

Any time I create a new site on my multisite install, I get an infinite loop redirect when navigating to that site's admin. I'm using the default htaccess supplied by WP for my subdirectory install. ...
0
votes
1answer
30 views

Different permalink for CPT and regular Posts/Pages but why?

Permalink structure in Back-end: http://domain.com/%year%/%category%/%postname% For "regular" Posts/Pages all is okay but as soon a CPT is shown %year% is gone? Url shown for Posts/Pages looks some ...
0
votes
0answers
10 views

How can I redirect an out of date feed rewrite to an external url?

I have a site that used to use Gigpress - and therefor had people who subscribed to the Gigpress feed - ?feed=gigpress&tour=1 I'd like to point these requests to the new, correct, external tour ...
11
votes
2answers
224 views

Host the wp-admin on another domain?

Currenly I have a client that has a WordPress running on, let's say, www.example.com. I'm working on a new version using another technology/language that will be hosted on another server.. But the ...
1
vote
1answer
26 views

Redirect blog archive into certain format

My blog archive URLs were like: http://example.com/2014/03 I changed my site's permalink from /%postname%/ to /%postid%/%postname%/, and using Redirection plugin, I set a redirection like: and ...
0
votes
1answer
63 views

Redirect if $_Server['REQUEST_URI'] is /wp-login.php?checkemail=registered

This question extents the question Redirect to custom url when registration fails?: In his comment He Shiming noted.. that to redirect the user on a successful registration, one has to add_action ...
0
votes
0answers
18 views

log in url is not working it goes to 404 wp-login.php can I redirect this using ftp?

I am having developer issues, I have no c panel access. I have ftp, can I get to the wp-config file? I found the function.php file in the template we are using which is twenty-ten, however the ...
-1
votes
1answer
31 views

Redirect URL while building site

Here's what my client wants to do: He wants me to build his wordpress site, but while he's building it, he wants the URL to redirect to his facebook page. I know how to set up the redirect with his ...
0
votes
1answer
23 views

Can't redirect to previous page after using GET

I have a function that is displaying a shopping cart and products, and so after a product is added (which happens via GET) I want it to return to regular domain. This is the code that updates the ...
0
votes
1answer
29 views

Redirect not logged in users if they are on a specific page

I've seen this question posted before but not exactly trying to achieve what I want. Basically what I want is: If user is not logged in AND is on -this page- OR -this page- OR -this page, redirect ...
0
votes
1answer
34 views

Wordpress permalinks and javascript redirection

I need to use javascript redirection in one of my scripts. With /%postname%/ WP permalinks structure redirection works like it should but with default it always redirects to home page. /%postname%/ ...
0
votes
0answers
18 views

Wordpress Duplicator causes redirect error

I'm attempting to copy the contents of an internal Wordpress server for my company to an external client-facing Wordpress server. The standard Wordpress import/export tool fails at receiving image ...
1
vote
1answer
31 views

Logout and redirect using the WP Menu

I have a navigation hyperlink in my secondary menu, that will allow the user to logout: However, the user is prompted with the following screen for confirmation, when clicking on the hyperlink in ...
0
votes
0answers
23 views

auth_redirect header already sent error

I'm a novice to php so please bare with me. I've been pulling my hair out trying to figure out this one. I have a simple if statement in a page template to require viewers to be logged in. <?php ...
0
votes
0answers
17 views

Saving changes in wordpress redirects to log in page, doesn't save changes [on hold]

I am running wordpress with woocommerce. Recently whenever I go to save a change (add a product, update a page, etc.) I am redirected to this url. Without fail this always happens. I can however ...
0
votes
0answers
11 views

Hops / redirects delay loading site

I notice my site is quite slow to load when bypassing server and browser cache. The delay can be anywhere between 4 and 20 seconds. Take the login page as an example and looking in Firebug, I can ...
0
votes
1answer
16 views

Delete link on single-custom.php with redirection

I need to provide a delete link for my users on the single page of a custom post type. But when the entry is deleted the user will end in a nothing found on this page wordpress error (because we are ...
0
votes
1answer
37 views

htaccess redirect for all categories converted to tags now showing 404

I have a WordPress site which syndicates content from a number of sources and auto creates categories and tags. I have converted a large number of categories to tags which now leaves a ton of ...
0
votes
1answer
26 views

URL redirect on updating the post date

I updated the date in the post. But the old URL has already gone viral and people end up in a deadlink as "page not found". I tried using Simple 301 Redirect WordPress Plugin and also Permalink ...
0
votes
2answers
41 views

301 redirect from old URL structur to new

I recently updated the permalink structure of a website from /%postname%/ to /%category%/%postname%/ this is obviously causing 404 errors. Instead of writing 301 redirects for each post is there any ...
0
votes
1answer
10 views

Redirect current user to their most recent custom post

Is there a way that, if a user tries to access a particular page, they are redirected to their most recent post (In a custom post type)? Or, if the user has no posts, redirect them to the homepage?
1
vote
1answer
35 views

Redirecting deleted posts url to another WordPress install

On a WordPress site http://www.example.com/ (MAIN SITE) there are 540000+ posts. I want to reduce number of posts to enhance site speed. I've installed new WordPress at ...
0
votes
0answers
18 views

Folder installation to be in ROOT

What I want to achieve is just a simple removal of the /folder name after my website.com URL and have all my links and WordPress login just under website.com/wp-login.php. 1.) I did a restore ...
0
votes
2answers
80 views

How to redirect user after login to the page called by his first name?

I wonder how to redirect a user after login to the page called by his first name (name used for registration). Example: Username or first name is John, after login he should be redirected to ...
0
votes
1answer
122 views

Wordpress redirecting connections on port 8080 to 80

I have a wordpress blog which is served by apache2(on port 80) and nginx(on port 8080) on Ubuntu 12.04. Now whenever a client connects via port 80 all is hunky dory, but when a client connects to 8080 ...
0
votes
1answer
54 views

How to redirect custom post type archive to first term of associated taxonomy?

I have a custom post type 'countries' and a taxonomy 'cities'. My cities are: boston, new york... I want my archive-countries.php redirect to the first term taxonomy. I mean, if my URL is ...
0
votes
1answer
32 views

Redirect Attachment Page to Attachment

I'm trying to change my attachment page to just automatically redirect to the attachment. Here's what I've tried: Get attachment ID and redirect to that URL: $urlArr = ...
0
votes
0answers
17 views

Blogger To WordPress Permalink Redirection

Is there any way to redirect following or anything permalink like this: http://www.example.com/2014/02/post-title.html to http://www.example.com/2014/02/post-title/ Any link with a .html in the ...
2
votes
2answers
205 views

Resolve a custom post type name vs. page permalink conflict (same slug)

I have a custom post type called "visningshus", and also a Page with that slug. This is as it should (must) be. Currently, "http://my-site.com/visningshus" lists all posts of that type. I want to ...
0
votes
1answer
17 views

Re-directing URLs with dates to URLs without dates

When I first started writing entries I decided to include the month and day in the URL's, thinking I might need them. In the end turns out I didn't. I found that I can access a particular entry as ...
1
vote
1answer
89 views

WWW to non WWW redirect effects on load speed

I was using pingdom to test the load speed on a site I'm working on and got different results for www vs non www. Wordpress automatically redirects to either www or non www depending on the settings. ...
1
vote
2answers
106 views

How to turn off redirection from 'domain.com/login' to 'domain.com/wp-login.php'

I want to install something different than wordpress under 'mydomain.com/login', but WordPress automatically redirecting this link '/login' to '/wp-login.php'. Where can I turn off this redirection?
0
votes
0answers
38 views

Get canonical link

Hi I know get_permalink returns the URL. Some of my posts are redirected and at the same time I update the canonical link to the redirected post URL - (normally relates to post updates). Is there a ...
0
votes
1answer
50 views

redirect does not work in ajax function

I'm using ajax to post the form data. In the end I want to redirect to homepage. I'm trying following code, it does not work. It returns error 302. How can I redirect in the following function? ...