Title: Site URL problem
Last modified: June 27, 2020

---

# Site URL problem

 *  Resolved [jasbro](https://wordpress.org/support/users/jasbro/)
 * (@jasbro)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/site-url-problem-3/)
 * I have a problem which I’d appreciate some help with please.
 * I’ve installed wordpress in it’s own wp directory, and everything was working
   fine to start with. But as soon as I set the site URL to my main home page, wordpress
   is unable to find any pages or posts. Under Settings > General, the WordPress
   address is still set to the correct wp directory, and all I’ve done is set the
   Site address to the root URL of my site. But now I’m getting 404 errors.
 * Looking at the sample “Hello World” post, in the permalink, the wp part of the
   address has now been removed. If I change the Site address back to include the
   wp directory, everything works again, but of course it doesn’t link back to my
   home page.
 * Have I completely misunderstood the point of the site URL, or has something gone
   wrong?
 * This is a completely fresh install, with no plug ins, and no themes, and I think
   the only changes I’ve made are to set the permalinks to postname, and obviously
   changed the site address.
 * Any help would be much appreciated.

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

 *  [Liew Cheon-Fong](https://wordpress.org/support/users/lcf/)
 * (@lcf)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/site-url-problem-3/#post-13042205)
 * you installed WordPress in /wp directory but you want the website acceessible
   from the root domain? You need to update .htaccess in root folder. Please refer
   [https://wordpress.org/support/article/giving-wordpress-its-own-directory/](https://wordpress.org/support/article/giving-wordpress-its-own-directory/)
 *  Thread Starter [jasbro](https://wordpress.org/support/users/jasbro/)
 * (@jasbro)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/site-url-problem-3/#post-13042429)
 * Not quite. I’ve installed wordpress in a /wp directory, as I already have a separate
   home page and website established, so wordpress will not be the home page. I 
   just want wordpress to link to my home page rather than to the index.php file
   in the wp directory.
 *  [Aims Infosoft](https://wordpress.org/support/users/aimsinfosofts/)
 * (@aimsinfosofts)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/site-url-problem-3/#post-13042722)
 * Hello,
 * For that first you will go to settings menu in wordpress admin and then select
   reading menu.
 * please check below screenshot.
    [https://prnt.sc/t7gjfg](https://prnt.sc/t7gjfg)
 * Thanks
 *  Thread Starter [jasbro](https://wordpress.org/support/users/jasbro/)
 * (@jasbro)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/site-url-problem-3/#post-13042822)
 * Thanks but I’m obviously not explaining it very well.
 * The home page is not a wordpress page, and I don’t want to use wordpress as my
   home page.
 * If I put the site root into the site address box in general settings, the link
   to the main home page works fine. However all the wordpress links bring up a 
   404 error, and the post links are all wrong, missing the /wp/ directory part 
   of the address.
 * If I add the wp directory onto the site URL, the wordpress links work, but the
   home page link just takes you back to the wordpress home page, rather than back
   to the main home page in the directory above.
 *  [Liew Cheon-Fong](https://wordpress.org/support/users/lcf/)
 * (@lcf)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/site-url-problem-3/#post-13043072)
 * ok, I think I understand the issue now.
 * You want to keep WordPress in /wp but want WordPress to link to the homepage 
   at the root?
 * In that case, you need to keep Site address to include the /wp directory. Then,
   make **custom link** at WordPress pages to link to your homepage.
 *  Thread Starter [jasbro](https://wordpress.org/support/users/jasbro/)
 * (@jasbro)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/site-url-problem-3/#post-13044994)
 * Thank you Liew, I think you are correct.
 * I’d assumed that the Site Address would be for the root, but I just found this
   which confirms what you’ve said….
 * “The “Site Address (URL)” setting is the address you want people to type in their
   browser to reach your WordPress blog.”

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

The topic ‘Site URL problem’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 3 participants
 * Last reply from: [jasbro](https://wordpress.org/support/users/jasbro/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/site-url-problem-3/#post-13044994)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
