Questions tagged [url-rewrite]
Denotes questions about URL Rewrites Management.
810 questions
0 votes
1 answer
55 views
URL Rewrites created automatically
I have a problem with large amount of URL rewrites being generated and the target path looks weird. We have more than 3 million records in URL rewrites. We have about 110k SKU's, 8 store views. What ...
0 votes
1 answer
66 views
Url duplicates when working in admin magento 2.4.7
Actually the issue I will describe affects all magento 2 version I have worked since 2.3.0 We operate a large store with around 80K products and 1000 categories. So a lot of times we import products ...
1 vote
2 answers
356 views
Getting ` 1452 Cannot add or update a child row: a foreign key constraint fails` on Magento 2.4.7-p1
I did a magento update from 2.4.6-p3 -> 2.4.7-p1 and now I cannot create programmatically a product. Once I am doing: $product = $this->product->setData($productData); $this->...
0 votes
1 answer
153 views
Best way to handle store switch redirects in Magento 2
Let's assume we have the following situation: 1 Magento website with 2 stores (EN - default, IT) and 1 product. A user is accessing the website and the default store view is loaded (EN). The user ...
0 votes
1 answer
116 views
Category links loading two times
When we click on any category or subcategory link , it open two urls : first, it will load below url https://www.website.com/earrings/earlobes Next, it will load below url : https://www.website.com/...
0 votes
0 answers
46 views
magento 2 Unique constraint violation found when adding subcategory
I added two categories with sub-categories from my magento site with multiple websites 2.4.3-p1. i have imported 100 products assigned products to main category through sheet. after that created ...
1 vote
1 answer
126 views
Magento 2 Pagination Urls changing from ?p= to &p=
For some strange reason, despite not running any recent updates, our pagination links have broken on all categories. So they are occuring as &p=2 rather than ?p=2. The link still works if you ...
0 votes
1 answer
716 views
Product Url Redirect to Home Page Issue Magento 2
My configurable product redirecting to home page. I have removed the .html from Product URL Suffix and it works fine. Now concern is if i open my configurable product then it redirect to home page. ...