Stack Exchange Network

Stack Exchange network consists of 175 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

Questions tagged [url-rewrite]

Denotes questions about URL Rewrites Management.

0
votes
0answers
33 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
63 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
666 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
67 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
159 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
269 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
43 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
14 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
73 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
27 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
361 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
52 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
200 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
54 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
211 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
170 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
103 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
136 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
182 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
33 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
234 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
28 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
79 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
952 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
672 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
311 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
276 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
79 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
327 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
121 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
92 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 ...
0
votes
1answer
424 views

core_url_rewrite is too big [duplicate]

I have an issue with my Magento's database (Magento 1): in few days, doing several times the reindexing process, the table 'core_url_rewrite' weighs about 10 GB and the server stops to work. Then, ...
0
votes
1answer
210 views

How to rewrite a router url?

I search the entire web to found solutions for rewriting an url from a custom action but nothing works. I tried to put into global this : <rewrite> <artist_list_index> ...
0
votes
2answers
42 views

Magento 2 : Where is product url key handled(crud) during product edit?

I'm debugging url rewrites in M2. One can change the product url key in catalog/product/edit in the Search Engine Optimization tab I'm looking at Magento\Catalog\Controller\Adminhtml\Product\Save::...
0
votes
1answer
126 views

URL rewrite redirects to page 404 - sorry page not found

I created a copy of a project and of the database. Everything seems to work fine by far, but some pages are not working and I get to see the "sorry, page not found" site. No product site is working ...
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
1answer
21 views

How can I expose Magento2.2.4 on static ip address with Apache2 and Centos 6?

Actually when I digit my static ip adress remotely ( http://11.11.11.11:80 ) Magento rewrite it in htttp://localhost:80. Is there a configuration to unchange the static ip address like http://11.11.11....
0
votes
1answer
52 views

File not found. After adding 301 redirect - Magento 2

I've added a permanent 301 redirect to my Magento 2 store to remove .html from my category and product urls by adding the following code to my website .conf file - I'm using Apache redirectMatch 301 ...
0
votes
3answers
5k views

Magento 2 : Unique constraint violation found when adding product, categories or mega menu items

I have a Magento 2.2.3 installation and I have the theme SM-Maxshop on that. I am not able to add any products, categories or Megamenu items to it. I get an error "Unique constraint violation found" ...
0
votes
1answer
163 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?...
3
votes
1answer
705 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
332 views

Magento 1 Rewrite Pagination url Parameter

for sure this question has been asked so many times in different ways, but i didn't find anything usefull for my case. We have an installation of Magento 1.9.3.6, the main task is to rewrite the ...
4
votes
1answer
1k views

Magento 2 {{store url=“tipps”}} trailing slash and redirect

If I add a link in WYSIWYG-Editor like {{store url="tipps"}}. Magento 2 makes link to http://www.domain.at/tipps/. But, after clicking on the link http://www.domain.at/tipps/ Magento is redirecting to ...
0
votes
2answers
255 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 ...
0
votes
2answers
208 views

Shop by Brand/Manufacturer custom URL in M1

I am using Magento 1.9.3, and if i want to see on frontend only the products from a specific brand (manufacturer attribute), the url is something like: http://example.com/shop?manufacturer=4 ...
1
vote
1answer
142 views

Is Possible Main Category URL Rewrite Management?

My Category Name : Test URL Rewrite Management In Localhost If i click the category name Test, the URL redirect to http://194.0.0.24/abcd/catalog/category/view/id/30 How can i solve this issue?
1
vote
0answers
255 views

Magento 1.9.3.6 duplicated url rewrites after each reindex

In my Magento 1.9.3.6 installation I have a duplicate url problem. At every reindex, all the url rewrites are regenerated like magento didn't read that they were already created. Regenerating the ...
0
votes
2answers
2k views

Magento2: Remove Category path from product URL is not working

I have a Magento2 store. I don't want to add the category path into products URLs for that I set “Use Categories Path for Product URLs” as "NO" in magento2 Admin, but It still add the category path to ...
1
vote
0answers
20 views

What is the best way to redirect 2500 links after relaunch?

We have rebuilt a shop in Magento 1.9. The old shop was a "modifed shop". Unfortunately, all links within the page structure change. like this: Main Category myshopdomain.com/Category:::121_428....
0
votes
1answer
43 views

Blog post url rewrite [closed]

I'm using BlogMate extension for my magento site. This is my blog url http://mypage.com/blog But if I click on a post, it will access to http://mypage.com/post_slug Is there anyway to change the ...