Questions tagged [url-rewrite]

Denotes questions about URL Rewrites Management.

Filter by
Sorted by
Tagged with
0
votes
2answers
117 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
86 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
54 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. ...
1
vote
1answer
185 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
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 ...
0
votes
1answer
176 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
293 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 ...
1
vote
1answer
75 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
429 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 ...
0
votes
0answers
250 views

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

Hi i am using magento 2 we moved the site from one domain to another domain.and also i changed folder location one ip address to another ip address. after moving, admin panel working fine. but in ...
1
vote
1answer
455 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
837 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
63 views

Magento2 Create 302 redirect for disabled products

I have a magento 2 site version 2.2.4 . When I enter URL of disabled products it throws an error and for SEO purpose I need to create a 302 redirect to category page. Currently I use ...
3
votes
2answers
2k views

URL Key not changing in Magento 2

I am using Magento 2.2.4, I am having too many Disabled/OutofStock products which are useless. Now the problem I am simply replacing all Disabled/OutofStock products with New Products. I can ...
0
votes
2answers
305 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 ...
14
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
62 views

How to generate xml sitemap with new request_path after URL re-write?

I have just updated request_path for the product from www.xyz.com/my_product to www.xyz.com/my_product_new through url rewrite. The request_path is inserted in the database correctly and working ...
0
votes
0answers
43 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
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
83 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
90 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 :
0
votes
0answers
113 views

Magento 2, Category Old URL to redirect to New URL

Running Magento 2.1.10 CE, with multiple stores. Having an issue understanding or redirecting the old category URLs to a new one. Previously we had a category "Pillows", it was basically ALL > ...
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
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
44 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 ...
0
votes
0answers
214 views

Find product/category id by url

I am using Magento 1.9. I will get a url from the request. I have to find product/category id from the url. I have tried these :- Magento - Load product by url Magento 1 get product or category id ...
1
vote
0answers
324 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
76 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
794 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
0answers
36 views

rewrite URL in module config

I want to replace some of Magento's default Cart Controllers (which then simply inherit from them). In Magento 1.x I was then able to rewrite any URLs generated by Magento to my custom Controllers, by ...
0
votes
1answer
841 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
189 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
6k 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-...
3
votes
3answers
83 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
0answers
52 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
15 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 ...
0
votes
2answers
442 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
2answers
430 views

Override Magento Catalog Widget Link

I would like to override Mage_Catalog_Block_Widget_Link I've created new module, added some code to config.xml but it doesn't work. There is my code: config.xml <config> <modules> <...
0
votes
1answer
226 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 ...
0
votes
3answers
578 views

how can i prevent replacing “&” with “&amp;” in magento url

When i click on add to compare link on product listing page my url is changing from magento.com/personal-care/face.html?dir=asc&order=Normal to magento.com/personal-care/face.html?dir=asc&...
1
vote
2answers
147 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
1answer
264 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 ...
3
votes
2answers
258 views

How to create wild card sub domain in Magento 1.9.x

I am coming with question of how to create a wildcard subdomain in Magento 1.9.x without using store view. I know creating more store view will cause the issues in price indexing, flat tables, etc., ...
1
vote
1answer
2k views

htaccess file on Magento director not working

I need to remove index.php from Magento website url. I have checked https://stackoverflow.com/questions/10474740/how-to-remove-index-php-from-urls. I have followed the same instruction and ...
1
vote
1answer
53 views

How to remove .php from url using htacces [duplicate]

I want to remove index.php from my url, please give me solution over this.
4
votes
1answer
1k views

Magento 1.9.1. CE : Disabling core_url_rewrite

I'm looking for an effective solution to disable completely core_url_rewrite table. I've disabled the Url Rewriting on the backend, but each time i add or update a product, an url_key is written to ...
0
votes
2answers
30 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
93 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
1answer
309 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 ...