Questions tagged [url-rewrite]

Denotes questions about URL Rewrites Management.

Filter by
Sorted by
Tagged with
0
votes
0answers
11 views

How to append a string “/xyz” to the magento2 URL

I'm setting a Magento docker developer environment and it has the base URL as "http://magento2.docker/". Now I have a request to append "/xyz" to url and make it "http://...
0
votes
0answers
26 views

Product URL rewrite in Magento 2.4.1 does not work as expected when adding a product to another store view

When moving a product to another store view in Magento 2.4.1, the new store view product URL doesn't use URL rewrite? example1.com/kilramar/smala/pro-basic becomes example2.com/catalog/product/view/...
1
vote
1answer
20 views

Magento 2 URL Key field would generate a URL that already exists

I'm trying to move my Category Wincomm but I keep getting this message. I have 2 Store Views and I have changed the url using Marketing -> URL Rewrites but the message keeps returning. I've also ...
0
votes
0answers
11 views

Creating URL Rewrites on first descendant

I have a marketplace and I want to provide my merchants a way to get a URL for their stores. For example: xyz.com/mystore My question is how to do it safely. I know I can check the target paths to see ...
1
vote
2answers
22 views

how to get front name and controller name with hyphen in magento 2 url?

I want to get URL like this after domain URL domainname/hellowword/example-index
0
votes
0answers
14 views

How to use an exclusive domain in a specific category page?

I'm using Magento 2.4 and I want to offer to my partners a page with products in a new domain and I think I can do it assigning a domain to some specific categories, instead of creating many stores. ...
0
votes
0answers
25 views

How to change Filter Url in Magento 2

How to change the URL of the Magento 2 store when Filter is applied. When I apply any Filter the URL looks like https://jpm2.mydemoweblink.com/watches/alpina?jpf_gender=6780 where I want to change the ...
0
votes
1answer
92 views

Magento 2 : Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails while saving a duplicate category

I have installed Duplicate categories Extension in the client site(Magento 2.3.2), while duplicating categories I'm facing this error, {"0":"SQLSTATE[23000]: Integrity constraint ...
0
votes
0answers
26 views

Magento 2 - How to check if custom route exists

It's quite straight forward to check if a request url exists in a store scope via url_rewrites. However, I'm wondering if there is a way to check if a custom route exists (as they don't have an entry ...
0
votes
0answers
7 views

simple redirects using Marketing > URL REWRITES not working properly

Sometimes when people click on a search result that has a broken URL like https://www.example.com/catalogsearch/result/ or https://www.example.com/catalogsearch/result/?q= they will get taken to a 404 ...
0
votes
0answers
37 views

Magento2 How to redirect category url to external link?

I have a requirement wherein I need to redirect multiple categories to external site's respective category pages. For the same I have created categories in magento. Whenever we create a category in ...
0
votes
0answers
19 views

Magento2 Micro Website - Adding Value from Variable in Store URL

I want to achieve a Feature on Magento2. I want to add a {URL Key} in Store URL, This URL key can be picked from a separate store info table. I have approx 400 store info and want a separate URL for ...
0
votes
1answer
26 views

Magento 2 - How to regenerate url_rewrite table?

I truncated the whole url_rewrite table from phpMyAdmin. I thought that it will regenerate if I execute php bin/magento indexer:reindex but it doesn't. How can I fix it?
0
votes
0answers
13 views

Automatic URLs generated by magento 2 has missing characters

At magento 1 for example, if my category name is "Armação", the url automatically generated for this category is "armacao". The magento 1 automatically did it for special ...
0
votes
1answer
70 views

Re-direct Category Menu item to different URL

I want to redirect my Menu sub item to a different URL how can I do that? Like Blog Menu Item to Dropbox.com I want the Blog menu to be redirected to : a seperate URL to new website for example: www....
0
votes
1answer
30 views

Multiple URLs getting created for single product

I am an SEO executive and pretty new to Magento. I have got a project in which there are multiple URLs for a single product and all URLs have been indexed on Google. Here is an example of URL ...
0
votes
0answers
11 views

Magento2 URL rewrite issue

We have a Magento2 site, which has Product and Category URL Suffix as / not .html But in our catalog_product_flat_1 table, the url_path still contains .html which doesn't seem to cause any issues, as ...
0
votes
1answer
21 views

Magento Product URL (rewrite)

I created a new product under category domain.com/product/alpha, and when I open domain.com/product/alpha I can see the product, however when I click the product instead of opening the URL as domain....
0
votes
0answers
15 views

Magento2: Could not save product “53430” with position 0 to category 1593

Every time during try update category I get issue: Could not save product "53430" with position 0 to category 1593 When edit product and try save I see: The value specified in the URL Key ...
1
vote
0answers
24 views

404 and non SEO-friendly URLs in HTML docs despite having core_url_rewrite entries

About three months ago, I was migrating a Magento 1.9 app to a new server and truncated the core_url_rewrite table due to an error while indexing. Everything's been fine, though I recently found out ...
0
votes
1answer
27 views

how to convert custom page url like pageurl.html in magento 2?

I have a custom module page url like this: www.example.com/style/index/content/id/19/ I want to convert this url like this: www.example.stylecontent.html with same content. I have tried url rewrite ...
1
vote
0answers
36 views

Magento 2 sitemap url does not work after we add any rewrite rule in root htaccess file

Our sitemap URL works fine at /sitemap/sitemap.xml but as soon as we add any rewrite rule in root .htaccess file then it gives status code 404 page not found. RewriteRule ^abc/(.*)?$ /media/doc/files/...
1
vote
1answer
29 views

How to translate a url automatically in Magento 2 community?

I have got two websites (one in french, the other one in spanish). I have set up two websites and not view stores because selling prices are different. The main website is the french one. I have ...
0
votes
1answer
55 views

Magento 2 Change Url Key on new product save

How can I programmatically change URL-key on product save? I need url-key as a first brand and product name (/brand-productname)
0
votes
0answers
31 views

Redirect .html to none html on URL

I tried to remove .html from my categories from admin panel and it works. now I have example.com/test , but example.com/test.html is 404 now. how can I redirect all .html urls to non html one? should ...
1
vote
0answers
6 views

Magento 1 custom url rewrite gives 404 issue

From the layer navigation, i have a couple of attributes. After i click my url looks like: brand/brandValue.html?productAttribute=productAttribute1 What i want to achieve is to have that url look ...
0
votes
0answers
20 views

302 redirection issue

My website was initially http later I have updated it to https. some of the Urls when hit as http://www.testsite.com/testfile.php?id=3456 it will redirected to the home page of the site with 302. ...
0
votes
0answers
15 views

URL rewrites duplicate problem

I get an error like: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'hracky/elektricke/bburago-range-rover-sport-black-d5848030-evoqu' for key '...
0
votes
0answers
50 views

Magento 2: I need to remove .html from all product page url

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 Product URL Suffix. I have already ...
0
votes
0answers
34 views

Magento 2 - Bug for url rewrite of subcategory

In my site in Magento 2.3.5 p1 the URL Rewrite of the categories and sub-categories does not work well. I have two types of problems: The first problem is on the Generate "category/product" ...
0
votes
0answers
12 views

How can I fix my URL Re-Writes to match M1 store

We have been migrating our Magento 1 store to Magento 2. The URL Re-Writes are not being written the same for Product pages. on our old site the product page looks like this: 6se31900xx878bf0-...
0
votes
0answers
26 views

Query string URL rewrite via .htaccess magento 1.9

I have created a CMS page having url key like brands.php, that cms page contains an phtml file as its content and when the page open its shows the list of all brands, When we click on any of the brand ...
0
votes
0answers
9 views

Domain rewrite for all the product URL which recently migrated from another platform. The main domain should be same

Am running a store in Magento2 which I recently migrated from another platform. So all my existing URL of products changed but keeping the main domain as same. www.domain.com/products/item_name ...
0
votes
1answer
29 views

rewrite query string via htaccess

I want to rewrite some dynamic urls like: https://www.test.com/my-custom-url.html/?o=price&dir=asc&new=1 to https://www.test.com/my-custom-url.html/o/price/dir/asc/new/1 Thanks.
0
votes
1answer
21 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
5 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
38 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
9 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
23 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
49 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
11 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
38 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
18 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 ...
1
vote
1answer
321 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
17 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
22 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
237 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
48 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
168 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
2 3 4 5
16