Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [product-urls]

The tag has no usage guidance.

2
votes
0answers
45 views

How to add a custom attribute value to product url in Magento 2

I am using Magento ver. 2.2.3 . I need to add a custom attribute's (brand) value to the product url, like : http://domain.com/smeg/smeg-cooker-90cm-with-gas-hob-cream.html For that i have overridden ...
0
votes
1answer
20 views

Rewrite product page URLs based on that product assigned attribute URLs in Magento 2.3

I want to achieve product URLs based on product attribute for product page only. I have product attribute manufacturer, having drop downs such as lg, samsung, motorola etc. My store category ...
0
votes
2answers
43 views

redirect to the product url from observer or controller magento 2

i want to redirect from observer to the default magento product url from observer. public function __construct( \Magento\Framework\App\ResponseFactory $responseFactory ) { ...
0
votes
2answers
53 views

Load Custom Template file with argument as product id or sku in magento2

I have created a custom module and calling that template file from the CMS page as like below. {{block class="Vendor\Module\Block\Custom" template="Vendor_Module::custom.phtml"}} In templates/...
0
votes
0answers
21 views

Magento 2 keeps adding category path to product url in multistore

I have a little problem in Magento 2 Multistores... My URL rwewrites keeps adding category paths to products urls even when config settings "Use category path for product URLS" is set to "no".. I ...
0
votes
0answers
17 views

Products just redirect to search results page

All of my products are now redirecting to catalog search. i.e. /bonfire-firma-3-in-1-stretch-mens-snowboard-jacket-2019.html goes to /catalogsearch/result/?q=bonfire-firma-3-in-1-stretch-mens-...
0
votes
0answers
10 views

how can I change the category and url structure?

How can I change the magento 2 url structure ? For categories I would like: Bike Bike/Shoes Bike/Shoes/Mens etc.... for products I would like the product name i.e /etnies-cyprus-scw-x-32-shoes-...
1
vote
0answers
14 views

Magento1.9 URL Issue for Duplicate Name Products

I am facing an issue where On my store more than 2 products have the same name things are going fine on a low range of products, As Magento will update URL on saving in the catalog_url_rewrite table ...
0
votes
0answers
22 views

How to get Product Rewrite url in magento 2 by Query

I need Rewrites URL in Magento 2 by query. I tried below code. <?php namespace Dev\Core\Helper; use Magento\Framework\App\Helper\Context; use Magento\Framework\App\ResourceConnection; class Cart ...
0
votes
1answer
47 views

how to get ProductUrl at backend , in magento2?

I wan to get productUrl at backend side. I am trying it by productrepository. I am getting right url at custom controller. But when I'm trying it in import module's start controller I'm getting ...
0
votes
2answers
26 views

Two Url's for one product

i have one product with two different url's https://dutchmanaxles.com/products/axle-housing-rearend-hardware/rcv-934-cv-joint-lightened.html and https://dutchmanaxles.com/rcv-934-cv-joint-lightened....
1
vote
0answers
56 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 ...
0
votes
1answer
21 views

Magento 1.9: How to delete a wrong URL pointing to a product review on a different website (same server)?

I am running two independent websites on a Magento 1.9.3.9 installation. Today I discovered when searching for a product which is sold in one Magento website, that the Google search result returns a ...
0
votes
0answers
43 views

Products getUrlInStore() always uses base url

Maybe i got it wrong, but imho getUrlInStore() should return the store URL with configured base URL. I want to link from admin product edit page to frontend product page ... Example: Test product: ...
0
votes
1answer
16 views

Core URL re-write table - delete URL entries for deleted products

We are on Magento Version 1.9.3.7 and have been using Magento for a few years now. When we moved our site to the live site from the development site, we deleted all the development products but looks ...
0
votes
1answer
23 views

Show message for disable product : M2

Is there any way to show any message for disable product at product details page? When i search product name in google, it gives product URL in search result. When product is disable at that time it ...
0
votes
1answer
78 views

How to use unicode characters in Products url in magneto2

I need to use the arabic letters in the magento2 product url.. I had researched more.. still i had no answer. I am using magento 2.2.6 version Anyone know please help me to this requirement. Thanks ...
0
votes
0answers
75 views

Issue with Magento 2 generated sitemap.xml

I'm using Magento's built in sitemap generation tool and have it set to generated nightly. The issue I'm facing with it is that the urls in the sitemap do not match the ones found on the site. To ...
0
votes
1answer
38 views

Get the complete path product url

I'm using Magento EE 2.2.5 I need to get the product url of a product with its category path. Presently, I'm using the code $product_url = $product->getUrlInStore(); And also tried with $...
0
votes
1answer
48 views

How to add Add frontend product url column to admin product grid in magento2

I'm trying to add a column on the product grid with the product frontend url.. I had added the grid by the below codes, etc/adminhtml/di.xml <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-...
1
vote
1answer
140 views

Export Product Sku and Product_Url in magento2

Can we export product with sku and url into csv in magento2? Is there any query to get it quickly? I am looking for query to get all sku and its url key or full product_url. Please anyone help me. ...
0
votes
0answers
24 views

How to make Single Product URL

Magento Version: EE 2.2.5 In my store product detail page is accessible using three urls: 1) https://www.domain-name.com/L1category/L2category/test-product 2) https://www.domain-name.com/test-...
0
votes
0answers
34 views

How to generate xml sitemap with new request_path after URL re-write?

I have just updated request_path for the product from www.xyz.com/my_product to www.xyz.com/my_product_new through url rewrite. The request_path is inserted in the database correctly and working ...
3
votes
2answers
360 views

Magento 2| Url regeneration for catalog

I have tried to regenerate urls for categories and products after migration from Magento 1.9.x to Magento 2.2.x through following modules: Url Regenerator 1 Url Regenerator 2 These 2 generates the ...
0
votes
1answer
183 views

product url not updating magento 2

I have update product URL-key but still, the old URL is working. New URL is not working. I have run indexer command, cache flush. Also, regenerate product URL from an extension. But still, the old ...
0
votes
0answers
123 views

Find product/category id by url

I am using Magento 1.9. I will get a url from the request. I have to find product/category id from the url. I have tried these :- Magento - Load product by url Magento 1 get product or category id ...
0
votes
1answer
29 views

When you duplicate a simple product what do you do with the url

When you duplicate a simple product, what do you do with the url?
0
votes
2answers
81 views

Unable to change product URL key?

Our catalog staff accidentally changed URL key so we have to revert it back to original. We have changed and updated the product URL key to its original value: And flushed both Index and Cache ...
0
votes
0answers
25 views

How can we Remove pagination indexing in url of magento storefront?

When we move to next page, a pagination index gets appended at the end of url..how can we get rid of it?
1
vote
1answer
45 views

Getting Wrong Product URL on Product Listing Page

If a product has assigned in multiple categories.on product listing page, product URL remains the same for each category. e.g- Suppose a product "A" has assigned in category "B","C" & D where B,C,...
0
votes
1answer
31 views

Magento 1 : Few product urls are getting 403 error

Most of the product urls are working fine. But Few product urls are getting 403 error.
0
votes
2answers
406 views

Magento 2 get Product Url in Foreach

In Magento 2, I trying to get the Product URL using this code $_product->getProductUrl (). But it is having only the first product's url to all the products. How to fix it. Used the Following Code:...
0
votes
1answer
60 views

How to regenerate products URLs with diacritics properly

I need regenerate urls for all products (about 3000). Befere my regeneration urls are like https://my-shop.example.com/product/view/id/xxx/s/name-of-product. I need my products urls will be like https:...
3
votes
2answers
2k views

URL Key not changing in Magento 2

I am using Magento 2.2.4, I am having too many Disabled/OutofStock products which are useless. Now the problem I am simply replacing all Disabled/OutofStock products with New Products. I can ...
0
votes
0answers
54 views

Duplicate url key should be empty and checkbox should be unchecked

If we are creating a duplicate simple product in Magento 1. 9 then how can I URL key should be empty and related checkbox should be unchecked using a custom module. So How can I override these ...
1
vote
0answers
56 views

Incorrect Backend Url from getUrl() method

I am trying to write link to Payment Transaction to Oder's comment. But it seems UrlBuilder generates incorrect security key for the link. Link from transaction page: backend/sales/transactions/...
0
votes
0answers
63 views

Some products have catalog/product/view/id/2221/name-of-the-product from product URL magento 2.1.8?

In the Site, product URL is like this: http://www.test.com/product-url-key But when I searching the product then some product URLs are showing like this: http://www.test.com/catalog/product/view/id/...
0
votes
1answer
93 views

Search product URL as catalog/view/id/213 Magento 2

I have disabled Use Categories Path for Product URLs, so the product URL Example: www.example.com/product-url Which is fine. But I have added some products which have visibility as search only. ...
1
vote
4answers
117 views

How can i remove index.php from Categories URL & Products URL? [duplicate]

In my base url not have index.php, but my all categories and products url consists index.php. How can i remove this. Note : Base url have not index.php
0
votes
0answers
20 views

Where is created product url in magento 1.9

I know that if a url key isn't added when a product is created, the url is automatically created using product name, so the name Mobile Phone With Touchscreen and Music will create the url: ...
0
votes
2answers
1k views

Magento2: Remove Category path from product URL is not working

I have a Magento2 store. I don't want to add the category path into products URLs for that I set “Use Categories Path for Product URLs” as "NO" in magento2 Admin, but It still add the category path to ...
1
vote
0answers
31 views

SQL Query - is this Query safe to run for my Magento 2 store

I want to change all my downloadable product from link_file to url_file, so I created a query for that. Can I get advice if this query is safe for me to run. UPDATE downloadable_link SET link_url = ...
0
votes
0answers
30 views

After redirection body part is not displaying

From the website, URL redirection is working fine. But when we open in incognito window URL is redirected but body part is not displayed URL https://boheco.org/products/handlooms/lavender-diamond-60-...
1
vote
0answers
13 views

MULTIDOMAIN - Even if I change the URL on a product, the old version is being used

I am running a multidomain store, Magento 2.2.1 CE. The default value is in Danish. I created an Italian domain, where I need Italian URLs. In the backend, I go to a product, I select Italy as store ...
1
vote
1answer
2k views

Magento 2 : Product URL rewrite issue

I have a Magento 2.1.10 store. I have imported all the products and categories. Now the product url is http://www.exaple.com/samplecategory/sampleproduct.html But I want the URL as http://www....
0
votes
1answer
143 views

Magento 2.2.2 multillanguage url rewrite

using Magento 2.2.2, I have a store with two views English and French, I want to make urls looks like domain.com/en/product1 domain.com/fr/category1 ... thanks
0
votes
1answer
93 views

Magento 1.9.2.1 Product Upload Via .csv file does not generate url rewrites

I uploaded products via .csv file but the URLs does not get created/generated. I wonder if anyone can tell whether this is the expected behavior or there is a bug? Updated Question I have uploaded a ...
0
votes
1answer
335 views

How to export product url in Magento2

I have exported my products from the admin panel of the magento, but there is no product url. Is it possible to export every product url??
4
votes
1answer
296 views

Modify dynamically created product url in magento 2

I have enabled "Use Categories Path for Product URLs". Because of this, I get category path in product url. But when we search the product, it redirect to the product url that does not contain ...
0
votes
2answers
117 views

Magento v1.9.x ultimate module creator entity URL rewrite / key problem

Hi all ( especially Marius :) ) I have an annoying problem with my Mag 1.9.x modules created using the, otherwise great, ultimate module creator. When an item/entity is given a friendly URL and ...