Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Denotes questions about URL Rewrites Management.

0
votes
1answer
19 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
25 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
23 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
13 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 ...
0
votes
0answers
20 views

Why does this Magento1's saveRewrite function work?

OK, so looking at Magento 1's Mage_Catalog_Model_Resource_Url class, there's a function called saveRewrite. I understand how the core_url_rewrite table works: we add "request paths" which internally ...
0
votes
0answers
16 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
14 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://...
0
votes
0answers
60 views

The new url key is not working for product page

I am trying to change "URL Key" for the product. When I edit "URL Key" on product edit page, URL key gets changed correctly ... but the "request_path" in database is not updated for that key. I have ...
3
votes
2answers
117 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
26 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
39 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
18 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?
0
votes
0answers
16 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 > ...
1
vote
2answers
24 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
17 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
48 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
6 views

Imported URL Rewrite only works after manual saving

We're migrating this Magento store and we imported several redirects using a dump into the core_url_rewrite table. The dump was successful and we checked the records inside the data base to make sure ...
0
votes
0answers
34 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 ...
0
votes
0answers
20 views

Magento 1.9.0.1 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
0answers
12 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
0
votes
1answer
117 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
0answers
19 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
24 views

Magento multi Language store

Good Morning, 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 ...
0
votes
0answers
16 views

Magento : URL Rewrites Not Working

When I visit other pages, the page automatically jumps to the home page. My magento version is 1.9.3.8 and php version is 7.0.31, and the Inchoo_PHP7 extension is installed. Anyone can help? Thks.
0
votes
1answer
77 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
37 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
34 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
94 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
22 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
12 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
46 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
15 views

N98 magerun url rewrites command issue - Magento 1.9x

I am using the n98-magerun version 1.101.1 for my Magento 1.9x version. When I execute this command php n98-magerun.phar rewrites:analysis:top then it shows [Exception] Table 'my_database....
0
votes
2answers
69 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
0answers
18 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
90 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
0answers
34 views

Using dynamic php page with .htaccess rewrite on Magento

I am trying to setup a php page which queries a mysql db for my blogs using the url like "blog/my-story-blog". I would like to use the .htaccess to do this as I have done before on my other sites but ...
0
votes
1answer
35 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
0answers
101 views

magento category path redirect url not working

I have created category in magento 1.9. but when i hit that url in browser is automatically redirected. url puting -1 in end of url. original url is like www.local.com/kitchen/kichen-sink/parts....
0
votes
0answers
44 views

Change the old url to new url programmatically in magento 1.9

I want to change the old url to new url when old url is going to 404 page. I need programmatically because I have nearly 50k+ products. can anyone help me.
1
vote
2answers
42 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/...
0
votes
1answer
51 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 ...
0
votes
0answers
23 views

Magento 1.9.3.8 Catalog URL Rewrites error

We can not run the Catalog URL Rewrites, we get the following error: Mage_Eav_Model_Entity_Attribute_Exception: SQLSTATE[HY000]: General error: 1033 Incorrect information in file: './magento/...
1
vote
1answer
125 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
21 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
38 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
381 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
200 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
79 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
89 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
41 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:...