3
votes
1answer
52 views

Run WordPress frontend and backend in different domains

I want to run my WP frontend as www.example.com and my backend (i.e. wp-admin) as user1.example.org, is it possible? The reason is I want to host lot of sites in a single server which has only 1 IP ...
0
votes
1answer
95 views

Removing all my hardcoded URLs with get_site_url()

In my php files, I would like to remove all my hardcoded URLs (ex: http://mysite.com/) and replace them with the get_site_url() function. My problem is with the php code of one of my functions (in ...
0
votes
1answer
36 views

What is the best way to revert to www version of domain name?

My site uses a bare domain, example.com. I want to use Google's Page Speed Service, which requires a www subdomain, like this www.example.com Google says the server must use a 301 redirect. What ...
1
vote
3answers
35 views

Confusion about Site url and directory

I have installed my wordpress in root/mysubfolder so my standard path is example1.com/mysubfolder (example1.com is the domain i have registered the webspace with) Now i want the wordpress ...
0
votes
1answer
130 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
119 views

Changing my site url from azure.net to custom domain

I have created a WordPress site using Azure so when the site went live the url was http://apidublin.azurewebsites.net/. I changed this to http://www.apidublin.com/ using my domain hosting site and ...
0
votes
2answers
109 views

Preventing Canonical Redirect for CDN

I want to run my entire WordPress site through a CDN to improve performance (HTML, not just static CSS/JS/media). Lets say the origin server is example.com and www.example.com is the URL where traffic ...
0
votes
0answers
195 views

Login to wp-admin “redirect_to” points to wrong URL after migration

I have a WordPress site hosted on GoDaddy, it's a Windows server, (i have the web.config set up). and .htaccess correctly configured. The site was working on example.com/wordpress , as it was a ...
0
votes
2answers
98 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 ...
0
votes
2answers
42 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 ...
2
votes
0answers
85 views

Prevent “main” WPMU site_url() being returned in functions

I've noticed that in a WordPress MU install with domain mapping enabled, some functions return URIs that don't use the current WPMU site's primary domain name which possibly means they are "WPMU ...
0
votes
1answer
112 views

Get logged in username in wordpress url

I want to get the username of the logged in users in the URL of my wordpress site. Like if user: arvind is logged in, I want to get the url as 'www.wp.com/arvind' or 'www.wp.com?user=arvind'. Is ...
0
votes
0answers
30 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
2answers
86 views

wordpress url correction

I have my wordpress site in a root folder like this "www.mysite/myblog/" so to get to the blog you have to go to "www.mysite/myblog/" I'm wanting to make it so that a user can go to "www.mysite" and ...
0
votes
1answer
84 views

URL problem: www.sitename.com/blog and www.sitename.com/learn using same WP installation

I'm sure there has to be some way to make this with single wordpress instalation. Posts for "learn" page are tagged with "learn" and I built a custom template that has loop that prints only posts from ...
12
votes
4answers
10k 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 ...