0
votes
1answer
221 views

Remove site root trailing slash

I am using Wordpress for a "news" section on a e-commerce site. So the root of the wordpress install is in a sub-folder. www.mysite.com/news I have setup the home & site URL to reflect this in ...
0
votes
2answers
45 views

Making a site URL

I've used WordPress before but only through the website. This is the first time I've actually installed WP and I'm loving all of the customization options that are available to me now. I'm a bit ...
0
votes
1answer
71 views

home_url(); showing current page instead of site address

Does anyone have an idea why my home_url() function gets the URL of the current page instead of the site address? (The site runs locally using MAMP.)
0
votes
1answer
69 views

How to show the homepage on a different url, like site.com/blog instead of site.com?

I have Wordpress installed in my root directory, so if you go to site.com you see the list of recent posts. What I want to do is to have the homepage show a static page instead showing recent news ...
0
votes
1answer
109 views

Accidentally Changed Wordpress Url

So I have two different wordpress applications located at test/wordpress1 test/wordpress2 I wanted to switch between them under the same domain (localhost) so while on the wordpress1 application, I ...
0
votes
2answers
992 views

hijacking home_url for root relative paths

I'd been having trouble with the full domain name being written into the path of links and assets. Basically localhost:XXXX works fine, until I try to reach my site from a Virtual Box install of XP or ...
12
votes
4answers
12k views

What's the difference between home_url() and site_url()

My understanding is that site_url() returns the location where the wordpress core files are. So, if my blog is hosted at http://example.com/blog then site_url() returns http://example.com/blog But ...