Thread: SEO
View Single Post
  #3  
Old 03-30-2005, 04:33 AM
 
mfcopier mfcopier is offline
 

Senior Member
  
Join Date: Nov 2002
Posts: 172
 

Default SEO

Yes seen this but when i try to look $catalog_dir_name = "catalog"; cannot find it and will that work?????


<---snip---->
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.
__________________
www.inkjetcartridgesuk.com

X-Cart version 4.0.11
PHP 4.3.10
MySQL server 3.23.58
MySQL client 3.23.49
Web server Apache/1.3.27 (Unix) PHP/4.3.10
Reply With Quote