3

On my Magento 2.2.3 store, I'm adding new categories. But it seems that on all new, but also the old existing categories. I'm unable to change the URL Key under the 'Search Engine optimization' tab.

The URL is shown, but it's greyed out and the input field is disabled. my website has 4 stores.

Anyone can suggest this. I am not getting any solution.

enter image description here

2 Answers 2

3

After lots of R&D and step by step debug in the code I have found the solution. It was the Plazma theme module issue. in the file view/adminhtml/ui_component/category_form.xml I have found the code below and I have commented this.

<item name="imports" xsi:type="array">
 <item name="disabled" xsi:type="string">${ $.provider }:data.use_default.url_key</item>
</item>

Now everything working fine.

1
  • In my case it was app/code/Plazathemes/Override/view/adminhtml/ui_component/category_form.xml
    – Rene Korss
    Dec 10, 2019 at 13:33
0

There are ways you can try to debug this issue:

  1. Check if you are editing the category for the specific Store View
  2. Go to Store→Configuration→Catalog→Catalog→Search Engine Optimization and check if Create Permanent Redirect for URLs if URL Key Changed is set to YES
3
  • I have already checked both ways and all are set as you said. category URL is also not editable with store view also
    – Jack
    Apr 4, 2019 at 7:20
  • can you switch to other store view? and check if it will work
    – fmsthird
    Apr 4, 2019 at 7:23
  • didn't work already checked not getting why it is showing disable in html input filed
    – Jack
    Apr 4, 2019 at 7:25

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.