| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
#1
|
|||||||
|
|||||||
![]() Could someone please advise the best way to present the first page for search engines at the moment it re-directs from www.inkjetcartridgesuk.com to index.php then to:
http://www.inkjetcartridgesuk.com/xcart/catalog/index.html How do you get your first page to the root without redirecting??? Thanks Garry
__________________
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 |
|||||||
#2
|
|||||||
|
|||||||
![]() First you need to move X-Cart to the root directory. Then you will need to change your html catalog generation to point to the root as well. There are multiple threads on both of these topics. It is much easier than it sounds, trust me
![]()
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() 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 |
|||||||
#4
|
|||||||
|
|||||||
![]() In Version 4, you just need to change the path in the admin area in the HTML Catalog screen. At the bottom of the screen there is a section that says:
Generate catalogs for the following languages: Just change /catalog to /
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||
|
|||||||
![]() What do i change it to sorry for being thick
Garry
__________________
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 |
|||||||
#6
|
|||||||
|
|||||||
![]() Change it from:
/catalog to /
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#7
|
|||||||
|
|||||||
![]() Gettin this fault
Generating catalog Converting pages to HTML Warning: fopen(/home/www/inkjetca/xcart//index.html): failed to open stream: Permission denied in /home/www/inkjetca/xcart/admin/html_catalog.php on line 112 Cannot save file: /home/www/inkjetca/xcart//index.html
__________________
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 |
|||||||
#8
|
|||||||
|
|||||||
![]() Hmmm...that is interesting. Try removing the slash all together and just leaving the box blank.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#9
|
|||||||
|
|||||||
![]() Comes up with ERROR No languages are selected
Garry
__________________
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 |
|||||||
#10
|
|||||||
|
|||||||
![]() Ok, might be a permission error then. What is your xcart folders permission set to?
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
|||
X-Cart forums © 2001-2020
|