View Single Post
  #1  
Old 11-15-2004, 08:57 PM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default Root HTML Generator

I've had a few people asking me this question so I thought I'd post it up for others.

It's a very simple mod to do, but it is very effective. It basically moves your catalog .html pages into your root directory i.e. http://www.yourdomain.com/index.html instead of http://www.yourdomain.com/catalog/index.html

It makes your site much more likely to be spidered by search engines, and increases page rankings by moving them a step closer to root.

----

1) Download and open the file admin/html_catalog.php in a text editor

Find this code:

Code:
$catalog_dir_name = "catalog";

Change to:

Code:
$catalog_dir_name = "";

2) Reupload your file.

3) You will then have to give your root directory permission to be written to. This will likely require the directory being chmod'd 666 or 777. Look up "chmod" on the search engines if you are unsure how to do this.

4) You can then login to your admin section, click on HTML Catalog, and generate your new catalog. An index page will be created for your site.

---

That's all there is to it.
Reply With Quote