# Run a separate page

**URL:** https://forum.mautic.org/t/run-a-separate-page/25621
**Category:** Product Support
**Created:** [October 9, 2022, 1:24pm UTC](https://forum.mautic.org/t/run-a-separate-page/25621 "2022-10-09T13:24:39Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![CarlJohan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/carljohan/32/7016_2.png) [@CarlJohan](https://forum.mautic.org/u/CarlJohan)
#### Post date: [October 9, 2022, 1:24pm UTC](https://forum.mautic.org/t/run-a-separate-page/25621/1 "2022-10-09T13:24:39Z")

</div>

Hi,this is probably a stupid question, but:

I have created a PHP page to run some DB jobs that I run from a cron job.

For some reason I can’t run the actual page (like any other page) I just get a 404.

It was many years ago I did any PHP work, so what am I missing?

---

<div class="post-metadata">

### Author: ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)
#### Post date: [October 9, 2022, 4:08pm UTC](https://forum.mautic.org/t/run-a-separate-page/25621/2 "2022-10-09T16:08:43Z")

</div>

If you’d like to make additions to Mautic, you’ll ned to code it in Symfony.  
If you want to ‘butcher’ your system, you can look at this plugin, and call your page from the ‘outside’:

> [@Mautic Plugin - Database Driven Custom Navigation](https://forum.mautic.org/t/mautic-plugin-database-driven-custom-navigation/16584):
>
> Hey guys, So we have built a plugin that allows you to add custom navigation items that load within frame or external pages. My personal object was to be able to embed my commands which I use on the regular, but has a broader scope and flexibility to allow us to add any URL as an internal page or link to external resource. Let me know your thoughts [https://github.com/TornMarketing/Mautic-Custom-Navlinks](https://github.com/TornMarketing/Mautic-Custom-Navlinks) 20201015 - Mautic - Database Driven Custom Navigation [https://www.youtube.com/embed/Ya4…](https://www.youtube.com/embed/Ya48-VxUvD8)

---

<div class="post-metadata">

### Author: ![tornmarketing](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/tornmarketing/32/11603_2.png) [@tornmarketing](https://forum.mautic.org/u/tornmarketing)
#### Post date: [October 10, 2022, 12:41am UTC](https://forum.mautic.org/t/run-a-separate-page/25621/3 "2022-10-10T00:41:46Z")

</div>

You may need to update your htaccess file as it will most likely restricting the files.

```auto
  # Except those allowed below.
    <If "%{REQUEST_URI} =~ m#^/(index|index_dev|upgrade/upgrade)\.php#">
        Order allow,deny
        Allow from all
    </If>

```

---

<div class="post-metadata">

### Author: ![CarlJohan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/carljohan/32/7016_2.png) [@CarlJohan](https://forum.mautic.org/u/CarlJohan)
#### Post date: [October 10, 2022, 5:29am UTC](https://forum.mautic.org/t/run-a-separate-page/25621/4 "2022-10-10T05:29:11Z")

</div>

Hi @tornmarketing , correct, It worked when I tried:  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/f/fc810933e6f7d7374ddae7fe94bb4040e1e8eb77.png)  
Many thanks.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/1X/43c63600fe51440378769136903f1fa2a9a34102.png) [@system](https://forum.mautic.org/u/system)
#### Post date: [October 11, 2022, 5:30pm UTC](https://forum.mautic.org/t/run-a-separate-page/25621/5 "2022-10-11T17:30:02Z")

</div>

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.
