Play Video

#HostGator: Installing #WordPress In A Subfolder or SubDirectory!

http://PressSavvy.com – Hundreds of FREE WordPress Training Tutorials. Updated Constantly!

SUBSCRIBE NOW to get the latest WordPress Tutorials.

MORE VIDEOS! I will be creating new training videos constantly so subscribe to this channel and don’t miss out.

I’M STUCK? No worries, post your question as a comment and I will reply right away.

CAN YOU HELP ME? Of course, submit your request here: http://presssavvy.com/request-training/

In this video I will show you how to install WordPress in a self folder on HostGator. There are many different ways that you can and saw WordPress however in this video we will use the quick install.

Are you hosting WordPress yourself?

A great new feature is that you’re now able to keep the WordPress core folders and files in a separate sub folder.

The core files are all the WordPress installation files which you never touch or alter. All the other files which you upload, plug-ins, themes and configuration files are kept apart. This helps greatly to reduce the “unclean” mix of files of your installation. And, reduces the risk of deleting files which you should stay away from (the core WordPress installation files).

Another very helpful aspect of this feature is the ability to soft launch / beta test a new WordPress blog in a less prominent way (e.g. yoururl.com/testblog ) and than move it to the main location with the simple procedure below.

To reiterate: You can apply this in two ways, either by starting in a sub directory and than move the blog to the main URL/directory or you did set up your blog under the main URL/directory and want to move the core WordPress files into its own sub directory.

Below you’ll find the complete description from the WordPress codex about giving WordPress its own directory:

Create the new location for the core WordPress files to be stored (we will use /wordpress in our examples). (On linux, use mkdir wordpress from your www directory. You’ll probably want to use “chown apache:apache” on the wordpress directory you created.)
Go to the General panel.
In the box for WordPress address (URL): change the address to the new location of your main WordPress core files. Example: http://example.com/wordpress
In the box for Blog address (URL): change the address to the root directory’s URL. Example: http://example.com
Click Save Changes. (Do not worry about the error message and do not try to see your blog at this point! You will probably get a message about file not found.)
Move your WordPress core files to the new location (WordPress address).
Copy the index.php and .htaccess files from the WordPress directory into the root directory of your site (Blog address). The .htaccess file is invisible, so you may have to set your FTP client to show hidden files. If you are not using pretty permalinks, then you may not have a .htaccess file.
Open your root directory’s index.php file in a text editor
Change the following and save the file. Change the line that says:
require(‘./wp-blog-header.php’);
to the following, using your directory name for the WordPress core files:
require(‘./wordpress/wp-blog-header.php’);
Login to the new location. It might now be http://example.com/wordpress/wp-admin/
If you have set up Permalinks, go to the Permalinks panel and update your Permalink structure. WordPress will automatically update your .htaccess file if it has the appropriate file permissions. If WordPress can’t write to your .htaccess file, it will display the new rewrite rules to you, which you should manually copy into your .htaccess file (in the same directory as the main index.php file.)
Please feel free to ask questions in the comments section below. I’ll help you to get this set up and working. Thanks!

on welcome to press savvy dot-com my name is Derrick Fox and I’m here to show you in this video how to install WordPress on a sub folder of your website and so that would be your domain name.com slash whatever folder you want to put it in now you may have WordPress installed on your main directory but you know sometimes you want to install it into a second directory just because you want to do different things and have different functions so
let me go ahead and show you how to do that so once you’re logged into your Hostgator control panel you’ll go ahead and scroll all the way down to the bottom where it says quick install now we can we can use a couple of different ways to do this like we could do it manually but I like quick install it does it easily I don’t have to go through and click back and forth I’ll probably do another video on how to do it manually because there are there
are kind of pros and cons with each but you know what for this video we’re going to show you how to do it using the quick install so now that the pages are loaded go ahead and click on WordPress and we’ll click continue we’ll come over here find the domain name and in this particular case I want to put this WordPress installation into a subfolder labeled test so to get to this particular WordPress installation you’ll go to WWE forward slash press
savvy com forge slash test okay and the admin email I want it to be that and the title will be press savvy test and the admin will be admin and then first and last name and we’ll go ahead and click install so congratulations it’s now already been installed we’re ready to login they’re gonna actually send me an email with all types of information that I’m going to need to log into the website but I don’t necessarily want to log in on this video
but if I go over now if I go to press savvy comm forward slash test you can actually see that I have a whole new WordPress installation now if I go over to my website if I go over to press savvy comm you’ll see that I have a completely different installation here of WordPress okay so that’s all I’m gonna show you here in this video if you have any questions about about how to do is about how to install WordPress on a subfolder please use a
comment box down below I’d be happy to help you if you like this video fan out John anyway please go ahead and give me a thumbs up that really helps me get some some good ratings here on YouTube of course and then I’d love to encourage you to come over to my website press savvy comm when I have training videos I also do some training on studiopress media temple and gravity forms and I’ll be keep adding more and more different things here all the
time so thank you so very much my name is Derek Fox I am here at pres savvy comm and I look forward to seeing you online soon