X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Want only product name in HTML Catalog file name. (https://forum.x-cart.com/showthread.php?t=18228)

AuroraGenerators 11-26-2005 05:45 AM

Want only product name in HTML Catalog file name.
 
When x-cart creates an html catalog it creats long file names.

I only want the product name in the file name.

http://www.auroragenerators.com/Kipor-KGE1000Ti-p-1.html

I would like it to be

http://www.auroragenerators.com/KGE1000Ti.html

Just want it to drop the manufactor and page number. Why is the rest needed anyway?

Thanks.

shan 11-26-2005 06:49 AM

why ould you want to remove a keyword ?

AuroraGenerators 11-26-2005 12:36 PM

Its a file name. I don't need all the extra junk in the name. It would rank higher when searched for the item name and its also part of the file name rather then all the rest of the stuff.

Better search engine visibility.

If you add a second word it cuts down the accuracy by 50% There is more relevency without the page numbers and categories in the file name.

Can anyone tell me how to make it create a html page and name the file after the item name rather then all the other fields?

BoomBoomBap 11-26-2005 12:45 PM

I looked into this but actually, you need a lot of the extra stuff to keep there from being duplicates.

If you really do want to poke around however have a look at admin/html_catalog.php - specifically the $name_styles array

Jon 11-26-2005 08:07 PM

I have a mod that will allow you to input whatever file name you want for each of your products, so you can customize them all for seo relevancy. PM me if you are interested.

BoomBoomBap 11-27-2005 01:31 AM

FYI Jon - The link in your signature points to a "file not found" page...

Jon 11-27-2005 02:32 AM

Thanks for the heads-up, do appreciate it :)

BoomBoomBap 11-27-2005 09:54 AM

Sure thing - which mod are you referring to though? I went through the site and couldn't find anything specific to html catalogs.

I remember somewhere else on the forum you mentioning an .htaccess mod or something similar. Couldn't find that either...

Jon 11-27-2005 10:17 AM

The mod for custom urls has not yet been made publically available and needs to be installed by us. You can see it working on our site for the products.

If you can refresh my memory on the purpose of the .htaccess changes I'd be happy to help you with it.

BoomBoomBap 11-27-2005 10:49 AM

I believe the .htacess mod was an alternative to HTML catalog using mod_rewrite. I've been doing a lot research on the forums as I upgrade to the 4.x branch and I stumbled on that somewhere along the way...

Jon 11-27-2005 11:11 AM

I don't have a formal mod in place for this, I imagine I would have been speaking about theory, but I can't be sure without looking at the actual post. You can use mod_rewrite to create fake static pages, but then you'd have to change all your links. This is essentially what is done with a Dynamic Static Links mod which is available somewhere on the forums, and for all the time it takes you'd be best to purchase the mod.

The mod I am speaking of still uses the HTML catalog, it just creates custom product urls.


All times are GMT -8. The time now is 05:38 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.