Title: redirecting root to folder, index.php
Last modified: August 22, 2016

---

# redirecting root to folder, index.php

 *  Resolved [Loïc Levêque](https://wordpress.org/support/users/luisobispo/)
 * (@luisobispo)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/redirecting-root-to-folder-indexphp/)
 * Hello,
    I do have a problem after redirecting the index.php on to a folder. WordPress
   is not installed in the root but a folder. The redirection work fine with the
   plugin off, but soon as I put the plugin on, we land on the login page instead
   of the front page. I allowed the wp-blog-header.php, thinking that it would change,
   but didn’t. Is there anything I can do?
 * All my best wishes
    L
 * [https://wordpress.org/plugins/jonradio-private-site/](https://wordpress.org/plugins/jonradio-private-site/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [jon](https://wordpress.org/support/users/adiant/)
 * (@adiant)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/redirecting-root-to-folder-indexphp/#post-5767329)
 * I will have to do a little testing to answer that question. So, please give me
   a little time to response. Because of time zone differences, the work day has
   just begun where I am.
 * Thank you for asking.
 *  [jon](https://wordpress.org/support/users/adiant/)
 * (@adiant)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/redirecting-root-to-folder-indexphp/#post-5767344)
 * Now that I’ve had a chance to review your problem, there are two ways that we
   can work together to resolve it:
    1. Change how you do the Redirection to one more compatible with the plugin; or
    2. Get enough detail from you to exactly re-create your situation on my test system
       and see if it is feasible to fix the plugin
 * Choice 1 would involve you switching to this method of using a Folder to look
   like at Root install: [http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory#Using_a_pre-existing_subdirectory_install](http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory#Using_a_pre-existing_subdirectory_install)
 * I have used this method for years and strongly prefer it to other methods, based
   on how compatible it appears to be with “everything else”.
 * If that is not an acceptable solution, please respond here and we’ll work together
   on Choice 2.
 *  [jon](https://wordpress.org/support/users/adiant/)
 * (@adiant)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/redirecting-root-to-folder-indexphp/#post-5767372)
 * After I wrote this, I remembered one point that is likely involved here. WordPress
   keeps track of your login status by storing a cookie on your desktop/laptop/mobile
   computer. That cookie is named by the site portion of the current URL. Which 
   means that logging into abc.com/folder does not log you into abc.com — redirection
   using .htaccess, Apache SiteAlias or other means can cause login issues.
 * Yet another reason to see if the standard WordPress method described in that 
   link will work for you.
 *  Thread Starter [Loïc Levêque](https://wordpress.org/support/users/luisobispo/)
 * (@luisobispo)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/redirecting-root-to-folder-indexphp/#post-5767442)
 * Hello,
 * Thank you for your help.
 * The only thing I found was just to use the .htaccess redirection.
    It does work
   now, at the moment. Of course I do have the folder name on the url, but it’s 
   ok.
 * Thank you again for your answers,

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘redirecting root to folder, index.php’ is closed to new replies.

 * ![](https://ps.w.org/jonradio-private-site/assets/icon-256x256.png?rev=3370795)
 * [My Private Site](https://wordpress.org/plugins/jonradio-private-site/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jonradio-private-site/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jonradio-private-site/)
 * [Active Topics](https://wordpress.org/support/plugin/jonradio-private-site/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jonradio-private-site/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jonradio-private-site/reviews/)

## Tags

 * [front page](https://wordpress.org/support/topic-tag/front-page/)
 * [index.php](https://wordpress.org/support/topic-tag/index-php/)
 * [redirecting](https://wordpress.org/support/topic-tag/redirecting/)

 * 4 replies
 * 2 participants
 * Last reply from: [Loïc Levêque](https://wordpress.org/support/users/luisobispo/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/redirecting-root-to-folder-indexphp/#post-5767442)
 * Status: resolved