# My\_webapp internal links fail

**URL:** https://forum.yunohost.org/t/my-webapp-internal-links-fail/27948
**Category:** Support apps
**Tags:** my\_webapp, english
**Created:** [January 8, 2024, 6:29pm UTC](https://forum.yunohost.org/t/my-webapp-internal-links-fail/27948 "2024-01-08T18:29:04Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![rodinux](https://forum.yunohost.org/user_avatar/forum.yunohost.org/rodinux/32/7029_2.png) [@rodinux](https://forum.yunohost.org/u/rodinux)
#### Post date: [January 8, 2024, 10:49pm UTC](https://forum.yunohost.org/t/my-webapp-internal-links-fail/27948/4 "2024-01-08T22:49:48Z")

</div>

It can be a nginx.conf to add, perhaps you can try add this. not sure but for a wordpress cms it works.

```auto
    if (!-e $request_filename)
     {
     rewrite ^(.*)$ /index.php?q=$1 last;
     

```

on this part

```auto
location __PATH__ / {

    # Path to source
    alias __INSTALL_DIR__ /www/;

    # Default indexes and catch-all
    index index.html index.php;
    try_files $uri $uri/ __PATH__ /index.php?$args;

    # Remove index.php from URL needed on some cms
    if (!-e $request_filename)
     {
     rewrite ^(.*)$ /index.php?q=$1 last;
     }

    # Prevent useless logs
    location = __PATH__ /favicon.ico {
        log_not_found off;
        access_log off;
    }

```

---

_[View the full topic](https://forum.yunohost.org/t/my-webapp-internal-links-fail/27948)._
