cancel
Showing results for 
Search instead for 
Did you mean: 

Categrory URL Rewrite Not Working After Upgrading To Magento 2.3.1 from Magento 2.3.0

SOLVED

Categrory URL Rewrite Not Working After Upgrading To Magento 2.3.1 from Magento 2.3.0

After upgrading to Magento CE 2.3.1 from 2.3.0, Category URL Rewrite don't seem to be working.

After the update, now when I am creating a new product, the URL that's being generated is something like this: http://example.com/catalog/product/view/id/3708/s/test-product-1/. The correct format should have been http://example.com/mobile-spare-parts/test-product-1/.

My settings are as follows:

  • Configuration >> General >> Web >> Search Engine Optimization >> Use Web Server Rewrites: Yes
  • Configuration >> Catalog >> Search Engine Optimization >> Use Categories Path for Product URLs: Yes
  • Configuration >> Catalog >> Search Engine Optimization >> Use Canonical Link Meta Tag For Categories: No
  • Configuration >> Catalog >> Search Engine Optimization >> Use Canonical Link Meta Tag For Products: Yes
1 ACCEPTED SOLUTION

Accepted Solutions

Re: Categrory URL Rewrite Not Working After Upgrading To Magento 2.3.1 from Magento 2.3.0

6 REPLIES 6

Re: Categrory URL Rewrite Not Working After Upgrading To Magento 2.3.1 from Magento 2.3.0

Hi @evagabond ,

 

 

After adding a new product, now you can run these following command and check the Url .

 

1.  chmod -R 0777 pub/ var/ app/etc/

2. php -dmemory_limit=1024M bin/magento indexer:reindex

3. php bin/magento cache:flush

4. chmod -R 0777 pub/ var/ app/etc/

 

------------------------------------------------
If you've found one of my answers useful, please give"Kudos" or "Accept as Solution"

 

Re: Categrory URL Rewrite Not Working After Upgrading To Magento 2.3.1 from Magento 2.3.0

Hi @syedhasan,

 

Your solution don't seem to be working!

 

What seems to be working though is, after creating a product, if I go and change the category to some other category, & save the product again, the URL re-write seems to be happening.

 

Again if I revert back to the original category, even now the URL re-write seems to be working with Clean URL being generated.

 

Any idea why I am experiencing this issue?

 

Thanks!

Re: Categrory URL Rewrite Not Working After Upgrading To Magento 2.3.1 from Magento 2.3.0

Hi @evagabond 

 

if you have no problem, can you share your URL which is facing your problems.

Re: Categrory URL Rewrite Not Working After Upgrading To Magento 2.3.1 from Magento 2.3.0

Sure @syedhasan.

 

After updating to Magento 2.3.1, any new products I am creating, the URL being generated is something like this: http://example.com/catalog/product/view/id/3708/s/test-product-1/.

 

The other products were created prior to updating to 2.3.1, and never experienced this issue.

Re: Categrory URL Rewrite Not Working After Upgrading To Magento 2.3.1 from Magento 2.3.0

Hi @evagabond,

 

Sorry for late response Smiley Sad

 

   I am also never experience this type of issue but if want to change url you can use 'Url Rewrites'

  Please also look at this link, hope you get it.

1. https://www.magestore.com/magento-2-tutorial/magento-2-how-to-configure-url-rewrites/

2. https://www.mageplaza.com/kb/how-to-create-url-rewrites-magento-2.html

 

 

  

     

  

 

Re: Categrory URL Rewrite Not Working After Upgrading To Magento 2.3.1 from Magento 2.3.0

@syedhasan - I finally resolved my issue. If you're interested you may read it here: https://magento.stackexchange.com/questions/270547/categrory-url-rewrite-not-working-after-upgrading...