Questions tagged [url-rewrite]

Denotes questions about URL Rewrites Management.

Filter by
Sorted by
Tagged with
0
votes
1answer
509 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
278 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
48 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
128 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
3k 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
22 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
81 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 ...
1
vote
3answers
8k 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
205 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
864 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
390 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
346 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
254 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
155 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
283 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
45 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 ...
2
votes
1answer
1k views

Magento 2: “Use Categories Path for Product URLs” configuration does not working correctly

I have a store with few categories. I want to have only one url for each product - domain.com/product_name.html. I don't want to have products URLs with the category path in them. I set “Use ...
1
vote
1answer
54 views

Url rewrites not working after upgrading Magento version

So I updated my site to 1.6 version of Magento and then I backtracked back to 1.5. My site has a bunch of Url rewrites but now they seem not to be working and will take me to an a cannot be found page....
0
votes
1answer
916 views

Magento 2 - URLs trailing slash redirection programmatically

I want to redirect automatically any url that comes as example.com/ to example.com or example.com/men/ to example.com/men Could someone point me to the right direction. I do not want to modify ...
3
votes
2answers
332 views

Magento 2: How to generate category url with underscore?

I am importing categories from external script. All working fine with import. But with URL KEY Magento is changing value automatically. And I want the url same as I am passing from script. 1) ...
1
vote
3answers
3k views

URL was already generated for an item with SKU. ERROR

I have problem when trying to import products via CSV i get this error: Url key: '******' was already generated for an item with the SKU:'*******'. You need to specify the unique URL key manually en ...
-1
votes
1answer
309 views

truncate core_url_rewrite by cron

Is it possible to truncate this table by cron? It seems to be necessary because in few days the table's weight increases to about 10GB.
1
vote
0answers
28 views

Hunting down a redirect / rewrite issue. How many rewrites should there be for a product?

For SEO value I understand that Magento will redirect system ID urls to pretty urls. I'm trying to find out if there is something wrong with my db. There are several system urls that have 5 different ...
1
vote
1answer
359 views

URL Rewrite not working as expected when product uploaded through magmi?

I tried, i) Stores-->Configuration-->Catalog-->Catalog-->SEO-->Use Categories Path for Product URLs to YES. ii) php bin/magento indexer:reindex I have again saved Categories but ...
0
votes
1answer
93 views

Clicking on a product on a category page just routes me back to the parent category

In my Magento 2 store whenever I click on a product in a category page I get routes to the parent category page instead of going to the product page. Is this a url rewrite issue? Duplicates?
1
vote
1answer
364 views

Layered Navigation: 404 Error when browsing via certain filter

We have an issue that occurs when filtering by layered navigation. It's 3rd party. The issue is (at least at our end) very easy to reproduce. Our catalog structure is pretty simple, having two major ...
1
vote
1answer
3k views

Magento 2 : Product URL rewrite issue

I have a Magento 2.1.10 store. I have imported all the products and categories. Now the product url is http://www.exaple.com/samplecategory/sampleproduct.html But I want the URL as http://www....
-1
votes
1answer
209 views

recovery for deleted composer.json and composer.lock

I mistakenly deleted composer.json and composer.lock from my Magento ecommerce site and now my site will not respond. How can i solve that please? I tried reinstalling but still the site will not ...
1
vote
1answer
1k views

Magento Static and Media url's redirect

So what i want to do is have domain.com as a main domain. static.domain.com (that uses the files of domain.com) as my static view url and media.domain.com (that also uses the files of domain.com) for ...
1
vote
1answer
37 views

How to get the type of page from url

Is there any methods to know which type of page i have with an url ? I would like to know with a page .html if it s a product page , a category page , cms page or home ? And i would like to know ...
0
votes
1answer
109 views

Magento 1.9.2.1 Product Upload Via .csv file does not generate url rewrites

I uploaded products via .csv file but the URLs does not get created/generated. I wonder if anyone can tell whether this is the expected behavior or there is a bug? Updated Question I have uploaded a ...
1
vote
1answer
25 views

I still have access to normal urls when rewrite urls is active

I have "URL Rewrite" active, and now I have access to URLs like "catalog/product/view/id/719/s/p-product1/" but I also have access to rewritten URL '/p-product1/' how can I disable the normal URLs?
3
votes
4answers
1k views

Magento2: How to modifiy http header of page?

I am trying to modify HTTP header for current URL. I want to set 410 status if current page header is 404. below code I used but I have created new controller so it always set 410 for that controller ...
0
votes
3answers
688 views

M2: How to redirect contact form page to CMS page

I tried to 301 redirect contact form page URL to custom cms page URL with Magento 2's rewrites, but it does not seem to redirect the URL for some reason. Is there some special trick to be done with ...
2
votes
1answer
153 views

Magento Rewrite Multistore Code in URL

I have magento multistore website where store_code is placed after domain name like these below : http://example.com/code_first/ http://example.com/code_second/ so I want to rewrite store_code url ...
1
vote
0answers
226 views

404 Errors after turning on SEO URL and Secure URLs

Initial Setting: HTTP only SEO Url Turned off What was changed: Turned on SEO Url to remove index.php from Url Turned on SSL for Admin and Frontend. Issue: 404 Error messages Unable to login to ...
7
votes
1answer
921 views

Magento 2 .2 - How to add Static Product Prefix to Product Url?

I would like to add a Product Prefix (Static Path) to product URLs. Something like www.test.com/product-prefix/product1.html So all products url of the website follows the same structure - www.test....
2
votes
0answers
20 views

Problem with multillanguage url rewrite

I have installed Magento 1.9.3 with sample data so I have category: Women clothing with url women.html for the eng view femmes.html for the fr view frau.html for the german view When I switch the ...
0
votes
1answer
163 views

Magento1.9 - How to rewrite exact url using xml

I want to rewrite /custom link from /catalogsearch/result/?q=some&attr=value for this I have added below code in my module config.xml ... <rewrite> <mymodule> <from>&...
2
votes
1answer
47 views

why the magento is generating this custom redirects

why the magento is generating this custom redirects in URL Rewrite Management. Please find the below image: Thanks
1
vote
1answer
3k 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 ...
0
votes
2answers
129 views

Magento v1.9.x ultimate module creator entity URL rewrite / key problem

Hi all ( especially Marius :) ) I have an annoying problem with my Mag 1.9.x modules created using the, otherwise great, ultimate module creator. When an item/entity is given a friendly URL and ...
0
votes
1answer
142 views

Magento 1.9 add a fixed product prefix

First of all, did quite some research, but could not find the best solution in this case. For SEO reasons, we need to add a fixed prefix (with a slash) to all product URLs. Product URLs now look ...
0
votes
1answer
125 views

Magento 1 URL rewrite Reindex takes forever and no data on core_url_rwrite table

We have a Magento 1.9.1 site with around 800k products. The core_url_rewrite table was truncated in order to get new url_rewrites after indexing. The problem is the url_rewrite reindex is taking for ...
4
votes
2answers
265 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., ...
0
votes
1answer
440 views

what RP means in Url Rewrite Management options column

I look at the Url Rewrite Management for custom URL rewrite and found that there are RP in option column. What is the difference between RP and non RP custom option?
1
vote
0answers
18 views

Magento 2: Custom url for state=onsale produtcs

Right now I'm able to see all my on sale products here: http://wwww.domain.com/products?state=onsales (products is a category that lists all products) I would like to change that url or create a ...