I have the following php variable

```
$currentUrl

```

This php variable returns me the current url page. For example: it returns: 

```
http://example.com/test-category/page.html?_ore=norn&___frore=norian

```

What php code can i use that will take this url link and delete everything after "**.html**" and would return me a clean url link, for example: 

```
http://example.com/test-category/page.html

```

This would be returned in a new variable **$clean\_currentUrl**