Jump to content

Creating categories alias


Deepinder

Recommended Posts

One of the tricks I used to have some similar effect is putting this kind of code in config.inc.php:

$tmps = explode("-", $_SERVER['REQUEST_URI']);
if((sizeof($tmps) == 2) && ($tmps[0] == "/220"))
  header('Location: http://www.myshop.com/21-bicycles');

It redirects the category with id 220 to category 21. That way you can access a category from two trees.

Quite likely you will find other solutions in the addons.

Link to comment
Share on other sites

Hi,

Thanks for code.

I was looking for code to import Products and Merge the categories .

For example Computers and computer both as alias to Desktops.

Reason i am doing so... i am managing 3 different data feeds and all have different categories.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...