We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [url-rewrite]

Denotes questions about URL Rewrites Management.

Filter by
Sorted by
Tagged with
2
votes
0answers
41 views

Magento 2 - Unable to access the Category page without index.php

I have Magento 2.3.0 recently upgraded. In which, I removed index.php from the base url, every where its working fine. Even in Category Page, except for one category page. I can only access that ...
0
votes
0answers
115 views

Remove Duplicate admin URL in Magento 2

Hi I have stuck using magento 2 where I want remove duplicate admin in the URL,this my url : https://example.com/admin/admin/system_config/edit/section/web/key/a986525f4db93c0abcda3b1d1cbb3/ and I ...
1
vote
0answers
92 views

Remove Auto-generated URL Rewrites

I've been having this issue with auto-generated URLs. The catalog/* URLs keep auto-generating the red box are the URLs that auto-generate, the green box are the URLs that I want. How do I stop the red ...
0
votes
0answers
113 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
23 views

Sub Category - Load By Attribute (name) URL issue, how to resolve?

Mage::getModel('catalog/category')->loadByAttribute('name', $val)->getUrl(); The above code won't work correctly in my PHP code when I have multiple categories & sub-categories with the same ...
1
vote
0answers
27 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
72 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 ...
1
vote
2answers
346 views

Magento2: Remove home after base url

How to remove /home after baseUrl ? www.baseurl.com/home I want to redirect www.baseurl.com/home to www.baseurl.com (301)
5
votes
1answer
475 views

Product url displaying category-ID and product-ID

Few Product urls are displaying with category and product id but few products are working fine. I want to keep all URL like: http://localhost/magento2/test-product not like below http://localhost/...
0
votes
0answers
77 views

Magento 2 URL Rewrite not taking to correct category

Ever since the Magento 2.2.7 update one particularly category tree has been messing up for me. Take the following category structure (this just lists URLs) category-example-one subcatone sub-sub-...
0
votes
1answer
512 views

how to show product id included in url on product listing page?

I am using magnto2.1.3. i want to show my product id in url on product listing page.below is what i need. how to achieve this?kindly help me please?
0
votes
1answer
35 views

How to add Product id after cart url on cart page in Magento 1.9

I want to add some product id after cart url on cart page the product that is added in the cart. Because i want to target that products by using omnisend extension that target by part of url. To show ...
0
votes
2answers
52 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....
0
votes
0answers
26 views

How can I automatically map product URLs from an existing Zen Cart site to a Magento 2 site during migration?

We have an e-Commerce site built on Zen Cart 1.3.9h that has a substantial amount of traffic, and the URL structure on the new Magento 2 site is not the same as on the old site (entered via Ceon URI ...
0
votes
0answers
16 views

How to redirect http url to new https with 301 redirection in magento 1 from csv file

I am trying to redirect http url (abc) to https url (xyz) with Perminent redirection (301) from csv file in magento 1 Enterprise Edition. I got this link for community edition (core_url_rewrite is ...
0
votes
1answer
233 views

Why we rewrite urls in magento 2?

When I deployed magento project from one server to another server css and js didn't loaded. So I google and got this answer which worked for me. <Directory /var/www/html> Options ...
1
vote
1answer
349 views

SEO URL not properly Multiwebsite magento2

We have created a multiwebsites. But the product url is not formatting correct seo-urls. I have tried to added the URL Rewrite in admin section, but its not working. The product url showing as "www....
1
vote
0answers
211 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
75 views

Rewrite Rules to revert URL structure?

I've got a site which at some point in the past used SEO friendly category pagination for example : category/subcategory/40.html category/subcategory/4.html category/subcategory/15.html category/...
2
votes
0answers
283 views

Disable Product URL without Category Path

My website I only use category URLs, I want to disable/redirect direct product link to link with category i.e example.com/catname/productname example.com/productname [want to disable this] I have ...
1
vote
1answer
484 views

url rewrite with wildcard possible with magento 2.x default set-up?

I want to use wildcards for url redirects in Magento 2.x with basic Magento set-up. Whenever I add it, either via Import upload or manually added they do not work. Does anyone know if adding wildcards ...
1
vote
2answers
256 views

Magento ver. 1.9.3.9 After update catalog url rewrite stuck on processing

I am faced with an issue, whereby after updating magento to 1.9.3.9 from 1.9.3.8 my catalog_url_rewrite index is stuck on processing. Checking process list I cannot see anything untoward. Also, ...
1
vote
2answers
291 views

How to remove url /contact/index in contact page in Magento 2

When we entering contact form in footer from any page it redirect only - /contact/index/ Any options such that we can submit form in footer section not redirect /contact/index After submit form it ...
0
votes
1answer
25 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 ...
1
vote
0answers
424 views

Magento 2.2.5 URL Rewrites - Duplicate entry 'myurl' for key 'URL_REWRITE_REQUEST_PATH_STORE_ID'

I am seeing this error when trying to perform a search/replace on the url_rewrites table: UPDATE url_rewrite SET request_path = REPLACE(request_path, '.html/', '/'); SQL Error (1062): Duplicate ...
0
votes
2answers
173 views

Magento 2 : How to add URL rewrite to static HTML file

I have a static HTML content that is used as a promotional landing page for our website, so it doesn't need to have Magento headers, footers, etc. Just a static landing page. I put the whole landing ...
0
votes
1answer
95 views

How remove module name from url magento 2

Is it possible to remove module name through htaccess or any other way around to hide module name from url of magento 2 .i.e http://abcd.com/modulename/controller Only need to display controller ...
1
vote
1answer
70 views

Magento 1.9 URL rewrite reverts default system URL after re-indexing

I have a problem in Magento 1.9. I have created catalogs and rewrite it to display custom page and product. The rewrites are successful however after re-indexing the default system URL were shown. ...
0
votes
1answer
215 views

No latin URL - Greek characters in link

I have an eshop in Greece and i want to configure its seo settings. Its important for me to have greek characters in urls. Althought, it automatically change them into latin characters. Any idea?...
1
vote
1answer
334 views

Magento 1.9 redirect catalog/product/view/id/123 URL to product-url Key

In Magento 1.9 I was facing this issue on all the product listing pages as the links generated were like (catalog/product/view/id/123), which I have managed to change to product url by setting "Use ...
2
votes
1answer
94 views

What is the meaning of the is_autogenerated field for category url_rewrites?

I am investigating an issue where a category has more than one url rewrites. It looks like this: mysql> select * from url_rewrite where entity_id = 8597 and entity_type = 'category'; +-------------...
4
votes
1answer
482 views

Magento 2 URL rewrite appending .html.html

I've migrated my store from version 1.9 to 2.1.1 using a tool. However all the old products are appending html.html at the end of the URL. I basically truncate the url_rewrite table and saved all the ...
2
votes
1answer
628 views

Magento 2 custom url rewrite ignores query string

I am migrating a store from an old custom commerce system to Magento 2. I am trying to add URL rewrites into Magento 2 using the Marketing -> Url Rewrite tool. The old URLs for the store look like ...
0
votes
1answer
1k views

How to find if target path in custom url rewrite exists in magento 2

how to check if the target path for custom url is present in the url rewrite table in magento 2. I had created custom url rewrite using following code. $urlRewriteModel = $this->...
0
votes
2answers
385 views

how to optimize url_rewrite query in Magento 1.9

I am trying to optimize of website, currently my website is very slow it took almost 13 seconds in first load than it drop to 5 seconds , all images are optimized and css and js are merged. Executed ...
15
votes
3answers
13k views

Magento 2 : get rewrite product url

I am trying to get rewrite product url from the load product in custom module. I am getting url in http://localhost/m2/catalog/product/view/id/1401/category/23/ format . But I want http://localhost/...
0
votes
0answers
47 views

Store switch is not working for custom categories

I have added a categories and called that through CMS block. When I go to that category from homepage it is going fine. After that if I try to change the language,it is not accpeting. say: http://...
3
votes
1answer
42 views

Update redirection URL

I try to insert or update the grid in the BO: Catalog > URL Redirects I use the following code: $storeId = 1; $fromUrl = "my_old_url"; $toUrl = "my_new_url"; $rewrite = Mage::getModel('...
1
vote
0answers
95 views

Magento2 How to generate only configurable products URLs in url_rewrite table?

I have the very large number of products and my url_rewrite table have very large numbers of rows so It was possible to only generate configurable product URLs, not any simple products URLs?
1
vote
1answer
99 views

How to Add URL Rewrite for a Product with system value?

I want to Add URL Rewrite for a Product with system value but when creating new URL Rewrite the option Type has been disabled. Where I can set up or how to enable this option? See my screen below :
4
votes
4answers
4k views

Magento 2 change urlkey and set custom product urlkey

I want to change my Magento 2 product urlkey and set something like example.com/product-name/product-id instead of example.com/product-name.html. Where do I have to change it while saving product ...
1
vote
2answers
29 views

How to Remove Page From Magento 2

This is my website "http://www.vitaminf.ir/gosmart2/women/tops-women/hoodies-and-sweatshirts-women.html" i want to remove "gosmart2" from my url how can i achieve this. my site is "http://www.vitaminf....
1
vote
1answer
84 views

change url rewrite special character 'ñ' from '-' to 'n'

I have a Magento ver. 1.9.2.4 with friendly url rewrite active. It works, but it is replacing special characters as 'ñ' with '-' and I need to replace them with 'n'. Now if the product is, for ...
1
vote
0answers
424 views

ID Path for Specified Store, Request Path for Specified Store already exist

/index.php/admin/urlrewrite/save/key/9ea46b0d697..../ ID Path for Specified Store, Request Path for Specified Store already exist. how can I resolve above error. Magento ver. 1.9.1.0
7
votes
2answers
12k views

Magento url key has strange numbers added by the system Magento 1.7.0.2

I've been pulling my hairs to figure out what's going on with my Magento store (1.7.0.2 version). 80% url-keys are appended with strange numbers in two different forms. Some are like this http://www....
1
vote
2answers
111 views

Why Magento automatically changes product URL?

This has been going on for quite a while but I haven't had any solid proof until now. Please search Google.com for "Princess Ivory Lace Tulle V Back Wedding Flower Girl Dress with Big Bow" and open ...
3
votes
1answer
920 views

Magento2 Product / Category URL not showing SEO Friendly

I am facing issue with product URL. Please open link below http://new1.nufoot.com/catalogsearch/result/?q=GREEN+BAROQUE+BETSY+LOU+NUFOOT So when you click on 1st product - GREEN BAROQUE BETSY LOU ...
0
votes
1answer
1k views

Magento 1.9 product page show 404 error not found

i removed categories URL from product URL now when i access product which is assign to multiple categories generate 404 error but products which assign to only category working fine any help ?
0
votes
2answers
206 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 ...
3
votes
2answers
7k views

Magento 2 Category url rewrite is not working

After migration by using ubertheme, my category url is not working. Its showing all category urls are like below http://domain.com/catalog/category/view/s/trouvez-le-fauteuil-ou-canape-chesterfield-...