# Refreshing dashboard sub-page leads to 404 error

{% hint style="warning" %}
As of version 5.0.0 UXWizz uses hash routing instead of URL rewrites.

The .htaccess support is recommended, but not needed.\
If this problem still occurs with a version newer than 5.0.0 it means the root index.html file can't be loaded properly.
{% endhint %}

{% hint style="info" %}
If refreshing doesn't work in the dashboard for deep URLs (other page in the dashboard than the homepage) means that the **.htaccess URL rewrites don't properly work on your server** for the userTrack folder.
{% endhint %}

\
Make sure that:

1. You are using **Apache** (or other .htaccess compatible webserver).
2. The **.htaccess** files are present in the root userTrack folder and in the userTrack/server folder.
3. That **AllowOverride** is set to **All** in **httpd.conf** (this allows .htaccess files to overwrite existing rules).

Useful links:

* [Stackoverflow: How to set AllowOverride](https://stackoverflow.com/a/22526144/407650)
* [Apache .htaccess AllowOverride docs](https://httpd.apache.org/docs/2.4/mod/core.html#allowoverride)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.uxwizz.com/guides/troubleshooting/dashboard/refreshing-dashboard-sub-page-leads-to-404-error.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
