# Focus items in campaigns not working

**URL:** https://forum.mautic.org/t/focus-items-in-campaigns-not-working/15513
**Category:** Product Support
**Created:** [August 4, 2020, 3:33pm UTC](https://forum.mautic.org/t/focus-items-in-campaigns-not-working/15513 "2020-08-04T15:33:48Z")
**Posts on this page:** 1
**Showing post:** 22

<div class="post-metadata">

### Author: ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)
#### Post date: [December 22, 2021, 10:56am UTC](https://forum.mautic.org/t/focus-items-in-campaigns-not-working/15513/22 "2021-12-22T10:56:10Z")

</div>

@robm and myself sat and debugged this issue and managed to get things working.

There are two issues here:

1. In the page visited Mautic is always expecting a trailing slash /
2. If you are running nginx and have used the configuration set out in linuxbabe article he is only allowing for 1.js to be passed through in the server rules:

```auto
   location ~ /(mtc.js|1.js|mtracking.gif|.*\.gif|mtc) {
       # default_type "application/javascript";
       try_files $uri /index.php$is_args$args;

```

Now my regex is not good enough to mess around with this so all I did was amend to this line the different focus items I wanted to allow to be served by the nginx server as follows:

```auto
   location ~ /(mtc.js|1.js|8.js|9.js|7.js|mtracking.gif|.*\.gif|mtc) {
       # default_type "application/javascript";
       try_files $uri /index.php$is_args$args;

```

I hope this helps others :-). Thanks @robm for assisting and finding the trailing slash 🙂

---

_[View the full topic](https://forum.mautic.org/t/focus-items-in-campaigns-not-working/15513)._
