ADMIN: Catalog → URL Rewrite Management

Last modified by balexandre on Mon, October 5, 2009 16:45
Source|Old Revisions  

This is an old revision of the document!


please read the Magento Documentation on URL Rewrites

Url rewrite is something that it is not easy to understand, it took me several attempts to get the job done, but at the end... looking at it, it does make sense :)

Let’s image, for our propose example, that we want to add links to the TOP MENU that will end up in a PAGE and not in the CATALOG (product view).

Imagine that we what to have in the TOP MENU a link called PRESS and that should open the press page that we already created in the CMS.

image of the menu

as the default behavior Magento will create one Rewrite action for every category, for every Store View, so we will end up with rewrites almost the same, only diferenciating the Store View.

image of the url rewrite actions for our PRESS ROOM in 4 store views

Let’s get to work...

First thing to do is delete the System Rule, so we choose our Rule, press edit (right side) and it will show this:

Default rule

lets create a Custom Rule, conserve all values except the Target Path

Custom rule

lets save, and test it!

That’s it... simple right?

Now, don’t forget to do this for all Store Views if you have more than one.




 

Magento 2 GitHub Repository

Magento Job Board - Some sort of tag line goes here

Latest Posts| View all Jobs