![]() |
SEO
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 |
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 :)
|
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. |
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 / |
SEO
What do i change it to sorry for being thick
Garry |
Change it from:
/catalog to / |
SEO
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 |
Hmmm...that is interesting. Try removing the slash all together and just leaving the box blank.
|
SEO
Comes up with ERROR No languages are selected
Garry |
Ok, might be a permission error then. What is your xcart folders permission set to?
|
All times are GMT -8. The time now is 09:39 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.