View Single Post
  #4 (permalink)  
Old 12-01-2008, 11:48 PM
amxfan amxfan is offline
WebProWorld Veteran
WebProWorld MVP
 
Join Date: Jan 2008
Posts: 546
amxfan RepRank 4amxfan RepRank 4amxfan RepRank 4amxfan RepRank 4
Default Re: Hi please review my new blog and squeee page

There are a few ways to stop directory indexing. One way is with a htaccess file. This way is probably best due to the person trying to view the contents of the folder will get a 404 error "file not found". But trying to explain how to do this in this format of communication is not the easiest thing to do, especially if you have never viewed or have very little experience with coding. Here are two simple ways to accomplish relatively the same thing.
1. Open notepad and create a blank text document. Rename the blank text document to index.html. Upload this file to every folder on your site. Do not overwrite any existing html file and do not upload it to the root of your site.
2. If your hosting company is using cpanel "you can also do this in vdeck, but I'm not sure where", log in to cpanel, under the advanced menu, click on index manager, then click on the public_html folder and check no indexing. This will make it sitewide.
Please note the first way I told you to do this is the easiest and quickest. The downfall of it is 1 - people will see a blank page, 2 - it tells the visitor that the folder does exist. The upside is your visitors can not view or save the contents of that folder. The second way I told you, the person trying to view the contents of the folder will get a forbidden error message. This will also tell the visitor that the folder does exist. The htaccess way would display the 404, file not found error, making the person unsure whether the folder exists or not. For security reasons that makes the htaccess way the best. I highly recommend reading up on this, but be careful when playing with your htaccess because you can make your entire site go down.

As far as changing the colors, I'm not sure what you are using to edit the template now. If you have a copy of DreamWeaver you can open the css file that is found in the root of your themes folder that you are using. Usually it is named style.css. This is where you would change the colors, fonts, etc. You need to also be careful when editing this file due to if it is a tableless design "and it is" your layout and positioning is also in this file. Most css files that you download with a template are pretty well commented as what does what. Before editing any of these files though, you may want to create a subdomain or a hidden folder and upload / install WordPress to that and play with those files and not the files that are live being displayed to the public. Or if you really want to get involved, install a local copy of Apache webserver with php and mysql and edit the files locally on your computer, then upload them.

I pointed a few things out above like the htaccess file and apache server knowing that it is more than likely above your technical level at this point in time. The reason I pointed them out is to make you aware of the learning curve that you will be facing, not to discourage you, but to give you other things to research and read on. It is actually not difficult to set up an apache server as there are many tutorials online that take you step by step. The best way to learn is by doing it.