Questions tagged [url-rewrite]

Denotes questions about URL Rewrites Management.

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

For Magento2 how to apply a redirect rewrite in .htaccess file for all URL's from .html to /

For Magento2 how to apply a rewrite in .htaccess for all URL's from .html to / URL structure. The M1 store has .html as the end, the new M2 store has / as the URL ending for all products and ...
0
votes
0answers
4 views

Copy url rewrites from one magento instance to another

I have 2 magento instances. Version 2.3.2. I want to copy all url rewrute entry from one instance to another. How can i do this ? Which table in database contains these entry. Is there any free ...
0
votes
1answer
20 views

Can I allow specific URL of default Magento2 Frontend and restrict all other Frontend URLs?

Our Magento frontend is in vue storefront, so we have restricted default Magento frontend URLs for our system. But I need one URL of frontend which is http://127.0.0.1/index.php/customer/account/...
0
votes
0answers
12 views

Attribute Rewrite

I've created a category page I want users to go to when they click on an attribute on a certain page. I have created the rewrite but when I click the link in the attribute on the category page, it ...
0
votes
0answers
7 views

On M2, how do you apply a redirect of all URLs for .html to /

On M2, how do you apply a redirect of all URLs for .html to / ? We have migrated from M1 to M2. The M1 store had .html as the end of products and categories. The M2 store just has / at the end of ...
0
votes
0answers
15 views

How to add url query parameter to all the categories url?

Is it possible in Magento2 to update all category pages url? Need to add a query parameter to all category urls in the page while it is being rendered.
0
votes
0answers
18 views

Import/Export URL rewrites Magento 2

I want to import URL rewrites entry from one magento instance to another magento instance. Both are magento 2.3.3 version. Is there any way to do this? what is the table name in the database where ...
0
votes
0answers
9 views

How can I add my custom url to url rewrite in Magento 2?

I have my controller https://local.mysite.com/brand/products/10 where 10 is brand id, which is working fine. How can I create a URL rewrite for the above to https://local.mysite.com/brand/products/...
0
votes
1answer
34 views

Magento 2 Create temporary table for url_rewrite

Is anyone can help me with my issue causing the database usage in 100%. Upon checking the process lists this query mostly run and tons of id inserted CREATE TEMPORARY TABLE `...
0
votes
0answers
17 views

The url-rewrites table has rewrites for categories and products which are not in catalog_category_entity_varchar

I came across a problem between categories and URL rewrites after migrating a project from Magento 1 to Magento 2. At the moment, I have conflicts when I work with products. I started looking for ...
0
votes
0answers
22 views

Bug with url revites, url-key (conflict)

Recently found a problem, when saving the product I get an error about url-rewrites conflict. example find conflicts Using some sql script, I was able to clean up the conflicting url rewrites. But ...
0
votes
0answers
89 views

Magento 2.3.4 Could not save product “id” with position 0 to category (id of category)

I have this strange issue with magento 2.3.4. although I have already this patch Magento official patch which claims that it solve this I keep having this issue with duplicate urls in my database. ...
0
votes
0answers
9 views

Category generating weird issues in url rewrites and adding to a product

im experiencing some issues in a magento intance and after track them i think it all breaks down to a category. (isolated-organ-perfusion-studies/isolated-heart-perfusion-systems) The issues i ...
0
votes
0answers
20 views

Why filter parameter removed when I change store?

Site has three store view default German English when user in German store and filter in category page, URL show like below https://example.com/de/produkte/testde.html?size=25 but when user switch ...
1
vote
2answers
68 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
1answer
40 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
118 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
27 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
36 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
34 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
18 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
30 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
303 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
24 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
91 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
31 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
52 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
48 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
18 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
63 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
104 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
15 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
86 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
46 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
56 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 ...
1
vote
1answer
89 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
24 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
25 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
29 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
40 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
39 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
35 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
50 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 (...

1
2 3 4 5
15