# Bug OP-3303 - Wrong spent time link when subdirectory install

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-3303

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 6.1.1 |
| Observed in versions |  |
| Sprint | 6.1.1 |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

**Preconditions**

  - Openproject is installed on a subdirectory via “openproject configure” (ex : http://server\_name/openproject/)
  - Time has been logged on a work package

**Steps to reproduce**

  - Go to WP list
  - Show “Spent time” column
  - Click on the link

**Actual behavior**

  - Got 404 Not found error

**Expected behavior**  
Link is wrong  
Subdirectory install is ignored : tries to access http://server\_name/projects/portail/time\_entries, but it should try to access http://server\_name/openproject/projects/portail/time\_entries  
Link inside WP is also wrong

**Screenshot**  
WP list and link (subdir install on top) :  
![](wp_list.jpg)

404 when click on link :  
![](404.jpg)

When I manually add sudirectory install on the web adress, everything is displayed fine :  
![](manual_correction.jpg)
