Jump to content

Is there a SE friendly mod for cubecart?


Guest sunspeks

Recommended Posts

Guest sunspeks

I have just changed my website and have started using cubecart.

My problem is that with my old site i used to have the different catagories listed in the url which is great for seo purposes.

The new urls appear like this

http://www.sunspeks.com/index.php?act=viewCat&catId=14

when what i want is for the term kids to be the catagory.

I have tried this

Options +FollowSymLinks

RewriteEngine on

RewriteRule kids(.*)-(.*)\.htm$ /index.php?act=$1&catId=$2

But nothing happens to the url, i thought it would change in the address bar.

Also, i need to do this to all 17 catogories on my site, So do do i just add the RewriteRule's for the other pages directly under each other?

Sorry to be a real newbie but i have tried to find an easy guide but with no joy.

Kind regards

Mark

sunspeks.com

Link to comment
Share on other sites

Guest sunspeks

Me again!!!

Sorry but after installing the SE friendly mod ( using winmerge) i had a massive amount of problems so had to revert back to my old unfriendly shop.

I had 500 errors so had to delete the .htaccess file which of course had the mod rewrite in it.

After that the front page looked ok but when i went to click on a catogory all i got was 404 errors. Is there some secret that i am not aware of with regards .htaccess files? I suppose they do work on all version of apache?

There must be a way to write a mod_rewrite so that i can include the catagory names in the URL rather than show the catagory number as in the present url

http://sunspeks.com/shop/category/10?PHPSE...69a4050ed5a4a02

The session id killer is a must as well,

I may have to get rid of cubecart if i cannot sort this out, my site is in the top page or 2 of all the big engines for my keywords and i cannot afford to drop because of a non SE friendly cart.

PLEASE, please , please , somebody help me understand what is happening.

Mark

sunspeks.com

;)

Link to comment
Share on other sites

Guest rukiman

In regards to the search engine mod...

Is your index.php in the root directory or is under some directory. You must modify the .htaccess file if its not in the root directory.

i.e if you index.php is in the "shop" directory

all line like this

RewriteRule ^shop/category/(.*) /index.php?act=viewCat&catId=$1

will become

RewriteRule ^shop/category/(.*) /shop/index.php?act=viewCat&catId=$1

I'll add this to the instructions in my next release.

In regards to category and product name appearing in the url, the current version of this mod doesn't do this. Its a feature I hope to add in the future.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...