Questions tagged [url-rewrite]

Denotes questions about URL Rewrites Management.

Filter by
Sorted by
Tagged with
0
votes
1answer
719 views

Redirect rule when removing product from category

I am looking for help on a redirect rule for magento. I have recently removed a lot of discontinued products out of product categories for example: http://www.example.com/gym-wear-brands/golds-gym-...
1
vote
2answers
26 views

Changing category url key is not updating URL Rewrites

I have a category called "Sport Shoes" in magento. The category has lots of subcategories and products on it. It's url key is "sport-shoes". After changing category url key to "shoes-for-sports", no ...
1
vote
0answers
31 views

Inconsistent Product URL

I'm facing an issue in Magento 2.2.0 and Unero Theme 1.3.2 where there are products that have an URL like: https://example.com/catalog/product/view/id/440/s/product-url-key/57/ and the others are: ...
4
votes
2answers
107 views

No index on the url_rewrite table

Is there any reason why there is no index on the entity_id column on the url_rewrite table? Or on entity_id and entity_type? The only index I see is on entity_id and store_id. I understand that that ...
2
votes
3answers
99 views

Magento 2 - Rewrite url from custom module

In magento 1 I can rewrite url in my custom module etc/config.xml like this: <global> <rewrite> <digi_url> <from><![CDATA[/digisearcher\/...
1
vote
1answer
1k views

Magento 1.9.1 - Unable to edit (click) URL Rewrite fields in backend

I'm trying to edit (or redirect) some category menus to other categories. Example, I have two sub-categories called "Compression Wear" (id 60 - /compression-wear.html) AND "Compression Wear" (id 67 - /...
1
vote
1answer
130 views

Magento 2: Issue with Product URL rewrite on Single Store Mode

I'm using Magento 2.3.3 CE. I've enabled the single store mode on a website from Stores > Configurations > General > General > Enable single store mode After enabling the single store mode, the URL ...
0
votes
1answer
21 views

Magento2 category url

I want to change my url to the endpoint of slug on categories. Ex: www.example.com/level1/level2/level3.html should be like this: www.example.com/level3.html
0
votes
0answers
31 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/...
2
votes
1answer
23 views

Homepage 404 page not found after removing .html suffix in Magento 2.3

I have Magento 2.3 installation on Nginx server. I removed .html suffix from configuration by going to System > Config > Catalog -> Catalog -> Search Engine Optimization Now the categories and ...
0
votes
0answers
19 views

Duplicate URLs ending with #!

Does anyone know why a site can contain duplicate URLs ending with hashtags & exclamation mark e.g. https://www.vaibhavjewellers.com/gold-jewellery/kids/maangtikka.html#! https://www....
3
votes
2answers
6k views

Magento2 Product Page 404 Error Caused by URL Rewrite Not Working As it Should

We have a 404 issue on all product pages. Category pages showing fine as they should. Having imported circa 4000 products directly into our Magento2 store database and uploading images directly to the ...
1
vote
2answers
10k views

Magento 2 : Unique constraint violation found when adding product, categories or mega menu items

I have a Magento 2.2.3 installation and I have the theme SM-Maxshop on that. I am not able to add any products, categories or Megamenu items to it. I get an error "Unique constraint violation found" ...
0
votes
0answers
48 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
10 views

Magento 2 Change review List URL

I want to change the url of the review list page from the default URL like https://eample.com/review/product/list/id/3443/ But I want to override that Code to change it to something that more user ...
0
votes
1answer
25 views

Magento 2: URL Rewrite not working through .htaccess

I want to redirect some old URL's to new URL's I'm doing it in my .htaccess path: /root/.htaccess <IfModule mod_rewrite.c> ############################################ ## Enable rewrites ...
2
votes
1answer
961 views

URL Rewrite Rules in Admin

I apologize if this is a duplicate request someplace else, but I could not find an easy way to locate it if it exists, so here we go. I want a simple breakdown how to use the fields in the URL ...
6
votes
2answers
7k views

URL Rewrite: From category to CMS Page

I've created a CMS Page. URL Key = about/page1. I've created some Categories. One of them, category #1, it's called about. URL Key = about and its first subcategory, category #2, is named Page ...
1
vote
1answer
924 views

Magento EE Create Custom Redirect for old URL

I have a question regarding URL redirects on product records in Magento Enterprise Edition 1.14.2.1. I am noticing that URL redirects are not being created when a product's URL key is changed, even ...
1
vote
1answer
39 views

Wrong url redirection for product or category page Magento 2.2.3

I am using magento 2.2.3 for my store.I observed that some of my product page url goes wrong url or 404 ex. if i am try to open this url: https://baseurl/good-tee-hoodie-1-lb then it open like ...
2
votes
3answers
2k views

Cannot remove “.html” from URL in Magento 2

I am trying to remove ".html" from the URL. Attached are my catalog SEO setting in the Magento 2. As you can see I have remove the ".html" from both Category URL Suffix and Product URL Suffix. I'm ...
4
votes
1answer
2k views

Magento 2 {{store url=“tipps”}} trailing slash and redirect

If I add a link in WYSIWYG-Editor like {{store url="tipps"}}. Magento 2 makes link to http://www.domain.at/tipps/. But, after clicking on the link http://www.domain.at/tipps/ Magento is redirecting to ...
2
votes
1answer
197 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":"[...
0
votes
0answers
21 views

Magento 2 how to force redirection to SEO friendly URL

I have enabled SEO friendly URLs in the Magento Shop so a product URL now looks like this: https://mywebsite.tld/name-of-product.html But the old URLs are still existent and look like this: https://...
3
votes
1answer
3k views

Remove parent categories from subcategory in URLs in 1.9.2.3

Magento version is 1.9.2.3. I have tried following solution which doesn't work for me. Step 1: Go to app/code/core/Mage/Catalog/Model/Url.php copy this file to app/code/local/Mage/Catalog/Model/Url....
2
votes
1answer
25 views

Redirect subdomain with nginx

I have some subdomain from the old site like 123.abc.com and I want to redirect them to abc.com/123. I have installed magento 2.3.2 and nginx as webserver.
0
votes
1answer
3k 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 ...
0
votes
3answers
658 views

how can i prevent replacing “&” with “&amp;” in magento url

When i click on add to compare link on product listing page my url is changing from magento.com/personal-care/face.html?dir=asc&order=Normal to magento.com/personal-care/face.html?dir=asc&...
0
votes
2answers
3k views

Multi website and multi store view with custom url in magento 2

I have a magento 2 installed and configured the following: 1) default website with 1 store view called us_en 2) eu website with 1 store view called eu_en When I change base url to store view like ...
1
vote
0answers
12 views

URL Rewrite (1.9) - more then one Request Path

Is it posible to add more then one request path but same target, http://prntscr.com/qbhr6e , i tried with just space, coma... I use 1.9 ver...
1
vote
2answers
41 views

Magento2 .htaccess

I want to redirect another url. https://example.com/store1/lstoreviewcode/ https://example.com/store2/cstoreviewcode/ to replace with https://example.com/store1/storeviewcode/ https://...
0
votes
1answer
2k views

Magento 2 - URLs trailing slash redirection

I configured my Magento 2 store to ends with trailing slash. This work great. But when I browse the same page without trailing slash, it redirects to a 404 error page, and not to the trailing slash ...
1
vote
0answers
34 views

How to Customize Category URL?

Regarding Customize Category Url like : storename.com\category_id+category_name+category_attribute I read before : "If you have a small amount of customization necessary, the URL rewrite ...
1
vote
2answers
656 views

Rewrite ?cat= to seo friendly URL

(Magento) On a category page I can filter products by other categories using the ?cat=... parameter. This works just fine (In combination with Amasty improved navigation). But I would like to make the ...
4
votes
0answers
34 views

How to make product url-key with capital letters

I am trying to make my product url-keys in capital letters. Even if I update it manually it is still showing all in lower case letters. Upon checking the url-key after saving the product again it is ...
0
votes
0answers
13 views

how to open URL in new tab if it's URL rewrite target path is third party URL in Magento 2?

I want to open all links whose URL rewrite contains different URLs. Suppose I have a category which generates link like https://example.com/catalog/category/view/s/music/id/52/ and it's URL ...
1
vote
1answer
41 views

Magento 2: image redirects after migration M1 -> M2

After successfully migrating M1 to M2 there is the question what to do about the old store's images. We have a lot of images in the google index and they are ranking quite nicely. For instance a ...
0
votes
2answers
5k views

URL Rewrite Management problem with rewrites

Scenario Magento 1.9.1.0 We have3 stores for 3 languages For URL SEO language We go to URL Rewrite Management We Locate Request Path with System Type selection. We Modify the request path to ...
4
votes
2answers
1k 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 ...
1
vote
3answers
3k views

URL was already generated for an item with SKU. ERROR

I have problem when trying to import products via CSV i get this error: Url key: '******' was already generated for an item with the SKU:'*******'. You need to specify the unique URL key manually en ...
0
votes
0answers
48 views

Add to cart goes 404 redirect in Magento 2

After clicking on add to cart of any product. It goes to 404 page. But when i cleared cache page its working fine and product added to card and cart page is totally working fine but after some day ...
0
votes
1answer
801 views

How can i rewrite my category url for redirect new site

How can i configure category url rewrite management. When user click category it leads to another site.
0
votes
1answer
835 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 ...
3
votes
1answer
1k views

Get frontend category URL in admin area with correct base URL

I try to load categories in the admin area with store specific values. $this->categoryCollectionFactory->create() ->setStoreId($storeId) ->addAttributeToSelect(['name', 'url_key'])...
0
votes
1answer
59 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 http://XXXXXXX/...
0
votes
0answers
13 views

Product url takes english store view url in magento 2

In my website, Only in one category , products are taking English store view URL instead of taking Swedish store view URL. So its taking products/lockers/product_name instead of sortiments/kladskap/...
0
votes
1answer
44 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 ...
4
votes
1answer
642 views

Case insensitive product urls

Does anyone have a good solution for making magento products' URLs case insensitive? Obviously I've looked into: <IfModule mod_speling.c> CheckCaseOnly on CheckSpelling on </...
0
votes
1answer
41 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.

1 2 3 4 5 15