# Wordpress Cronjob has Double Slash in Execution path

**Project:** Bugs | **Board:** Live | **Votes:** 1
**URL:** https://roadmap.ploi.io/projects/7-bugs/items/820-wordpress-cronjob-has-double-slash-in-execution-path

---

## Bug Description

When creating a Cronjob via the Wordpress Tab you can get Double slashes in the path.

## Steps to reproduce

Create a new site with the following advanced settings:
- Web directory: `/` instead of `/public`
- Project Type: `Wordpress`

Afterwards go to the `Wordpress`-Tab of the new site and install a new Cronjob. This will result in the following Cronjob which can be found in the server cronjob list:

```
php8.2 /home/ploi/www.example.com//wp-cron.php
```

## Expected Cronjob

```
php8.2 /home/ploi/www.example.com/wp-cron.php
```

