Title: only sub directory website does not work Redirection
Last modified: August 14, 2021

---

# only sub directory website does not work Redirection

 *  Resolved [mrsmith11](https://wordpress.org/support/users/mrsmith11/)
 * (@mrsmith11)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/only-sub-directory-website-does-not-work-redirection/)
 * I use Redirection on top directory and sub directory.
 * for example,
 * [https://www.example.com](https://www.example.com)
 * and,
 * [https://www.example.com/blog/](https://www.example.com/blog/)
 * These two websites are completely different website. so, I have to use the plugin
   on each website.
 * Top directory website is 100% working fine.
    But, on sub directory website, there
   has a REST API ERROR.
 * [Please check this picture.](https://www.dropbox.com/s/0shebjbdlj8m08j/Inked20210814142116_LI.jpg?dl=0)
 * If I click
 * `/marriage/wp-json/`
 * a lot of codes are listed.
 * But I got REST API error.
 * Please help me to fix this problem.
 * By the way, Site Health is “Good” and I tried all plugins are deactivated and
   use default theme of WP.
 * Best Regards.

Viewing 1 replies (of 1 total)

 *  Plugin Author [John Godley](https://wordpress.org/support/users/johnny5/)
 * (@johnny5)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/only-sub-directory-website-does-not-work-redirection/#post-14767083)
 * You haven’t included the full details or a URL so it’s hard to say.

Viewing 1 replies (of 1 total)

The topic ‘only sub directory website does not work Redirection’ is closed to new
replies.

 * ![](https://ps.w.org/redirection/assets/icon-256x256.jpg?rev=983639)
 * [Redirection](https://wordpress.org/plugins/redirection/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/redirection/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/redirection/)
 * [Active Topics](https://wordpress.org/support/plugin/redirection/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/redirection/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/redirection/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [John Godley](https://wordpress.org/support/users/johnny5/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/only-sub-directory-website-does-not-work-redirection/#post-14767083)
 * Status: resolved