Title: wp install dir problem
Last modified: March 8, 2017

---

# wp install dir problem

 *  Resolved [gekkyo](https://wordpress.org/support/users/gekkyo/)
 * (@gekkyo)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/wp-install-dir-problem/)
 * I have upgraded to 1.0, strange problem happens.
    My site has wp installed under/
   wp/ sub directory and the site url is the root of the server. however, the permalink
   field became only accepting after /wp/ directory. Everything was fine before 
   upgraded.
 * The screenshot of the permalink is below. I just don’t want the “/wp/” part.
 * Could you take a look? Thanks.

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

 *  Plugin Author [Maciej Bis](https://wordpress.org/support/users/mbis/)
 * (@mbis)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/wp-install-dir-problem/#post-8889215)
 * Hi [@gekkyo](https://wordpress.org/support/users/gekkyo/),
 * could you provide me with your URL settings (“WordPress Address (URL)” & “Site
   Address (URL)”) from “Settings -> General” (/wp/wp-admin/options-general.php).
 * Best Regards,
    Maciej
 *  Thread Starter [gekkyo](https://wordpress.org/support/users/gekkyo/)
 * (@gekkyo)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/wp-install-dir-problem/#post-8891958)
 * Here is my setting.
    I am sorry the language is in Japanese but the setting is
   pretty simple.
 * ![](https://i0.wp.com/image.ibb.co/iLTswF/setting.png?ssl=1)
 * The previous 0.5.4 version works great for me, so I’ll stick with it for now.
 *  Thread Starter [gekkyo](https://wordpress.org/support/users/gekkyo/)
 * (@gekkyo)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/wp-install-dir-problem/#post-8892031)
 * I just took a quick look inside the permalink-manager.php and the line 145
 * $home_url = trim(rtrim(get_bloginfo(‘wpurl’), ‘/’));
 * The ‘wpurl’ should be ‘url’ ?
    The part seems has been changed from 0.5.4.
 * Just a wild guess though. Thank you.
 *  Plugin Author [Maciej Bis](https://wordpress.org/support/users/mbis/)
 * (@mbis)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/wp-install-dir-problem/#post-8894021)
 * Hi [@gekkyo](https://wordpress.org/support/users/gekkyo/)
 * yes, it should be replaced with ‘url’ in permalink-manager.php:145.
 * There is also another instance in /includes/core/permalink-manager-uri-functions-
   post.php:371 (it is used for “edit URI” box) which also should be replaced with‘
   url’.
 * ![Another instance](https://i0.wp.com/image.prntscr.com/image/404063a6234c42718ff6f50cdcc2b101.
   png)
 * and another one in the same file (Line #38):
    ⌊Second instance⌉
 * This will be fixed in 1.0.1 version – thank you for letting me know and sorry
   for all your inconvenience!
 * Best Regards,
    Maciej
    -  This reply was modified 9 years, 3 months ago by [Maciej Bis](https://wordpress.org/support/users/mbis/).
    -  This reply was modified 9 years, 3 months ago by [Maciej Bis](https://wordpress.org/support/users/mbis/).
 *  Thread Starter [gekkyo](https://wordpress.org/support/users/gekkyo/)
 * (@gekkyo)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/wp-install-dir-problem/#post-8897837)
 * Thank you for your quick fix!
    It is all working great with 1.0.1.
 * Thank you very much!
 *  Plugin Author [Maciej Bis](https://wordpress.org/support/users/mbis/)
 * (@mbis)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/wp-install-dir-problem/#post-8899106)
 * [@gekkyo](https://wordpress.org/support/users/gekkyo/)
 * You’re welcome 🙂
 *  Thread Starter [gekkyo](https://wordpress.org/support/users/gekkyo/)
 * (@gekkyo)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/wp-install-dir-problem/#post-8914786)
 * Hi Maciej,
    The get_bloginfo(‘wpurl’) part seems came back in permalink-manager.
   php in 1.0.2, which makes my site all 404s this time. Could you fix it in the
   next version? Thanks!
 *  Plugin Author [Maciej Bis](https://wordpress.org/support/users/mbis/)
 * (@mbis)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/wp-install-dir-problem/#post-8914805)
 * Hi [@gekkyo](https://wordpress.org/support/users/gekkyo/),
 * please disable & remove the plugin, and reinstall it. I published the correct
   version of permalink-manager.php in recent revision.
 * Best Regards,
    Maciej
 *  Thread Starter [gekkyo](https://wordpress.org/support/users/gekkyo/)
 * (@gekkyo)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/wp-install-dir-problem/#post-8924354)
 * Hi [@mbis](https://wordpress.org/support/users/mbis/),
    It fixed all the problems
   I had. Thank you!

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

The topic ‘wp install dir problem’ is closed to new replies.

 * ![](https://ps.w.org/permalink-manager/assets/icon.svg?rev=2625166)
 * [Permalink Manager Lite](https://wordpress.org/plugins/permalink-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/permalink-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/permalink-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/permalink-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/permalink-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/permalink-manager/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [gekkyo](https://wordpress.org/support/users/gekkyo/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/wp-install-dir-problem/#post-8924354)
 * Status: resolved