The site_url template tag retrieves the (admin/backend) site url for the current site (where the WordPress core files reside) with the appropriate protocol, 'https' if is_ssl() and 'http' otherwise.

learn more… | top users | synonyms

0
votes
1answer
52 views

WordPress site seems convinced that it's still at its old URL

I had a demo environment set up in /subdirectory/ and then moved it to my root directory to make the site live. Used the wp migrate db plugin to export my database with the new paths, then replaced ...
0
votes
0answers
130 views

Is there a way to get the site_url in HTML code?

I have a WordPress website and it sends some transactional emails to the users. I create the template using HTML and I've been wondering if there's a way to add the <?php echo site_url() ?> in ...
0
votes
0answers
126 views

Remove blog slug from WPMU?

i have wordpress MU, everything is fine in child sites , but in the main site in the permalink structure have been changed itself , mean that after the site url it have like http://example.com/blog , ...
0
votes
2answers
67 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
0answers
49 views

Change Wordpress's URL from “abc.com” to “abc.com/de”

I have a domain. Currently, the site loads at that domain's root-- abc.com-- but I want it to to load at abc.com/de because I intend for the site to later become international. I looked already at ...
0
votes
1answer
856 views

check if .min.css stylesheet exists

My plugin displays its output into a thickbox 'window', the contents of which are generated in load-edit.php. This is a completely bare page, but I want to use some of the admin css styles so that it ...
0
votes
1answer
76 views

Wordpress database nonsense error

I'm very confused. What i did was change my hostfiles so i can access my website on an alternative website and checked it in case i had hardcoded values (i did and they were corrected). I had to use ...
0
votes
1answer
97 views

site_url is not honoring scheme

I'm using site_url() for my href for anchors. I want to control what when I send the user to a secure page or non secure page. I thought I could do that with site_url('/foo', 'http') and ...
0
votes
2answers
656 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
221 views

Multisite subdirectory blogs missing slash

New WordPress 3.5.2 multisite (subdirectory) install is missing a slash when creating new blogs. WordPress is installed to server like: blogs.domain.com When a new user registers, the ...
-1
votes
1answer
20 views

Siteurl code for links

I'm working on a wordpress website for my friends bussines and I'm working on it on my personal server to then export it and import it on his server when it's done. And one some of the pages I've ...