Questions tagged [url-rewrite]

Denotes questions about URL Rewrites Management.

Filter by
Sorted by
Tagged with
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: ...
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\/...
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
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 ...
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
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://...
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
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.
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://...
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 ...
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 ...
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
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
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
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
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.
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 ...
0
votes
1answer
65 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
20 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 ...
2
votes
0answers
29 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
22 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
23 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
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....
0
votes
0answers
34 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
24 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
35 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
20 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
45 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
19 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
23 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
20 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
99 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
38 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
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
31 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
21 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
38 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
30 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
16 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
43 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
52 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
33 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

1 2 3 4 5 15