# Error on Page

**URL:** <https://www.phphelp.com/t/error-on-page/26193>\
**Category:** Pluck CMS\
**Created:** [January 8, 2018, 7:42am UTC](https://www.phphelp.com/t/error-on-page/26193 "2018-01-08T07:42:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://www.phphelp.com/uploads/default/original/2X/2/243e9ed5d93c5653ce3186f18df16e019ce38445.png) [@system](https://www.phphelp.com/u/system)\
**Post date:** [January 8, 2018, 7:42am UTC](https://www.phphelp.com/t/error-on-page/26193/1 "2018-01-08T07:42:58Z")

</div>

Hi!  
On my webserver are different Folders for different webadresses.

When I Install pluck in a subfolder pluck will automaticly add this subfolder to the webadress. But he don’t Need to do that.

What can i Do?

---

<div class="post-metadata">

**Author:** ![phdr](https://www.phphelp.com/letter_avatar_proxy/v4/letter/p/91b2a8/32.png) [@phdr](https://www.phphelp.com/u/phdr)\
**Post date:** [January 12, 2018, 4:28am UTC](https://www.phphelp.com/t/error-on-page/26193/2 "2018-01-12T04:28:12Z")

</div>

There is a defined constant named SITE\_URL being created in the data\inc\variables.all.php code.

One way to do this would be to set the $\_SERVER[‘DOCUMENT\_ROOT’] variable to match the folder the script is installed in and the URLs generated by the script should (untested) change to be relative to that folder.

Another way would be to change the code defining SITE\_URL so that it gets set to the value you want.
