Title: Using a different URL
Last modified: August 21, 2016

---

# Using a different URL

 *  Resolved [Gareth](https://wordpress.org/support/users/gb2048/)
 * (@gb2048)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/using-a-different-url/)
 * Hi,
 * I’m using a different WordPress URL to that of the Site URL as described on [http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory](http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory)–
   and found I had to change ‘ot-functions.php’ from ‘$css = home_url( ‘/wp-content’.
   $parts[1] );’ to ‘$css = home_url( ‘/me/wp-content’ . $parts[1] );’ – and yet
   the function ‘home_url()’ seems to be fine elsewhere with this set-up. Is there
   anything that needs to be changed to support without changing the code on the
   next update?
 * Thanks for making and providing such a wonderful theme.
 * Cheers,
 * Gareth

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Alexander Agnarson](https://wordpress.org/support/users/alxmedia/)
 * (@alxmedia)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/using-a-different-url/#post-4362700)
 * Hi Gareth,
 * Late response – I believe the theme should work fine on a subdir install now 
   when the css styling options have been rebuilt. Marking as resolved for now!
 *  Thread Starter [Gareth](https://wordpress.org/support/users/gb2048/)
 * (@gb2048)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/using-a-different-url/#post-4362710)
 * Hi Alexander,
 * Sorry for the late reply. Thank you for responding. So its just a matter of rebuilding
   the cache so that the browser gets an updated version of the file? Strange thing
   is that the site was already like that when I installed the theme in the first
   place – odd. I’ve not tried something like ‘error_log(print_r(home_url( ‘/wp-
   content’ . $parts[1] ), true));’ to see what is returned so may do so and see
   if that contravenes the URL in the supplied CSS.
 * Do I need to do an update?
 * Kind regards,
 * Gareth

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Using a different URL’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/hueman/3.7.27/screenshot.png)
 * Hueman
 * [Support Threads](https://wordpress.org/support/theme/hueman/)
 * [Active Topics](https://wordpress.org/support/theme/hueman/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/hueman/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/hueman/reviews/)

## Tags

 * [site](https://wordpress.org/support/topic-tag/site/)
 * [url](https://wordpress.org/support/topic-tag/url/)

 * 2 replies
 * 2 participants
 * Last reply from: [Gareth](https://wordpress.org/support/users/gb2048/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/using-a-different-url/#post-4362710)
 * Status: resolved