Author Topic: Installing WP in a subfolder  (Read 3446 times)

Mickey

  • Guest
Installing WP in a subfolder
« on: November 01, 2010, 09:51:38 PM »
To The Wordpress Wise,

I followed these instructions,

http://www.siteground.com/tutorials/wordpress/wordpress_manual_installation.htm

but I must have done something wrong. All I get is an error when I type in the url,

http://mjanzen.com/stopsmoking

I've been at it for 3 hrs. I can't figure out what I did wrong. I've read the instructions
over numerous times but still can't figure it ..........

It's my 1st time installing WP manually, so please be gentle  ::)

Your help would be greatly appreciated!

Mickey



Desdichata

  • Guest
Re: Installing WP in a subfolder
« Reply #1 on: November 01, 2010, 11:12:32 PM »
sometimes when you create a sub-directory an index.php file is created automatically. If this is not deleted or overwritten it will cause a problem similar to what you are experiencing. I had problems when I first starting doing manual installs also. You know where the wp-config file says local host (99% of the time you won't have to change this) My hosting company was in the 1 per cent.

Mickey

  • Guest
Re: Installing WP in a subfolder
« Reply #2 on: November 02, 2010, 06:25:07 AM »
Desdichata,

Thank you.

I'll give that a look.


Mickey

promomxr

  • Guest
Re: Installing WP in a subfolder
« Reply #3 on: November 02, 2010, 08:02:24 AM »
Mickey if you can't figure it out I'd be happy to give it a look... PM me.

Howard

Mickey

  • Guest
Re: Installing WP in a subfolder
« Reply #4 on: November 02, 2010, 05:11:56 PM »
Thank you, Howard.

I'll give it a shot and if I can't do it, I'll take you up on your offer.

sometimes when you create a sub-directory an index.php file is created automatically. If this is not deleted or overwritten it will cause a problem similar to what you are experiencing. I had problems when I first starting doing manual installs also. You know where the wp-config file says local host (99% of the time you won't have to change this) My hosting company was in the 1 per cent.

What exactly will I need to change here?

Offline Wayne

  • Sr. Member
  • Posts: 527
  • Let's EAT: Exposure-Action-Trade
    • View Profile
    • Mercs LLC: Action Oriented Technology
Re: Installing WP in a subfolder
« Reply #5 on: November 02, 2010, 07:06:07 PM »
sometimes when you create a sub-directory an index.php file is created automatically. If this is not deleted or overwritten it will cause a problem similar to what you are experiencing. I had problems when I first starting doing manual installs also. You know where the wp-config file says local host (99% of the time you won't have to change this) My hosting company was in the 1 per cent.

What exactly will I need to change here?

The DB_HOST is what Des was referring to when he said it is usually localhost.
Do you have a working Fantastico installed blog on that web host to compare against? That'd tell you straight away.

Nevermind, I see what's happening.

It is never even accessing the second copy of WP you installed in the "stopsmoking" subdirectory. It is being redirected to the main WP install on mjanzen.com and looking for the post with the slug "stopsmoking" and not finding it -> 404 not found error.

Theoretically, the .htaccess file should be checking for existing directories/files before handing it off to WP to handle. I've not always found that to be the case... Not sure if it's hosting provider dependent or what.


If you're feeling geeky (or just frisky) you may be better off doing the tweaks to make the main install a "multisite" install and letting the stopsmoking subdirectory be a "different" site in the network.
  http://codex.wordpress.org/Create_A_Network
If it goes smoothly for you then you'll be able to have "independent" blogs on the site and can use whatever theme you'd like for each.

Otherwise, you might want to just get a page template that will let you post PLR salespages from within WP.
(Full disclosure, I'm about to release one -- that's why that solution comes to mind immediately. :)

If you need a hand with any of that let me know.

Mickey

  • Guest
Re: Installing WP in a subfolder
« Reply #6 on: November 02, 2010, 08:27:02 PM »
Hi Wayne,

I'm not sure if I need a multi-site.

Firstly, I was about to set up a demo site of a Stop Smoking blog.

2nd, I need to learn how to set up Wordpress manually. I've always
been afraid of the geeky tech stuff because I don't understand it.

A WP multi-site sounds intriguing. Is it difficult to install and manage?

Thank you very much for your input.


Mickey

Offline Wayne

  • Sr. Member
  • Posts: 527
  • Let's EAT: Exposure-Action-Trade
    • View Profile
    • Mercs LLC: Action Oriented Technology
Re: Installing WP in a subfolder
« Reply #7 on: November 05, 2010, 01:36:20 AM »
I need to learn how to set up Wordpress manually. I've always
been afraid of the geeky tech stuff because I don't understand it.

A WP multi-site sounds intriguing. Is it difficult to install and manage?

Mickey,

The multisite is a little bit more work to set up than a single site install.
Since you're still playing with the single site, why not delete the one already on mjanzen.com and start from scratch?
Worst case you reinstall via fantastico later.

Once it is installed, it is a little bit more complex than a standard install as far as the options and adding multiple blogs and sorting out themes and plugins across the blogs. Otherwise, it's nicer than having a dozen blogs spread across multople WP installs as far as upgrades and maintenance.

I'm playing with the multisite on my test machine because it appears to take about 2 minutes to have an existing blog's settings cloned and ready to do whatever testing I'm planning for that day.

I hadn't realized that the reason you want to install it by hand is for the confidence boost.
I'm geeky and the only reason I install it by hand is because I have more control that way. Otherwise, I just use fantastico...

Let me know if you need any help.

BTW, is there any reason you didn't use the "5 minute install" guide from Wordpress themselves?
http://codex.wordpress.org/Installing_WordPress

Offline GraphicBass

  • Sr. Member
  • Posts: 440
    • View Profile
    • Wells-Smith Partners, Publishers
Re: Installing WP in a subfolder
« Reply #8 on: November 05, 2010, 08:31:08 PM »
This is a better way to put Wordpress in it's own folder, yet have it run from the root (top level) of your site:

http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

I've set up my main e-commerce site using this method and it works flawlessly.

http://youremployeehandbook.com

You'll see it's running from a subdirectory "/news/".



Multisite is a feature that's built into Wordpress 3.0. This page will give you some guidance. It's not hard, just follow the instructions closely. With a Fantastico install, start at Step 3, as you will be limited to subdirectory sub-blogs. With a manual install, you can choose between subdirectory and subdomain.

http://codex.wordpress.org/Create_A_Network

Hope this helps.

gary

Gary Smith,  Wells-Smith Partners, Publisher
<a href="http://www.YourEmployeeHandbook.com/become-an-affiliate/">Your Employee Handbook Affiliate Program 60% commission, average sale $57</a>

Offline Donald

  • Sr Member
  • Posts: 2,451
    • View Profile
    • My Blog
Re: Installing WP in a subfolder
« Reply #9 on: February 16, 2011, 03:38:11 PM »
I need to learn how to set up Wordpress manually. I've always
been afraid of the geeky tech stuff because I don't understand it.

Hi wayne,

That's what I want to do in the future,is install WP by hand. I have a video, it'sjust getting the time to do it. Like Mickey he wants the experience.

Donald

Mickey,

The multisite is a little bit more work to set up than a single site install.
Since you're still playing with the single site, why not delete the one already on mjanzen.com and start from scratch?
Worst case you reinstall via fantastico later.

Once it is installed, it is a little bit more complex than a standard install as far as the options and adding multiple blogs and sorting out themes and plugins across the blogs. Otherwise, it's nicer than having a dozen blogs spread across multople WP installs as far as upgrades and maintenance.

I'm playing with the multisite on my test machine because it appears to take about 2 minutes to have an existing blog's settings cloned and ready to do whatever testing I'm planning for that day.

I hadn't realized that the reason you want to install it by hand is for the confidence boost.
I'm geeky and the only reason I install it by hand is because I have more control that way. Otherwise, I just use fantastico...

Let me know if you need any help.

BTW, is there any reason you didn't use the "5 minute install" guide from Wordpress themselves?
http://codex.wordpress.org/Installing_WordPress