# New install on Wordpress site goes to 404 page

**URL:** <https://forum.mautic.org/t/new-install-on-wordpress-site-goes-to-404-page/31152>\
**Category:** Mautic 5 Install/Upgrade Support\
**Created:** [March 5, 2024, 12:47am UTC](https://forum.mautic.org/t/new-install-on-wordpress-site-goes-to-404-page/31152 "2024-03-05T00:47:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![adam5532](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/adam5532/32/12643_2.png) [@adam5532](https://forum.mautic.org/u/adam5532)\
**Post date:** [March 5, 2024, 12:47am UTC](https://forum.mautic.org/t/new-install-on-wordpress-site-goes-to-404-page/31152/1 "2024-03-05T00:47:54Z")

</div>

I have a Wordpress website and I’m doing a new install of Mautic into a new top-level directory.

When I browse to /mauticdirectory/ or /mauticdirectory/index.php I get redirected to the Wordpress 404 page.

I tried modifying the root .htaccess to stop processing rewrites to mauticdirectory, but that didn’t make any difference.

I created a new /testdirectory/ with a Hello World index.php file, and it works perfectly with no modification needed to the root .htaccess.

I suspect that I may need to modify the .htaccess file in the /mauticdirectory/, either for the initial configuration, or permanently, but I’m not sure what to do there.

I installed the Mautic files by copying the zip to the folder and expanding in the cPanel file manager.

Thanks

**Your software**  
My Mautic version is: 5.03  
My PHP version is: 7.4  
My Database type and version is: 10.3.39-MariaDB  
WHM/cPanel [110.0.24]

---

<div class="post-metadata">

**Author:** ![adam5532](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/adam5532/32/12643_2.png) [@adam5532](https://forum.mautic.org/u/adam5532)\
**Post date:** [March 7, 2024, 9:49am UTC](https://forum.mautic.org/t/new-install-on-wordpress-site-goes-to-404-page/31152/2 "2024-03-07T09:49:12Z")

</div>

Issue has been resolved. Installed to a subdomain and that seemed to fix the problem. Also upgraded PHP to 8.1.

---

<div class="post-metadata">

**Author:** ![dirk\_s](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dirk_s/32/748_2.png) [@dirk\_s](https://forum.mautic.org/u/dirk_s)\
**Post date:** [March 7, 2024, 4:05pm UTC](https://forum.mautic.org/t/new-install-on-wordpress-site-goes-to-404-page/31152/3 "2024-03-07T16:05:22Z")

</div>

Yes, the current installer probably still expects to run in the root of the domain. We needed always (also after updates) to update the .htaccess rules.

Anyway - an install in a subdomain is also much more recommended. This way WordPress and Mautic are better isolated from each other.
