Questions tagged [url-rewrite]

Denotes questions about URL Rewrites Management.

Filter by
Sorted by
Tagged with
0
votes
1answer
74 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/...
1
vote
2answers
277 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
24 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
369 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
0answers
61 views

Breadcrumb generating non seo url

Magento 2.2.5 All breadcrumbs are generating correctly except for one category. In the breadcrumb url the top category shows https://www.example.com/catalog/category/view/s/category-name/id/3/ ...
0
votes
2answers
152 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
60 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
0answers
19 views

Get current category or current product and then get its url in the other store store view

Let's say we have two store views: en and de. And following example urls example.com/en/car/van example.com/de/auto/lieferwagen When we are at a category or product page how do we get the url of the ...
1
vote
1answer
248 views

Magento 2: custom UrlRewrite Controller Router not works with some handlers

I'm creating a module to use custom url rewrites. For this I have created a module and I am using a custom UrlRewrite Controller Router. For testing purpose, I generated the Router below. It works ...
0
votes
1answer
49 views

Weird Category Urls

I'm having an issue with the way that my URLs are being generated in our Magento 2 store. We are using the Oleg Koval Regenerate Url Rewrites extension and have it running every night to ensure the ...
2
votes
1answer
85 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'; +-------------...
0
votes
0answers
339 views

magento2: Moved magento to new domain ,all urls redirected to old url

I'm using Magento 2 We have moved the site from one domain to another and also changed the folder location one IP address to another IP address. After the change the admin panel is working fine but ...
1
vote
1answer
556 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
968 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
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://...
4
votes
2answers
929 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 ...
0
votes
1answer
724 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
41 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
90 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
2answers
28 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
62 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
1answer
96 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 :
1
vote
0answers
388 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
1
vote
1answer
1k views

New url key is not working for product after update in magento 2

I have product XYZ and URL key for this product is www.mysite.com/xyz I have updated the value of URL key product from xyz to xyz-new. When I try to access url www.mysite.com/xyz-new. It gives me ...
0
votes
1answer
78 views

Magento multi Language store

One client asked to internationalize a magento 2.2.3 store adding other two languages (English and Spanish). The current website is on production since April with only the default language and store ...
0
votes
1answer
961 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 ?
1
vote
2answers
99 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 ...
0
votes
2answers
200 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 ...
1
vote
1answer
304 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 ...
0
votes
0answers
59 views

How to turn off URL rewrites for products not visible individually in Magento 2?

I have configurable products which in visible on the website. All it's associated simple/virtual products are not visible individually on the site. How I can turn off url_rewrites of these simple/...
1
vote
0answers
17 views

magento 1.9 have issue with URL Rewrite Management and backlink from the same domain

I have a jewellery store site "finestgold.ca/store", there are approx 800 products, but in the URL Rewrite section it is showing "41701 records found" do I need to worry about site SEO ? if that much ...
3
votes
3answers
86 views

Magento not using URL rewrites in product display or for incoming links

All the links on my Magento 1.14.2 site are showing up as (literally): ".../catalog/product/view/id/1234/s/my-really-cool-product" instead of ".../my-really-cool-product" Reindexing seems to build ...
0
votes
2answers
482 views

Delete Magento 1.9 Core URL Rewrites

I need to delete/truncate the Magento 1.9 core URL rewrites which are older than 3 months of core_url_rewrite table in Database. What's the exact SQL query to achieve this?
0
votes
1answer
56 views

Magento 2.2: Base URL removed when attempting to access admin login

Was having problems yesterday with my server, which the community seemed to think were irreparable, so I decided to rebuild it. Set up a LAMP stack with Redis and re-installed magento. Used my ...
1
vote
2answers
232 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, ...
0
votes
1answer
241 views

Not able to reindex “Catalog URL Rewrites”, all other index are indexed fine in magento 1.9.3.8

I have upgraded Magento 1.9.1.1 to Magento 1.9.3.8. After this I am not able to reindex "Catalog URL Rewrites" index while all other index are working fine (I am able to index them). I am getting ...
1
vote
2answers
159 views

Magento 2 : admin URI gets duplicated

Today I finally was able to migrate magento. Now, I wanted to check out the admin dashboard and for some readon, URI is being duplicated: https://server.com/storename/admin/admin/index/index/key/...
1
vote
2answers
257 views

How to prevent autogenerated category and product rewrite urls

When I'm importing products or creating categories Magento always automatically generates rewrite urls. These rewrites are listed at Admin Backend -> Marketing -> URL Rewrites. The category url I ...
1
vote
1answer
286 views

Rewrite url of manufacturer attribute

I want to prettify every manufacturer url from default structure: mysite.com/store.html?manufacturer=107 To: mysite.com/nameofmanufacturer.html I'm trying to do this by "Catalog" > "URL ...
0
votes
2answers
33 views

How to create a direct link from list page to detail page in custom module in magento 1?

I'm a newbie in magento and this is the first time I create a module. I have a brand module with 2 pages: list brand and brand's detail. In the list page, I want to click in a brand and then it will ...
0
votes
1answer
103 views

Remove index.php from magento url in sitemap.xml

We have removed the annoying index.php from all of our urls in magento 1.9.3.8 and the frontend is working beautifully (server rewrites and htaccess properly set up etc.). However, our sitemap.xml is ...
0
votes
4answers
1k views

How to remove trailing slash from Magento 2 url

I have installed ssl in my Magento 2 store and configured base url to the https version. But when accessing http version, Magento redirecting url with appending trailing slash. For example: My ...
1
vote
2answers
862 views

How to rewrite Magento 2 default contact page url

How can I change Magento 2 contacts page URL from /contacts to contact-us.html?
1
vote
1answer
358 views

how to override url_rewrite module rewrite method in magento2?

In magento one Mage_Core_Model_Url_Rewrite->rewrite method where I will find same method in magento2?
0
votes
1answer
339 views

Do simple products need an individual url_key set?

As we had controversial opinions about this on our project, I'd like to ask the question here for another opinion (or two): For Magento2, should we set url keys for simple products? Which of the ...
0
votes
1answer
102 views

How to regenerate products URLs with diacritics properly

I need regenerate urls for all products (about 3000). Befere my regeneration urls are like https://my-shop.example.com/product/view/id/xxx/s/name-of-product. I need my products urls will be like https:...
0
votes
1answer
412 views

How to get rid of this URLs for product page?

Currently, I am working on site, where I am facing following issue related URLs. when I open a product page, In the browser, following URL gets displayed: https://zitomer-upgrade.aastaging.us/...
1
vote
0answers
146 views

sort options Url parameters '?' change to '&' so 404 error

in my category page, sort options url (Position, Name or Price) are https://www.mywebsite.com/category/subcategory?dir=asc&is_ajax=1&order=position&type=195 https://www.mywebsite.com/...
1
vote
1answer
107 views

Multi view store (CA and USA) sitemaps on different domains

We have 2 domains: www.website.com and www.website.ca Both websites are using the same root folder on the same Magento instance. What is the best way to create sitemaps for each site that use the ...