Title: 404 without plugin
Last modified: February 26, 2023

---

# 404 without plugin

 *  Resolved [ianttt](https://wordpress.org/support/users/ianttt/)
 * (@ianttt)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/404-without-plugin/)
 * Hi
 * I used to have WordPress installed in the root directory but due to other reasons
   I deleted that site and created it again and this time installed WordPress in
   a directory inside the root directory.
 * **Old**: root/WordPressInstall **New**: root/en/WordpressInstall
   Where WordPressInstall
   is my website of course
 * I have a lot of indexed pages from root/WordPressInstall that now create 404 
   errors which I understand why this happens as the pages are no longer there.
 * Is there a way to redirect all 404 errors that are being generated from root/
   WordPressInstall to redirect to the new root/en/WordpressInstall homepage because
   all I can seem to find are plugins that will work if installed in the root/en/
   WordpressInstall so are only looking for root/en/WordpressInstall pages.
 * Can anyone recommend a plugin that will help me achieve that or should I use 
   the htaccess to redirect the old pages to the new homepage?
 * Or is it best to leave the old pages appearing in search results as I have created
   a 404 page in root/WordPressInstall and wait for them eventually drop out of 
   search results.
 * Thanks in advance
   Ian
    -  This topic was modified 3 years, 3 months ago by [ianttt](https://wordpress.org/support/users/ianttt/).

Viewing 1 replies (of 1 total)

 *  Plugin Support [Milind More](https://wordpress.org/support/users/milindmore22/)
 * (@milindmore22)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/404-without-plugin/#post-16508650)
 * Hello [@ianttt](https://wordpress.org/support/users/ianttt/)
 * This is dedicated support forum for AMP plugin, if you have any issue regarding
   AMP plugin we will be happy to help!
 * If you have any issue regarding WordPress installations, we will recommend checking**
   [Installing WordPress Forum](https://wordpress.org/support/forum/installation/)**

Viewing 1 replies (of 1 total)

The topic ‘404 without plugin’ is closed to new replies.

 * ![](https://ps.w.org/amp/assets/icon.svg?rev=2527602)
 * [AMP](https://wordpress.org/plugins/amp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amp/)
 * [Active Topics](https://wordpress.org/support/plugin/amp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amp/reviews/)

## Tags

 * [redirect](https://wordpress.org/support/topic-tag/redirect/)

 * 1 reply
 * 2 participants
 * Last reply from: [Milind More](https://wordpress.org/support/users/milindmore22/)
 * Last activity: [3 years, 3 months ago](https://wordpress.org/support/topic/404-without-plugin/#post-16508650)
 * Status: resolved