The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
58 views

Changing the site URL

Overview: I have a self-hosted WordPress installation currently without a domain. Example: http://xx.xx.xxx.xxx/~someaccountname In a few days a domain will be pointing to this installation and ...
0
votes
1answer
25 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 ...
-1
votes
1answer
16 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 ...
0
votes
1answer
24 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 ...
1
vote
2answers
37 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 ...
0
votes
1answer
33 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
32 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
2answers
409 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
1answer
43 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
0answers
17 views

Index (Home) page not displayed when running wordpress in a subdirectory

I'm running my wordpress site in a subdirectory. Do do that i followed the instructions here: http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory Before i had the url: ...
0
votes
1answer
57 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
41 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
58 views

Displays url's twice and getting 404 errors after activating

I have activated SSL to my site On my wordpress multisite, I am getting 404 errors when I am entering a correct url for example http://site.org/wp-admin it automatically redirecting and giving ...
0
votes
1answer
39 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
3answers
147 views

Giving Wordpress it's own directory and using .htaccess Directory Index

Would this be a bad idea for any reason? - installing Wordpress in a sub-directory (ie: http:// example.com/wordpress) alongside the current website (ie: http:// example.com) that is not using ...
0
votes
1answer
57 views

Sub-domain or 2nd, temporary different domain?

I'm developing a Wordpress site for a website that already exists (that's not currently using Wordpress). The current website cannot be taken down until the new Wordpress site is ready to replace it. ...
4
votes
3answers
2k 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 ...
0
votes
2answers
74 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
1answer
37 views

How to add a forward slash to the end of wordpress home?

I have a wordpress site - domain.com/tickets domain.com redirects to another site - this will be fixed soon but will redirect for a few more months. So when I go into WP settings I put in ...
0
votes
1answer
47 views

set cookies for my whole site is not working

I'm trying to set the cookie to my site to hide a div on click action. Description of the problem. I wanna set the cookie for the whole site not for particular page. I'm setting the cookie on click ...
0
votes
0answers
54 views

“open_basedir restriction ” when changing wordpress URLs

I got these error messages when trying to move WordPress (3.5.1) to a different directory (changing "WordPress Address (URL)" and "Site Address (URL)" from http://example.nl/wordpress to ...
0
votes
0answers
111 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 ...
3
votes
1answer
64 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 ...
0
votes
1answer
16 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
50 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 ...
1
vote
3answers
66 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
1answer
232 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
1
vote
1answer
72 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 ...
0
votes
1answer
67 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 conformation ...
0
votes
3answers
94 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
0answers
66 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
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
492 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
2answers
35 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
1answer
85 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 ...
0
votes
2answers
86 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 ...
1
vote
0answers
76 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
80 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
3answers
68 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 ...
7
votes
1answer
256 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 ...
0
votes
0answers
28 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 ...
11
votes
4answers
8k 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 ...
0
votes
2answers
80 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
4answers
84 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 ...
4
votes
7answers
2k 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: ...
0
votes
3answers
442 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
386 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
80 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 ...
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
1answer
76 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 ...