We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [url-rewrite]

Denotes questions about URL Rewrites Management.

Filter by
Sorted by
Tagged with
0
votes
0answers
24 views

Magento2.2.6 How to redirect url after pass parameter?

I have using Magento2.2.6 I have tried to add URL rewrites into Magento 2 using the Marketing -> Url Rewrite tool. The old URLs for the store look like this: group.asp?group=320 I can enter that ...
0
votes
1answer
30 views

Magento 2 : Old product url to new product url redirect

Create a few new products. And set a URL for it (test1, test2, test3, etc.) Change the URL via CSV import of that product (SKU, url_key) .. (change to 10test, 11test, 12test, etc) . When using the old ...
0
votes
0answers
11 views

Magento 2 : where in core handle function permanent url

where in core handle function permanent url Any help? Thank in advance.
0
votes
0answers
18 views

Magento 2.3 Exception : Unable to unserialize value on some products URL Problem?

Can any one help? I have searched for solutions for Exception : Unable to unserialize value. however all of the solutions don't seem to work for me. I have a bunch of products that when you try to ...
0
votes
1answer
50 views

Magento 2.3.2 call console command in observer

I have a module that programmatically creates new products in Magento 2.3.2 with multiple store views. This Magento version has an issue that causes the product URL to be correct only for the default ...
0
votes
1answer
18 views

Deleting MANY url_rewrite rows with a lock?

Magento 2.2 I have to run a huge SQL script which deletes around 2 million entries from url_rewrite by entity_id. This script runs a couple of days, but is interrupted by other processes and so I ...
1
vote
0answers
26 views

Magento 2.2.6 Product Pages Not Opening after upgrade

The product detail pages on my site are no longer opening after upgrading from magento 2.2 to 2.2.6 There are no error rather a catalog search results page is loading instead http://mydomain.co.uk/...
1
vote
1answer
16 views

How to fix URL rewrites massively via SQL?

I had migrated my store from Magento 1 and I'm having many URLs that contain .html.html in the final of the string. I want to update all my 88187 URL rewrites, replacing .html.html to .html I ...
0
votes
0answers
19 views

Rebuilding rewrites after deletion of products?

Magento 2.2.8 I had 700k products in my store and about 500k were deleted like this: delete from catalog_product_entity where entity_id = ...; That worked. Now I still have over 4.5 million ...
0
votes
0answers
24 views

Magento 2: How to redirect the category url path to custom url (to hit search page url)path

My Requirement: I need to redirect the URL while clicking the main category in the menu For example : From https://penqueen.com/test.html To https://penqueen.com/?q=item_class_pink=Ballasts ...
0
votes
0answers
16 views

URL rewrite programatically

I need to rewrite all my category urls. they are more than 600X so it is not possible to set them one by one. how can i set them automatically?
1
vote
1answer
21 views

what is equivalent of catalog_category_entity_url_key in magento2?

I am trying to find category url keys and I have catalog_category_entity_url_key in magento1, but I do not have it in magento2. how can I find the values?
0
votes
2answers
31 views

Issue with Url key change for product in magento 2.3

I changed the url key for the Product https://prnt.sc/p9o8li but on clicking on product it is redirecting to old url. On clicking product it is going to https://ihouzit.com/Timeless-Gin-and-...
0
votes
0answers
15 views

Magento 2 URL - Category Hierarchy

Currently working on a site with several categories and thousands of products. We want to structure the categories into parent/sub or parent/sub/sub if necessary. I've looked at url rewrites inside ...
0
votes
1answer
35 views

URL rewrite magento 2 admin-side issue

Magento2 - facing issue with below error in admin panel error in console category:1 Uncaught SyntaxError: Unexpected token C in JSON at position 473 at JSON.parse (<anonymous>) at getData (...
0
votes
0answers
14 views

Rewrite URL in pagination of categories Magento 1.9

I've tried so many ways to do it, but I can't find a solution. I need to change the parameters in URL when I use pagination. Examples: My url in page 2 is https://www.mysite.com.br/category/sub-...
0
votes
0answers
21 views

index.php rewrite 301 is affecting payments

I've created a htaccess in the root directory to remove index.php from URLs but excluded the user/admin areas. RewriteEngine On RewriteCond %{THE_REQUEST} ^.*/index.php RewriteRule ^(.*)index.php$ ...
0
votes
1answer
19 views

Storewise product url save programatically in Magento 2

I have 2 different website in my Magento. I want to store different url key for each website. How to store it programatically ?
0
votes
1answer
49 views

Magento 2.X: Module URL rewrite

Magento ver. 2.3.2 I am writing a Magento 2 module. I'm trying to re-write a CMS page URL: https://www.test.com/url-test/cat1/cat2/cat3/ https://www.test.com/url-test?path=/cat1/cat2/cat3/ I have ...
0
votes
0answers
22 views

Magento2.3 url_path is different from url_key

On my website we sell a number of configured products, and suddenly we've been getting a large number of our products with the url_path value (the actual URL) getting changed to the key of a child ...
0
votes
0answers
30 views

Magento 2.3 Configurable Assiged Simple Product 404

I'm using Magento 2.3 version. I have configurable products a normal product. both are works fine but the simple products assigned to configurable products getting 404 errors. The configurable ...
0
votes
0answers
30 views

Ur Rewrite interesting problem Magento 2

I need to create URL rewrite for /vendor_module/product/test/id/666. In rewrite, I want to change id/666 to productTitle.html. But when I created it I faced an interesting problem: Magento sees "...
0
votes
0answers
20 views

What class is responsible for adding the category url suffix to the URL?

I need to prevent the category URL suffix from being added to a select few pages. The suffix is set to .html, and I need it to be that for 99% of category pages, but the issue arises when trying to ...
0
votes
2answers
35 views

Magento 1.9 rewriting base store url for multiple websites

I have three different websites and within one website three stores on a single Magento 1.9 installation. 1. www.domain1.com 2. www.domain2.com 3. www.domain3.com Each domain contains three ...
0
votes
2answers
28 views

Multiple Websites ( Separate Domains) on single Magento Instance (Problem: New Domain , routing to first website instead of new website )

I am working on a Magento 2.2.7 running on Apache/Linux/Cloudways. Before I started working here, three websites were already setup to run on a single magento instance. Microbattery.com , ...
0
votes
1answer
14 views

How to prevent Magento to generate urls for disabled categories?

Using Magento 1.9.x I have a lot of disabled categories that I'm utilizing in my store to view specific products on Magento frontend. Magento creates Urls for those disabled categories with and ...
1
vote
0answers
38 views

Magento2.22 In sitemap.xml inside more than product url getting like this “catalog/product/view/id/51”

I am using Magento2.2.2 and I used third-party module for URL regenerate this Iazel_RegenProductUrl and I apply command line through change URL for example apply this /usr/local/php71/bin/php-cli ...
3
votes
0answers
51 views

How to set custom rewrite in Magento 2

I am moving Magento 2.2.7 to new version 2.3.2. Theme migration has just finished, but some urls not working. e.g In original site https://www.magento.com/media indicated to pub/media, but in my local,...
1
vote
2answers
27 views

How to remove products url for specific Category URL-REWRITE

I want to remove url of prodcuts for a specific category. How can i remove specific category URL-REWRITE? using Query pro-grammatically
0
votes
0answers
122 views

Magento2.2 sitemap genrate after some product url not showing properly

I have to used Magento2.2 and we are also install in our site this plugin olegkoval/magento2-regenerate-url-rewrites but we are truncate url_rewite table after run this command on our staging site ...
1
vote
2answers
130 views

Magento 2: How to pass custom params with url?

I want to pass custom params( product id and currency) with product page url dynamically. Example url: https://example.com/boys-5-piece-blue-suit-eric.html?id=123&currency=GBP Need help
2
votes
4answers
1k views

Magento 2.2.4 The value specified in the URL Key field would generate a URL that already exists

when I have the category in product assign and saving category below error showing The value specified in the URL Key field would generate a URL that already exists. To resolve this conflict, ...
0
votes
1answer
26 views

UrlRewite one website to another?

Is it possible in magento to redirect existing site one page to another website? Like. http://magento-website/demo to http://magento-website-2/demo Without using htaccess and php header function. ...
0
votes
1answer
34 views

Magento 2 All Links Give 404 Not Found

So I’ve just migrated a magento store over to a new server. Gone through the standard setup procedure of copying the html files, updating the host url in the database and modifying my db details in ...
2
votes
1answer
239 views

Getting Error Unique constraint violation found - When remove suffix .html in magento 2

I Am getting error when I am removing .html from Category URL Suffix. Error is Unique constraint violation found. Anyone have genuine solution for this. Thanks
0
votes
1answer
13 views

How to remove head category but keep subcategory in url magento

Currently my url structure is as following: parameters: example.com/head-category/sub-category/product-name actual url: example.com/gear/balls/superball-0192 I would like to change this to: ...
0
votes
0answers
68 views

url_rewrite duplicates during migration. How it solve?

I started to do migration from magento 1. And i faced with some very weird issue. Namely during Url Rewrite Step. This error looks: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate ...
0
votes
1answer
267 views

The value specified in the URL Key field would generate a URL that already exists

I created category with url key name is "xxxxx". I have changed that category url key to "YYYYY". INow i dont like that url key for that category. Again i changed the url key to "xxxxx". It throws "...
0
votes
0answers
34 views

Magento 2 - Issue while product save in admin

I have migrate products from magento 1 to magento 2, so for product with similar name magento 1 assign some random number in the url key. so this same url i had imported to magento 2. when i open a ...
2
votes
0answers
138 views

“Unique constraint violation found” Error When Assign Product into Category

After Assign Product Into Category Getting Error Unique constraint violation found In exception.log file :- [2019-05-31 17:53:29] main.CRITICAL: Unique constraint violation found {"exception":"[...
4
votes
0answers
117 views

Magento 2.3.1 - URL rewrite rules are not creating for product after update url key

Any one faced below issue in default Magento 2.3.1 and if found any solution then please help us to solve this. We are facing an issue with URL rewrite rules in fresh Magento 2.3.1 version. Issue: ...
0
votes
1answer
21 views

How does routing work for product pages?

The Magento documentation says Magento URLs are built like <store-url>/<store-code>/<front-name>/<controller-name>/<action-name>, but I can't find anything about how ...
1
vote
0answers
41 views

Third level categories Url is not working in magento 2

Shop Colors Rushmore Boston Mill Little Cottonwood This my category structure. But child category URLs are not working. Link: mysite.com/shop/colors/rushmore.html
1
vote
0answers
40 views

Magento 2.3.0 URL keys regenerate on import

This is a serious issue that is occurring on numerous Magento 2.3 builds (I have tried) If we use the import function from a CSV with the "name" header, Magento automatically updates the URL key to ...
2
votes
0answers
41 views

Magento 2: Use Categories Path for Product URLs is not working

I have two products having the same attributes as categories, attribute set, etc. And I have set Use Categories Path for Product URLs as NO but still, one product has the category in URL another don't ...
0
votes
0answers
6 views

Magento 2 Create Url Rewrite from configuration system.xml

How to create url rewrite from system.xml configuration for particular store view when saved. Best!
0
votes
2answers
275 views

Magento 2 - 500 Internal Server Error

sorry for creating another 500 Internal server error thread but I couldn't find any solution for my problem yet. We have a managed server from German provider 1&1 and we have a running magento ...
0
votes
1answer
19 views

Headless Magento 2: Need custom URL instead of domain/products/:SKU

Fairly new to to magento. I am going for a headless approach, where I have created product listing pages with URLs as: www.domain.com/products/:productSKU I want to change this to something like: ...
1
vote
2answers
33 views

SEO URLs in custom module

I have a module built in magento 2.1.16 which store details of contacts in database and fetches them on list page and details view page. The contacts are of 3 types Branches (https://roadmaster.com....
2
votes
2answers
245 views

URL Rewrite Duplicates and Product URL

My headache begins with a common URL Rewrite issue. I am running Magento 2.3 and rely heavily on an extension called Firebear Import / Export to handle my suppliers CSV feed imports. Let's say in ...