"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
1answer
12 views

301 Redirect Loop

I have wordpress site hosted on openshift say example.com. I am redirecting example.com to www.example.com (non www to www). I have created alias for www and non www version and updated my cname with ...
0
votes
1answer
11 views

Allow arbitrary text after page URL

I'm trying to add a page that is able to display different information from a database based on the URL. http://example.com/page/ retrieves the page. I want ...
0
votes
1answer
14 views

Paginations in Category Page Leads to Sample Pages

I'm having trouble with my WPMU site that I hope you guys can help me with. Anyway, here's the situation. For example, I'm on my site's category page. I clicked the next page, or any other page aside ...
0
votes
0answers
9 views

redirect a domain to specific page on another domain running multisite

I have 2 domains, 1 is running subdomain multisite and the other I just want to redirect to the multisite domain. Domain1.com = running sub domain multisite Domain2.com = bare domain to be ...
0
votes
0answers
15 views

Blog post URL redirects to a Page URL who's slug is a prefix of the post slug.

I have a page with slug 'what', and a blog post with a slug which begins with 'what' (ie. 'what-is-this-blog-about'). For some reason when navigating directly to the blog post URL the user is ...
0
votes
0answers
14 views

Moving Wordpress to a subfolder and update URL (same server)

I'm having some problems with my blog right now. I want to move it from my original root to another folder AND update the URL too so I can make other blogs with the same domain name. Step-by-step : ...
0
votes
0answers
22 views

redirect after password reset by user roles

I'm not finding the answer to this one. We have a PHP script in place that works fine to redirect after password reset to a permalink ID. This is the code: // Redirect after password reset ...
1
vote
1answer
74 views

Authentication / login mechanism (non wp-admin)

I am developing a theme. I need to have a user login system, that allows users to see all contents of the application and interact with it only after they login (not admin panel login). I need to ...
0
votes
0answers
8 views

Redirect imported blog posts using my permalinks settings

I have imported all of my blog posts from a different CMS to a local WordPress setup to test things out before going live. Here is the layout of the posts from the old CMS: <PublishingArticles> ...
0
votes
1answer
45 views

Redirect Image Url to a page via htaccess

I am trying to redirect Image Urls to a page. I have used 301 Redirection plugin, but that doesn't seem to work. For ex : http://mywebsite.com/wp-content/uploads/2015/02/Contestant-11.jpg should ...
0
votes
1answer
20 views

How to Block Wordpress from subdomain?

I have a website with wordpress installed http://www.website.com Wordpress is installed in my root I also have multiple sub-domains/sub folders in my root , How do i block wordpress from these ...
1
vote
0answers
20 views

How to switch to year/month directory structure format from a single folder

Currently we have close to 800,000 images in the Wordpress /uploads folder. It's a single folder and not structured on years and months. Our admin says that there might be an issue with backing up ...
0
votes
0answers
18 views

ReDirect subfolder link to another sub-folder and force SSL

My wordpress is installed in a subfolder, for example: test, so my urls look like http://example.com/test/product/buy-product-a/ etc.. Now I have installed another wordpress in subfolder, for ...
0
votes
0answers
48 views

Wordpress home page is a 302 redirect

I've been trying to fix a redirect problem for a while now, but can't find anyone with the exact same problem as me...which makes me think I'm overlooking some obvious answer. I've wasted hours trying ...
0
votes
1answer
12 views

Wrong Redirection

My website's login page i.e techisthenewcool.tk/wp-admin is redirecting to website's homepage. I don't know why its happening. I tried googling for it and found no results. I use Hostinger India free ...
0
votes
0answers
22 views

link in PDF redirects to wrong PDF

I have a few PDFs on my site with links on the site to the PDFs (all working fine). And, each PDF has embedded links to the other PDFs. I have set up redirects to make sure the links (difficult to ...
0
votes
1answer
78 views

Custom Login Form - Redirect user to login page if not logged in

I have integrated custom login form as mentioned here and embed this custom login form to a WordPress page, via shortcode [dm_login_form]. After that I have integrated access control plugin here ...
0
votes
2answers
36 views

Multisite wp-admin redirect loop

I have a subdirectory multisite setup, it all works fine apart from one small issue... The sites are setup in the following structure: http://domain.com/blogs/ http://domain.com/blogs/second/ ...
0
votes
1answer
66 views

Redirect loop (only for multisite network admin)

I can log into http://localhost/wp/wp-admin/ fine, but logging into http://localhost/wp/wp-admin/network/ produces a network redirect loop (ERR_TOO_MANY_REDIRECTS). The site also loads just fine even ...
0
votes
0answers
32 views

How to create a php page to handle http request in WordPress

I want to have a page to handle the http request suck as xxx/app/api.php?id=7 and I create a php page in wordpress with redirecting by adding the following code to the end of the functions.php. After ...
0
votes
0answers
35 views

Customize WP Admin Login Page and Restrict Access

I am a newbie to WP and by late trying my hands on customizing admin login page. So far I have made a custom login and registration form which allow access only using e-mail address. I need to allow ...
0
votes
0answers
29 views

Blog posts redirecting to random 404 pages

I cannot figure this one out, we have a site with 92 blog posts published. Of them, 3 do not work. When clicking on them in post list they go to 404, same when click view post or preview from the ...
0
votes
0answers
238 views

taxonomy term in URL slug won't forward to the correct term for custom post like it does for default categories/normal posts

so I notice when you type the URL of a post with a category (eg category5/post), it will automatically forward to the correct category in the URL (eg category5 changes to category1) if the category ...
0
votes
1answer
54 views

Redirect User to login page

Well I am newbie to WP and the question may sound duplicate but even after trying for few days I can not make this work. I have integrated a custom login and registration form in my WP site which is ...
0
votes
2answers
34 views

Infinite Redirect Loop after moving to subdirectory

I installed WordPress locally and created a theme, which worked fine. Now, as I wanted to deploy the site to a webserver via FTP, I got stuck by an 301 Redirect loop which makes it impossible to ...
0
votes
0answers
21 views

Add second permalink to custom post type

For a clients print advertising they would like to be able to create a shorter URL of a custom post type which they can use in their ads. Of course it would be possible with on of the many redirect ...
0
votes
1answer
25 views

If term and page have the same slug, how can I view the term archive?

I am using a custom taxonomy with the term slug 'nursery'. I'm also using a page with the slug 'nursery'. I can view the page fine, but trying to view the 'nursery' term archive page as fetched by ...
0
votes
1answer
31 views

Error 404 wordpress redirecting URL

i'm having problems after trying to redirect my website with wordpress. I wanted not to have something like that: "www.example.com/wordpress/". So I did that in the wp-config file: ...
0
votes
0answers
25 views

Wordpress password protected page redirects to admin login on first try

When I password protect my pages, and I enter the correct/wrong password, on the first try, it brings me to the admin login page ( wp-login.php?action=postpass ). Lets say I go back and enter another ...
0
votes
0answers
38 views

I'm doing this single page website the right way?

I'm making a single page web site using WordPress and I want to know if I'm in the right direction, and if this is the best way do it. First I'll show how the website is structured, it has 4 pages: ...
0
votes
0answers
19 views

Stop redirecting to posts not in a category / duplicate slugs

I have multiple posts with the same title, e.g. /states/new-york /cities/new-york /counties/new-york but Wordpress doesn't allow duplicate slugs, so they appear like: /states/new-york ...
0
votes
1answer
38 views

How to redirect all pages of a custom post type [duplicate]

Here's the deal. Let's say I have a custom post type called "subscriptions". Under this post type there are pages like the following: mysite.com/subscription/my-first-subscription ...
0
votes
4answers
77 views

Missing domain http://./wp-… in redirects

I am migrating my WP website from staging to production and I have a problem with Dashboard access. When I try to access http://<domain>/wp-admin.php it redirects me to ...
2
votes
0answers
27 views

Clarification on auth_redirect()

Trying to secure some pages redirecting non-loegged-in users to the log-in page, i found auth_redirect() function here Docs says "Checks user is logged in, if not it redirects them to login page". ...
0
votes
0answers
12 views

How to redirect failed register?

I use a simplistic invite code register system. When a person puts a wrong invite code on the text field and press register it appears: Cannot add or update a child row: a foreign key constraint ...
0
votes
0answers
12 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 ...
1
vote
1answer
83 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 ...
0
votes
0answers
37 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 ...
0
votes
1answer
26 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
28 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
26 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
25 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
35 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
21 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
73 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
126 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
142 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
42 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
366 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
22 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/ ...