How to install Wordpress Mu on a shared hosting
I wanted to install wordpress mu on one of my local site. Giving people to express themselves might be a good idea. And I knew that there was wordpress mu for such sites. I had experience with wordpress but I had never installed wordpress mu before. Ant it wasn’t that easy.
When I first tried installing it, I uploaded files to my server, on a subdomain of an add on domain, I entered to site and I saw the install page but nothing happened when i clicked on “create a config page” link. I searched for a solution and found that this resourced from the wordpress installed on the main directory.
I renamed the wp-config.php to something else and tried again. It was ok, I could install wordpress mu. But whats that? When I tried to login, I got this error: “Warning! VHOST must be ‘yes’ or ‘no’ in wp-config.php” I checked the wp-config.php and saw that it VHOST was set to Yes, but it was giving the same error.
I talked this to good guys from hostgator. And we realized that It was resourced from the uppercase y in “Yes”. It must be written with lowercase letters.
It is ok now. I am trying wordpress mu on my shared hosting from hostgator.
Categories: Wordpress Tags: hostgator, s, wordpress mu
How to exclude categories on wordpress frontpage
You can say, why should i exclude a category on frontpage? There may be some reasons for you, for example; you can create a category for your del.icio.us or twitter account and automatically post your status to these categories and ,you may want to exclude them on frontpage.
But i would rather do it for seo? How? I create a category and post articles that humans doulnt love but search engines would love to that category. And exclude that category on frontpage. This is simple:
if (have_posts()) {
and
while (have_posts()) {
Drop in the following code:
if (is_home()) {
query_posts('cat=-xxx');
}
xxx is the category number. To exclude more than one category, it is just a matter of listing each category ID in query_posts(), thus:
query_posts('cat=-12,-14,-22');
