Title: Redirect wp-admin to subfolder
Last modified: March 24, 2021

---

# Redirect wp-admin to subfolder

 *  [lodedol](https://wordpress.org/support/users/lodedol/)
 * (@lodedol)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/redirect-wp-admin-to-subfolder/)
 * I have on root installation of wp and one sub folder installation of wp, i had
   edit the htacces and index of the root installation to show in my domain the 
   sub folder installation of wp, so when i write my domain, its show the sub folder
   wp installation instead the root one.
    All works fine but i have one problem,
   when i write domain/wp-admin instead of open the sub folder wp-admin page, i 
   continue to open the root wp-admin page, and to access the sub folder wp-admin
   page, i need to write domain/subfolder/wp-admin. So how i can redirect this one?

Viewing 1 replies (of 1 total)

 *  [Davood Denavi](https://wordpress.org/support/users/binarywc/)
 * (@binarywc)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/redirect-wp-admin-to-subfolder/#post-14276057)
 * If I am understanding yo directly you can forward your wp-admin directory using
   a 301 redirect in an htaccess file in the domains public_html directory.
 * Here an article that will show you how to write the 301 redirect:
    [https://css-tricks.com/snippets/htaccess/301-redirects/](https://css-tricks.com/snippets/htaccess/301-redirects/)
 * Hope this helps.

Viewing 1 replies (of 1 total)

The topic ‘Redirect wp-admin to subfolder’ is closed to new replies.

## Tags

 * [installation](https://wordpress.org/support/topic-tag/installation/)
 * [subfolder](https://wordpress.org/support/topic-tag/subfolder/)
 * [wp-admin](https://wordpress.org/support/topic-tag/wp-admin/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Davood Denavi](https://wordpress.org/support/users/binarywc/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/redirect-wp-admin-to-subfolder/#post-14276057)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
