1

My Category Name : Test

URL Rewrite Management

enter image description here

In Localhost If i click the category name Test, the URL redirect to http://194.0.0.24/abcd/catalog/category/view/id/30

How can i solve this issue?

  • What are you wanting the url to be when you click the test category? – AJ47 Mar 30 '18 at 11:43
  • If customer click my category called Test, it redirect to google page. – zus Mar 31 '18 at 7:24
  • category edit page add url_key and save that category – Jigs Parmar Mar 31 '18 at 8:05
  • @zus I believe you want the target path to be the url that you want the category directed to. – AJ47 Mar 31 '18 at 8:24
  • @AJ47 If i do what you told, i am getting result like, snag.gy/rw4UlQ.jpg – zus Mar 31 '18 at 9:14
1
+50

You can redirect test category to google by following below steps:

  1. set your main category url rewrite to "Temporary 302".
  2. create a custom url rewrite in that enter

    • ID Path * = test-idpath (any unique path)
    • Request Path * = catalog/category/view/id/4 (your category path)
    • Target Path * = http://google.com
    • Redirect = "Permanent 301"

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.