The tag has no wiki summary.

learn more… | top users | synonyms

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 ...
7
votes
1answer
275 views

Two (or more) parallel (sub-)TLDs that are retained when surfing the site / dynamically set the site address?

I am running a site for a German NGO under the domain sub.example.org. Recently, I added sub.example.ch for its Swiss spin-off. Both (sub-)domains are pointing to the same physical location, a WP ...
5
votes
4answers
5k views

What is difference between get_bloginfo('url') and get_site_url()?

I am developing a plugin. I want to know difference between get_bloginfo('url'); and get_site_url(); I got same output, then what's the difference?
4
votes
7answers
3k views

How to move existing Wordpress wp-content folder along with database to new server and new domain name?

Running WP 3.5.1 on a LEMP stack (over at Linode) ... I have a wp-content folder for a WP site along with a full backup of the database. The URL of the site was something like: ...
4
votes
3answers
3k views

Difference between bloginfo('home') and home_url() and site_url()

I have been reading through Codex and other SO and SE posts regarding this. But I am confused. I used home_url() and site_url() to linking the site's home and it gave same results. As I was using ...
3
votes
1answer
71 views

How to set ipv6 address as siteurl?

I have try to set ipv6 ip address as home and site url, but it seems not work perfectly. From there: http://[2001:da8:d800:71::250]/wordpress/ (if you view the source) we see that some url, such as ...
2
votes
1answer
95 views

Customize multisite site creation with user data

No, I've never made a plugin. But I would like to, or find someone who can work with me on it. What I'm hoping to accomplish is setup presets on site creation. I need my multisite to do this: When ...
2
votes
2answers
138 views

Getting links to work the same on development and production

I am working on a website where I am specifying links to pages within my site in other pages. I am using the same permalink post name structure i.e. http://example.com/sample-post on both development ...
2
votes
0answers
38 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 ...
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 ...
2
votes
1answer
933 views

Switching MultiSite installation from HTTP to HTTPS

I installed MultiSite with the URL set as http://example.com, but now I want to force all requests to go over HTTPS, so I'm trying to change the URL to be https://example.com. I've gone through the ...
1
vote
1answer
55 views

Images not working using Featured post

I have recently moved a wordpress website abc.com to xyz.com, And xyz.com functionality is good and working well. And i have created a post with a image in it using Featured Image, and when i publish ...
1
vote
3answers
143 views

Putting my site live

Can anyone help? I've been building a wordpress site in a sub directory of an umbrella 'development domain' if you will, and am ready to go live with the site. It's a single install of wordpress. ...
1
vote
1answer
79 views

Why does WordPress rely on an fully qualified site_url with a 15-step plan for moving a site?

From the Moving WordPress codex page (emphasis mine): When your domain name or URLs change there are additional concerns. The files and database can be moved, however references to the old ...
1
vote
1answer
73 views

Changing Wordpress blog name and web address

I created a self-hosted WordPress blog (on Dreamhost) several years ago. I've never truly been happy with the name and URL/domain of the blog, and I've decided that I want to change it. Here's what ...
1
vote
3answers
75 views

Override Wordpress theme url

I have a site where I used http://example.com, but if I change my site URL to http://example.co.uk or http://examplesite.co.uk which are all same site. If I changed anything in the above urls it ...
1
vote
2answers
426 views

Not Found (404) error on admin page, CSS gone on blog

I manually installed wordpress on my server and the wordpress files are located in "www.mydomain.com/wordpress/", however I wanted my "www.mydomain.com" to be the address for my wordpress blog instead ...
1
vote
3answers
180 views

How to use a custom domain?

I recently created a ProPhotoBlog using WordPress for my photography business. I have been unable to successfully use my custom domain name with the new site. When I change both the Site URL and the ...
1
vote
1answer
3k views

How to get the true permalink of the static home page?

I asked a very similar question earlier today (http://wordpress.stackexchange.com/questions/30392/how-to-get-the-original-post-id-of-a-static-home-page) and thought I had the answer, but now it ...
1
vote
2answers
344 views

How do I retain url parameters the entire time a user browses my site?

We have customers that come from other sites and I would like to retain a url parameter /?lead=openeye throughout the time that they're browsing. That way when they fill out a form I can capture the ...
1
vote
1answer
1k views

Changing siteurl and homeurl - internal links redirect to home page?

My new site was initially set up with an IP address (say http://123.123.12.12/). I later changed the siteurl and homeurl to my domain (say xyz.com). I also pointed the domain to the IP address so I ...
1
vote
2answers
112 views

Changing Site Address (URL) causes 404

Thank you in advance for any help you might provide. I have read many other posts, and unfortunately the provided solutions did not work. The problem is this: I have Wordpress installed in a ...
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 ...
1
vote
1answer
80 views

blog url redirecting

I used to host a word press blog and a forum on a server (srv71) with a domain name. And a few days ago I transferred my whole site to a new server (srv14) but I havn't updated my dns and I've ...
1
vote
1answer
254 views

Trailing slash results in an error:

On my website, any trailing slash is resulting in an error. How do I fix this? Example: http://example.com/content - no error http://example.com/content/ - error
0
votes
1answer
56 views

Hard code a domain into Yoast SEO canonical URLs

For various reasons, I've been asked to duplicate a wordpress blog across multiple subdomains. Obviously, this will cause duplicate content issues, which I hope to mitigate with the use of a canonical ...
0
votes
1answer
52 views

Why is a wordpress login session limited to one domain

I have a wordpress installation on my virtual host, where the document root is accessible as both "somesite.com" as well as "www.somesite.com". If I set up site_url as "http://somesite.com", then when ...
0
votes
4answers
89 views

problem with guid, when i change the folder name

I'm new to WordPress. I started the site as good with folder name wordpress. After I changed the folder name from wordpress to test. And also change the siteurl from http://localhost/wordpress to ...
0
votes
2answers
111 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
3answers
112 views

Changing the color scheme based on the url visited

I am battling with the following: $themeId = ""; $pathname = get_site_url(); if($pathname == 'domain2.com'){ $themeId = "gold";} else{ $themeId = "blue";} ...
0
votes
1answer
581 views

(How) Can I change my Multisite Network to use a different blog as Primary?

Here's my basic setup: http://my.domain.com/ - The "primary blog" or "Network" http://my.domain.com/blogone/ - A sub-site or "blog" http://my.domain.com/blogtwo/ - Same, obviously ...
0
votes
2answers
639 views

URL rewriting for WordPress Network (Multisite) subsite

We have an install of WordPress Network (Multisite) that has multiple blogs running under the url blogs.exampleurl.com where each subsite is blogs.exampleurl.com/site1 /site2 etc... We have a user ...
0
votes
2answers
10 views

When moving a WP site, why does wp-admin redirect to old site?

I am in the process of moving a WP site from one host to another. I copied the database and all the files, created a new database and imported the old one. I then changed the wp-config file. The home ...
0
votes
2answers
280 views

WSOD 3.9.1 – Tried Everything so far

Hoping someone can help me troubleshoot my White Screen of Death. Site Info: WP 3.9.1 (just upgraded) PHP Version: 5.4 (just upgraded) Single Version Many other installs of WP on this server (with ...
0
votes
1answer
40 views

What is the purpose of storing `siteurl` in database?

Why does WordPress store 'siteurl' and 'home' in the database? It's driving me crazy because I develop locally, deploy to a staging site, AND to a production site, so that's two-three times I have ...
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 ...
0
votes
1answer
87 views

Changing www prefix in General Settings and Interior Links

This may be the most redundant/dumbest question known to man, but if I go into Wordpress' General Settings and modify my Site Url to include a www, so http://mysite.com becomes ...
0
votes
2answers
41 views

change the url in wordpress

I'm creating a wordpress website, And i have created "News" custom post type with taxonomy. My archive page URL is www.yourwebsite.com/news/ and taxonomy page URL is ...
0
votes
2answers
101 views

home_url on IIS missing permalink index.php

I'm using IIS without any URL re-writing that include an index.php at the end. The custom permalink structure is: /index.php/%year%/%monthnum%/%postname%/ The problem is that the home_url function ...
0
votes
1answer
111 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
2answers
85 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
2answers
547 views

Get current url with parameters passed

How can I get the current url in a wordpress page? I have enabled clean urls, but I want the url without the clean urls. For example http://example.com/?page_id=1 instead of ...
0
votes
3answers
566 views

get_template_directory_uri cached?

I'm having a little problem with a wordpress installation. Basically, I have two servers: test.dev and staging.dev. Set up (using the hosts file) and I've just copied the test.dev WordPress ...
0
votes
1answer
83 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 ...
0
votes
3answers
70 views

how to move another machine or server without dealing with IP

Wordpress website for a small company. i am able to install wordpress in IIS server. my doubt is when installing , i am giving the ip address as "192.168.0.101:87".Everything works fine.I created ...
0
votes
2answers
537 views

Publishing Wordpress from stage to production server

I'm having trouble configuring wp-config.php correctly in a staged server environment. I'm being told that I should be working in my stage environment for Wordpress with an example address of ...
0
votes
1answer
89 views

Want to change my site root

Hello I have a wordpress site that has a url at some ip address. Now what I want to do change the url. Instead of http://"My IP Address", I want it http://"My IP Address"/wordpress. instead.Is there a ...
0
votes
1answer
328 views

How can I clear memcached WordPress site options by hand?

Ater rebooting a memcache node, I am getting an error on root blog only, with a telling error log message from wp-includes/ms-settings.php. [Thu Jul 07 18:55:27 2011] [error] [client 12.34.56.78] PHP ...
0
votes
1answer
21 views

Top Admin Bar Never Shows Up

So I recently moved a site to a new domain and updated the URL to reflect the changes in the database as well as in the wordpress backend. wp_head and wp_footer are placed respectively in header.php ...
0
votes
0answers
12 views

Wordpress in own directory not working

I have a site with a blog section (well, I'm trying to create the blog section now..) WordPress is installed (original install; not transferred from root) in /blog/. Post links (for example, when I ...