Need a new web host or having a problem with a script? Tips and advice on the best way to design, build and maintain your most valuable asset - your website!

Best Practice: Separate Directories

lukecorden
Posts: 25
Joined: 30 Apr 13
Trust:

Best Practice: Separate Directories

Hi

I've just watched http://www.affilorama.com/site-building ... usekeeping and it is a useful video on good housekeeping practices for keeping your website directories in order. I have a question though.

The advice is to "Keep your images in an images directory, your CSS in a CSS directory, your articles in an appropriately named directory, and so on"

My question is this:

If I affect these changes by creating the relevant directories in filezilla will WP auto detect them when I work in WP or will I have to upload all my posts, images and CSS files via the FTP platform?

If the latter is the case then I can see myself getting in all kinds of trouble. Images and posts fine but even the term upload css file is frightening to me. If I do upload a css file via ftp for example will WP recognize it a implement those changes automatically? The Images I guess will go into the WP media library, the posts into the 'all posts' section (?) and then it just gets confusing.

Advice is welcome. I'd like to start implementing this straight off the bat with my new website.

Many thanks.

LC
  • 0
Site Admin
cecille.l
Posts: 7001
Joined: 25 Feb 11
Trust:
Hi Luke,

"If I affect these changes by creating the relevant directories in filezilla will WP auto detect them when I work in WP or will I have to upload all my posts, images and CSS files via the FTP platform?"


The suggestions on the video you referred to is for non-Wordpress sites or sites created with other web-building software like Dreamweaver or XSitePro. In Wordpress, the CSS must be in the theme's folder (themes/themename/stylesheet.css). Otherwise, the theme will not work. As for the images, they are automatically uploaded by Wordpress under the 'uploads' directory and are subdivided into months (and years).

If you're using Wordpress, then there is no need to follow the suggestion on the video as Wordpress is already following the same.

Hope that helps. Have good day!
  • 0
Cecille


Step by step guide to "Penguin-proofed" sites : www.affilorama.com/affiloblueprint


Add us on Google Plus: http://www.affilorama.com/googleplus
 
lukecorden
Posts: 25
Joined: 30 Apr 13
Trust:
Thanks Cecille - that's cleared that up nicely AND saved me a headache!

LC
  • 0
Site Admin
cecille.l
Posts: 7001
Joined: 25 Feb 11
Trust:
Hi Luke,

You're welcome! :)
Please let us know if you have further inquiries. All the best!
  • 0
Cecille


Step by step guide to "Penguin-proofed" sites : www.affilorama.com/affiloblueprint


Add us on Google Plus: http://www.affilorama.com/googleplus
 

This topic was started on Aug 10, 2013 and has been closed due to inactivity. If you want to discuss this topic further, please create a new forum topic.