-1

I have same category name created into another subcategory.Newly created category URL is New URL:http://127.0.0.1/magento/index.php/category/medicine-2 and existing category URL is Existing URL:http://127.0.0.1/magento/index.php/category/medicine I want to rewrite new URL(http://127.0.0.1/magento/index.php/category/medicine-2) to existing URL(http://127.0.0.1/magento/index.php/category/medicine).Can you please help me?

0
  1. Go to Catalog -> URL Rewrite Management
  2. Click on Add URL Rewrite
  3. For Create URL Rewrite, choose "Custom"
  4. Give a random number or text for ID Path
  5. Give the relative URL for old link as Request Path (category/medicine)
  6. Relative URL for new link as Target path (category/medicine-2)
  7. You may choose redirect as Permanent

and Save.

| improve this answer | |
0

You'll need to make sure you don't have the same category URL under a subcategory.

Magento will automatically add a number at the end if that will be the case.

After you made sure you have unique URLs under the same category you can go to:

Catalog > URL Rewrite Management

And search for your path to map it accordingly:

enter image description here

In target path you'll find the category ID to where is pointing you're URL.

| improve this answer | |
  • Hi, This is not working.Please check my screenshot .what I am missing? prnt.sc/hgam1f .Can you please help me? – Dileep Kumar Nov 28 '17 at 11:55
  • Hi, you're already having a path. Need first to delete the old one. Fix your category to have unique id and the reindex from: System > Index Manager. – obsergiu Nov 28 '17 at 13:00

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.