Jump to content

how to i can remove parameters from category page


tareqshaw

Recommended Posts

how i can remove parameters from url , like i have page 

http://www.abc.pk/index.php?_a=viewCat&cat_id=1    to   http://www.pakonlineshop.pk/mens-fashion

i have tried many options but did not get , if i use this rule 
#RewriteCond %{QUERY_STRING} (.*)$
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteRule ([^/]*)$                    index.php?_a=viewCat&cat_id=$1 [NC]

this loads some category's products on http://www.pakonlineshop.pk

Link to comment
Share on other sites

Welcome to the forums, tareqshaw! I think the url you don't want is the way it looks when the SEO urls are not being used. What CubeCart version and skin are you using?

This might help:

Rename your current .htaccess file and let CubeCart create another one by default, and see if that helps.

Link to comment
Share on other sites

CubeCart 6 works this way. There is no work involved to do this.

From what I can tell, your site is running CubeCart 3 or CubeCart 4.

If CC3, you will need to find a mod that will add the necessary internal coding. CC4 may do this, but I am not that familiar with CC4.

What version of CubeCart are you running?

Link to comment
Share on other sites

i am using cubecart 4 , can't we do this by htaccess ?

7 minutes ago, Dirty Butter said:

Welcome to the forums, tareqshaw! I think the url you don't want is the way it looks when the SEO urls are not being used. What CubeCart version and skin are you using?

This might help:

Rename your current .htaccess file and let CubeCart create another one by default, and see if that helps.

i am using cubecart4 , i have done it by getting category name from url , then i get category id from that name and pass to query on page 

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...