3

I want to redirect my category link to some cms page. Could anyone tell me how to do so? Any help will be appreciated.


@Kho TruongDinh As you specified, I have used URL rewrite, but it did not work for me..

What I really did is... I created a category 'Type', and I created a cms page for that category as 'type-page'.

Then I went to URL rewrites.

enter image description here

I wrote a URL rewrite as below. enter image description here But now, the redirect is not working, it still shows the default category page. Any solution????

3

Seems that you created a wrong url rewrite.

"Request path" is the path that you actually see in your browser's address bar. So in your case it should be type.html instead of "catalog/category/view/id/4.

Before doing this, you should know that in case you already have a category with type.html url key then Magento will not allow you to create a new url rewrite with the same request path. So firstly you need to find and delete the existing url rewrite.

I've just tried this steps on my local machine and it works fine.

1

Just copy the cms page content into static block. Then create a category and assign that block to that category.

1

Try with this below links :-

http://iamrookie.com/blog/319/redirect-category-link-cms-page-link-magento.html

https://www.youtube.com/watch?v=5rSIQlRC8Xk

0

That's work but the block it was inserted in the section category-view and not in the content main but i removed that section

<referenceBlock name="main" remove="true" />

i applied this just in the category

0
suppose Your category is wholesale.html and redirect cms page whole-sale. please Try this screen short.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.