Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [url-key]

The tag has no usage guidance.

54 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4 votes
0 answers
253 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: ...
Vish Vaghela's user avatar
4 votes
0 answers
343 views

Catalog URL Rewrites not working

My product pages show 404 page. There is something wrong with the catalog URL rewrites. Screenshot below. The error message I see is Invalid backend model specified: enterprise_catalog/...
Elvis's user avatar
  • 355
3 votes
0 answers
249 views

Magento 2.3 - Products URL key regenerate on import functionality

I update the products with no url_key header present (only sku,description) using the import functionality The import should only update the fields which are mentioned in the CSV file. The import ...
Muhammad Hasham's user avatar
3 votes
3 answers
304 views

Anyone know of a tested script to regenerate url-keys?

I have a client with a pre-existing Magento site in production mode. When the site was created the client was not informed of the importance of the url keys attribute in that he had to make it SEO-...
George Nicolaou's user avatar
2 votes
0 answers
164 views

Why aren't Magento 2 URL rewrites working as I'd expect?

Since deploying a Magento 2 website we've had trouble with URL rewrites. The default URL used by our products is (example) mysite/catalog/product/view/id/50146/s/my_product/my_category/2/ This is not ...
Sparko's user avatar
  • 121
2 votes
0 answers
22 views

Different Product Pages Displayed when I Change URL Key From admin panel

I am using Magento 2.2.2 and facing an issue and trying to resolve it,While creating a new product or editing already added product when i change URL key of the Product from SEO block i get two ...
Aditya Patil's user avatar
2 votes
0 answers
111 views

URL Key becomes Hyphenated after Products Import?

I have set the URL Key fields in the Dataflow Products Import to a value with no spaces or hyphens. I have also set certain Products to more than one Category, e.g. New and Austria for certain beer ...
Barton's user avatar
  • 107
1 vote
2 answers
137 views

How to replace an existing product's url with a new product

I am duplicating a product, disabling the old one and want to set the url of the new product to replace the old product. $duplicateParent = $this->productCopier->copy($oldproduct); $oldproduct-...
Ben's user avatar
  • 11
1 vote
3 answers
461 views

URL key is already in use by another blog item

Anyone can help me to fix this problem ?
Hirun's user avatar
  • 23
1 vote
1 answer
450 views

Magento 2 form key changes on going from front-end to back-end

I have a button on front-end category pages for editing these pages. On click it redirects to dashboard rather than category edit form in admin side. $objectManager = \Magento\Framework\App\...
aich.khalid's user avatar
1 vote
0 answers
64 views

Magento 1.9 Localized product url keys

In Magento 1.9 we want to use localized product URL keys for different storeviews. The url key is a global variable and can't be changed by storeview. Example: English: www.example.com/en/addidas-...
Simon's user avatar
  • 11
1 vote
1 answer
50 views

Error while importing products through csv in magento 2

I am trying to update my product price through csv. When I run this import, I am getting this error: -> The value specified in the URL Key field would generate a URL that already exists. https://...
Nafsss's user avatar
  • 760
1 vote
1 answer
260 views

Set different static cms block to each different product

I have a created different CMS static blocks. I need to call the respective static block for each product. I thought of getting the URL key and then assign it to the respective Products. How could I ...
Haerriz's user avatar
  • 681
1 vote
0 answers
26 views

Product url_keys nulled after some time

Setup: Magento 2.2.x, OpenSouce (Magento Community Edition) Products were imported from Magento 1, url_path attributes were cleared all url_key values are unique (both products & categories) ...
Jakub Winkler's user avatar
1 vote
1 answer
78 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?
Nickool's user avatar
  • 1,069
1 vote
0 answers
24 views

Store, websites Magento 2 catalog

I'm very confused. I exported all my products and saw I have the same product in default store and "no store", I mean, my catalog have the same products twice. Not sure what it causes and how this ...
Dan's user avatar
  • 13
1 vote
0 answers
276 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 ...
user3623937's user avatar
1 vote
0 answers
28 views

In magento 2 URLkey saving issue using programatically

We are using Magento 2.2.5.we have all store views and default store views are available. Like image http://prntscr.com/nnu4qd some product are don't have the URL Keys in admin side. we tried to save ...
Radha Krishna's user avatar
1 vote
1 answer
413 views

Product Url Key is not generated on edit product

I have the following scenario: I have created a new product. I have left the url-key field blank. If url-key field kept blank, then on product saving, it will set url key value automatically ...
1990rk4's user avatar
  • 593
1 vote
0 answers
520 views

Magento 2 - product's url_key changed automatically

We are using Magento 2.2.5. Currently in Magento store we managing url key by concatenating product's name with the brand's name. So many times in some products url key of product's changed from only ...
Emipro Technologies Pvt. Ltd.'s user avatar
1 vote
0 answers
17 views

Problems creating category Magento 2.1.7

my code to create a category is the following: private function createCategory($name='',$parentId=2,$active=true,$description='',$metaTitle='',$metaKeywords='',$metaDescription='') { if(!isset($...
Alejandro Torres's user avatar
1 vote
1 answer
668 views

Issue with URL Path of child category after change URL key of Parent category

I have an issue with URL path of child categories. I have changed URL key of the category , but still child category URL path with old URL key of the parent category. On the category page, i am ...
Magecode's user avatar
  • 1,514
1 vote
1 answer
479 views

Magento 2.x : How to check if use_default is checked for URL key

Summary: How can I get value of "Use Default" checkboxes like use_default[url_key]. Scenario : I have a website with multiple store views. the URL key is set in Default ...
Abid Malik's user avatar
1 vote
1 answer
1k views

Problem with the URL when changing store while in Subcategory

First off, Lets clarify : -Using Magento ver. 2.1.1 -Got a Porto theme -Only one extension other then the one for the theme: M2E -Installation on Google cloud We just got into Magento, fiddle with it ...
Julien St-G's user avatar
0 votes
0 answers
24 views

Create Permanent Redirect for old URL not working - Magento 2

I have update product URL-key but still, the old URL is working. New URL is not working. Solution applied: ACSD-45168 patch applied. It generates the rewrites, but with the old url, not the new url-...
Jasvir Singh's user avatar
0 votes
0 answers
25 views

How to show custom Item detail page on require URL?

I created a module for custom items similar to products and showing on frontend as a listing and detail page. I want to show the listing page on this URL: storeurl.com/custom which is loading fine but ...
Sagar Parikh's user avatar
0 votes
2 answers
43 views

Magento2: How to export product SKUs along with their respective image URLs

I use magento on a basic level for my work. I was wondering if there is a way to export all the data onto a spreadsheet, including data from all the products on the site, especially the product codes, ...
Marketing5555's user avatar
0 votes
0 answers
30 views

Has Magento ever changed the way they test for URL Key conflicts?

I have a client whose site often contains a category (and sometimes additional sub-categories) and a product with the same name and URL key, which I am aware is unusual. They recently complained that ...
RichardB's user avatar
  • 325
0 votes
0 answers
25 views

How can i change product url key in other language?

How can i change the url key of a product in an other language? For example: For our Dutch website i have a product url and we push our product also to another storeview for Germany. How i can change ...
Gerrit van der Garde's user avatar
0 votes
0 answers
29 views

Magento2 URL Key not getting updated for 1 store

Magento2 I am facing a strange issue were URL Key is not getting updated in 1 store (Arabic) when I update the product URL from All Store Views. As soon as I change the URL key from All store views &...
Arjun's user avatar
  • 3,586
0 votes
1 answer
84 views

Is this any way to set different category of configure product and it's child product?

Is this any way to set different category of configure product and it's child product? I want to display child product on listing page and its parent visibility is not visible, but i what that anyone ...
aasiya shaikh's user avatar
0 votes
1 answer
571 views

How can I build the URL from JS file with key - url.builder not working -

I have added a Ajax function to get data, but I need to add secure key to my link. define([ 'jquery', 'underscore', 'uiRegistry', 'Magento_Ui/js/form/element/select', 'Magento_Ui/...
Iyo's user avatar
  • 21
0 votes
1 answer
2k views

Magento 2: Change the "URL Key" and save the category "The value specified in the URL Key field would generate a URL that already exists."

When change the "URL Key" and save the category then throw the below error. This store Migrate Magento 1.9 to Magento 2.3.5-p1 and used multi store view. Error: The value specified in the ...
Kirti Nariya's user avatar
  • 3,041
0 votes
1 answer
341 views

Magento 2 add custom external url to product

I'm doing an e-commerce site that instead of having products it will have overview of properties, but this properties are stored in an external website. I need to add an external url to the products, ...
Oscar Vaz's user avatar
0 votes
1 answer
68 views

Magento2 - After upgrade 2.2.4 to 2.3.4 facing issue with url key

In Magento2.3.4, I upgrade magento2.2.4 to 2.3.4 facing issue with category url key showing blank in category edit page in admin. Please check screenshot
Anas Mansuri's user avatar
  • 2,627
0 votes
0 answers
151 views

Magento2: How can set duplicate product URL?

I want to create each product with duplicate url like example.com/custom. I have tried below things. I am creating each product with url of custom-productId then it is coming like example.com/...
Ravi Varma's user avatar
0 votes
1 answer
2k views

Error "URL key for specified store already exists" when enable "Anchor" in category in Magento 2.3.2

Categories in two different parent with same url-key. First category in the list is saving fine when we update anything in that. But when I am enabling Anchor => Yes In the second category with ...
Vinod Kumar Clix's user avatar
0 votes
1 answer
68 views

all product page showing 404 and i could not access admin pages magento 2

I have copied my Magento 2 backup to my new server now I am getting all product page showing 404 and I could not access admin pages magento 2 exception.log main.CRITICAL: Unique constraint ...
prabhakaran7's user avatar
  • 1,087
0 votes
2 answers
414 views

Magento 2 url key includes SKU number, how to remove?

The big problem with Magento somehow amending the url key to include the SKU where /product-title-stec00778.html should be /product-title.html and the SKU is SKU STEC00778 Any ideas? Not ...
Mager Nube's user avatar
0 votes
0 answers
71 views

Magento2 url issue

My magento2 website in following url to be show catalog/product/view/id/9583 but i need like powder-9583.html so what step we required to achieve this. and also search engine is on on ...
MehulKanjariya's user avatar
0 votes
1 answer
787 views

Contact Page URL Change: Magento 2

I have tried to changed the default URL of contact page in magento2 to my custom URL but it is not working at all. I have tried as follows: Put the following code in my custom module.xml <config ...
Xabby's user avatar
  • 529
0 votes
0 answers
614 views

Importing products in CSV - URL Key already in use

this seems to be a common problem and a flaw in vthe magento 2 CSV system, i want to export my catalogue update the pricing across all products and then re-upload it - however it requires a URL key ...
user73390's user avatar
0 votes
1 answer
2k views

Magento 2 - On category save 'URL key for specified store already exists' error occurred

After migration process, I can not save category page. I try all solution but not getting the success it gives an error like below image. http://prntscr.com/irfiml
Jigs Parmar's user avatar
  • 2,438
0 votes
1 answer
280 views

Magento 1.9 add a fixed product prefix

First of all, did quite some research, but could not find the best solution in this case. For SEO reasons, we need to add a fixed prefix (with a slash) to all product URLs. Product URLs now look ...
Domas's user avatar
  • 115
0 votes
1 answer
615 views

Create link to internal page from its url key

How should I create the link to internal page in a template file ? For instance, I have a subcategory which URL key is education, how should it be called in my phtml file to get the page http://my....
DevonDahon's user avatar
0 votes
1 answer
783 views

Renameing categories didn't change URL Key and old names of categories still the same in product-catalog page

I renamed the categories name in admin panel. It is successfully changed after fixing a bug related to URL rewrites, then I faced another problem that URL Keys of each category map to the old ...
user2175784's user avatar
0 votes
3 answers
1k views

Getting "url key for specified store already exists" error in magento2

I have installed magento2.1 and it was working properly with multi-store. When I have disabled some categories from a "sub" store, and try to add any product (already assigned to "sub" store) to that ...
Vinaya Maheshwari's user avatar
0 votes
1 answer
56 views

Product Import > URLs missing ".htm" extension even after re-indexing.

I am uploading a large number products. The upload runs perfectly but Magento is not adding the file extension to the url_key. So none of the products uploaded have the “.htm” file extension. Even ...
MicNet's user avatar
  • 51
0 votes
0 answers
264 views

We change the root category to sub category url key is already exists error

We change the root category to sub category in Magento 2 Error is : url key is already exists.
SNS's user avatar
  • 905
0 votes
1 answer
97 views

Magento2 import update adds new item id into cataloginventory_stock_item

I'm trying to update product urls, but the import functionality in Magento 2 adds new item id into cataloginventory_stock_item table for each updated sku and I have to manually delete each duplicate ...
Webninja's user avatar
  • 1,593