# Prepend WP Site URL to Links in PHP Options

**URL:** <https://forum.pinegrow.com/t/prepend-wp-site-url-to-links-in-php-options/4426>\
**Category:** Feature Request\
**Tags:** feature-request, wordpress\
**Created:** [August 7, 2020, 1:44pm UTC](https://forum.pinegrow.com/t/prepend-wp-site-url-to-links-in-php-options/4426 "2020-08-07T13:44:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonroc](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/jonroc/32/2805_2.png) [@jonroc](https://forum.pinegrow.com/u/jonroc)\
**Post date:** [August 7, 2020, 1:44pm UTC](https://forum.pinegrow.com/t/prepend-wp-site-url-to-links-in-php-options/4426/1 "2020-08-07T13:44:00Z")

</div>

In the PHP options in WordPress add a prepend option (in addition to the append) to the href so we can easily prepend the site URL to our links which will allow for compatibility in local and product. We (as I assume most) have our local folders as a subfolder. So adding the link /about-us/ works in production but in local it takes you to local/about-us/ and leaves out the subfolder. If we can prepend the site URL it would solve this issue.

I would also love it if the PHP text input was not a single line textbox but rather a mulitiline text box so I can actually read the PHP when it goes in there.

Thanks!

![image](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/a/ac06072d360b7730dad122d3a19d0ff21c1ef3cb.png)
