The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
20 views

page not found error for page that is there

I have one form on its action I am calling One page using home_url(). That page showing 'Error: Page not found' but when I open that link in a new tab it is getting displayed.
5
votes
3answers
231 views

Getting the Site URL Including the Front Base

If my permalink structure is set to /blog/%postname%/, how can I retrieve a URL for my site which retrieves domain.com/blog/? With the permalink structure mentioned above, when using site_url();, it ...
0
votes
1answer
17 views

How to retrive previous Domain URL in Wp

One of my firend accidently! Changed the WorsPress domain address to his expired domin address now we can't even connect to WP Login Page and WP is redirecting us to a domain address which does not ...
0
votes
1answer
56 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 ...
2
votes
2answers
376 views

Remove WPML's home_url filter

The WPML plugin filter's home_url in order to provide a link to the home page specific to the language you are viewing. (So if you are reading a Spanish page home_url() will point you to ...
0
votes
1answer
44 views

Setting a permalink for the home page?

I have a static default wordpress home page. As you know if you have a homepage on wordpress you can not set a permalink through the admin options, you can only set permalinks for non homepages. Does ...
1
vote
2answers
126 views

Using Multiple Queries of “home_url” vs. Calling a Variable Multiple Times

Question Since I am using multiple instances of home_url() in one page template, I was curious if the following method would speed up my page load time. My method is to store the output of home_url() ...
0
votes
1answer
25 views

How can I include a file related to blog URL? Nothing seems to work

When I was building my website locally using WAMP, I was just using simple include '/extras/file.php'; Of course, that would start at the root folder, and look in the extras folder. However, now ...
0
votes
1answer
286 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
1answer
44 views

Accidentally messed up URLs

So I installed WordPress on my Apache server and I changed the URL in the WordPress Admin Control Panel to http://website.com/ from http://website.com/wordpress and now it's taking me to my old ...
0
votes
1answer
76 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 ...
3
votes
1answer
84 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
30 views

Redirect when the site's home is set to a page

Is it possible to have Wordpress display the full URL string when a specific page listed more than one level deep is set up as the home page under Reading settings? If I have example.com/parent/child ...
0
votes
0answers
44 views

Function get_home_url appends dot

Does anyone have this problem? When I call this function on my mobile theme, it appends a dot at the end of my home url, so it looks like www.example.com. which makes some other functions work ...
0
votes
2answers
52 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
2answers
38 views

Set a different home link in nav menu

I've my website with homepage link set to http://www.mysite.com. I've also many pages with subpages, and in that subpages i've already a link in the content that returns to the top level parent page. ...
0
votes
2answers
121 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
29 views

Home in page/post not refer to homepage

I really need help. I'm using Private Lawyer theme, and I'm having this problem, Eg: Home >> Photo Gallery the "home" not refer to my homepage. when I click it, it refer back to photo gallery ...
1
vote
1answer
296 views

Using wp_redirect and .htaccess to re-route searches (and pass along the remaining GET vars)

I'm trying to use wp_redirect() to redirect searches to a format that I have established in .htaccess. Unfortunately, I'm running into some problems doing this. I need to redirect search to a series ...
0
votes
1answer
101 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.)
4
votes
3answers
4k 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
1answer
75 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 ...
1
vote
1answer
97 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
3answers
152 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. ...
0
votes
2answers
66 views

Different URL for homepage then all your other pages

I'm using a theme (in this case woocommerce) but doesnt matter not a theme specific question. And I want to have the homepage on main domain like domain.nl and have all the other pages on ...
2
votes
0answers
40 views

Multiple homes for multiple languages [closed]

I want to have multiples homes, for use multiples languages. For do for example: if($_SERVER['SERVER_NAME'] == 'en.bz6.org') defime('WPLANG', 'en'); else efime('WPLANG', 'es');
2
votes
1answer
140 views

is_home doesn't affect content

I have a bunch of html i need to show only if it is a homepage. My theme pulls content from AJAX and then changes the URL to reflect the new content change. in the meantime, the homepage content (the ...
0
votes
1answer
111 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
1k 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 ...
0
votes
2answers
48 views

Extra Text in URL

I'm redesigning my website. The blog posts and everything were fairly easy to move to the new wordpress install. The URL of the test site is this: http://www.NathanTornquist.com/wordpress When I ...
0
votes
1answer
538 views

Rewrite Rules problem when rule includes homepage slug

I have page Example (ID=443, slug=example) that is configured, through Dashboard->Settings->Reading, as the home page of my WP site. I also have the following rewrite rule configured: ...
4
votes
1answer
2k 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 ...
0
votes
2answers
822 views

Showing a list of posts when homepage is custom

I am developing a custom theme. I edited my home.php to show something custom. I also edited index.php to display a list of posts or other things. After this I can't get a list of all posts which ...
0
votes
2answers
1k views

How to make my Home button on the menu redirect to my root page

When i create a new page, a permalink is created: www.example.com?page_id=29. This page is always pointing to the page which id is 29. Now, i want to point it to the root page in my website: ...
1
vote
3answers
838 views

Is it possible to use a single custom post as the site front page

I know I can set a static page as the homepage but is it possible to set a single custom post as the site front page? I created a custom post type called "portfolio" where users can add all the work ...
0
votes
1answer
141 views

Correct way of getting the current page uri

Can someone please tell me how to get the correct url of the page the user is on? I need to grab the url and construct a new link. Here is the issue that I am having. For example, let's say I am on ...
0
votes
1answer
97 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 ...
1
vote
2answers
454 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 ...
0
votes
1answer
171 views

echo site_url() returns a different value than what is in the database siteurl field

I have just copied a WordPress site to a different domain, everything on the front-end and admin side displays and works smoothly except I found my category links are linking to the old site domain. ( ...
13
votes
4answers
14k 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 ...