Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [url-rewrite]

Denotes questions about URL Rewrites Management.

Filter by
Sorted by
Tagged with
0
votes
1answer
58 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 ...
0
votes
1answer
265 views

Rewrite not working CSS not loaded, module enabled [duplicate]

CSS, scripts not loading, via pub/static/version1496086766/frontend/Magento/, but loading without version: pub/static/frontend/Magento/.. There is .htaccess file with rewrite rule, and sudo a2enmod ...
1
vote
1answer
78 views

Magento 2 : URL Rewrite management

In magento 2, I want to do like this below way : http://php722.local.com/m231/products/category1 => This is category url (Products is main category and category1 is sub-category of products) Now, ...
1
vote
2answers
34 views

Magento 2.1 Redirect through htaccess

I am unable to 301 redirect URL like baseurl/blog/international%20enviroguard%20re-branding%20-%20faqs/ to baseurl/blog/international-enviroguard-re-branding-faqs through htaccess. The page is ...
1
vote
1answer
27 views

Category name on product url still working after “Use Categories Path for Product URLs” set to no

"Use Categories Path for Product URLs" set to no on admin panel But everytime I create a new product, it creates rewrite also for category/product url So both of them work: example.com/category/...
0
votes
0answers
51 views

magento 2 category url_rewrites issue

I am using Magento 2.3 when I create new category and check url_rewrite and front end that url generate like this domain.com/parent.html/subcategory.html instead I need url like domain.com/parent/...
107
votes
13answers
68k views

Magento core_url_rewrite table excessively large

I've noticed a large amount of reports that this table itself can become extremely cluttered, I'm running a site with ~5000 SKUs and ~250 categories (single-store) and a resultant core_url_rewrite ...
3
votes
1answer
361 views

Magento 2 - Get URL data by request path

I have gathered URLs from sitemap.xml now I need category ID against category URL and Product ID against product URL. I want to do it by getting URL data from url_rewrite table In Magento 1.9 we use ...
1
vote
1answer
34 views

How to rewrite url between page and category?

I'm a magento beginner. I have problem. please help me My problem is I have create one category(about us) and one page(about us). when i click in menu category(about us), it will show the page(about ...
0
votes
0answers
77 views

Magento2 Cloud: Make URL Rewrite CRON RUN

I am willing to import URL rewrites provided by my client in Magento Cloud EE edition (2.2.5). I followed all steps mentioned here: (https://devdocs.magento.com/guides/v2.2/cloud/configure/import-...
3
votes
1answer
9k views

How to get URL rewrite Target Path programmatically

I need to get programmatically the "Target Path" field that I have set in the Magento 1.8 Admin Panel, using Catalog -> URL rewrite management. How do I get it?
1
vote
2answers
71 views

How to modify the custom module URL?

I have created custom module i.e /stores/index/display. But I want to modify the /stores, How can I do that?
23
votes
10answers
34k views

How to delete and regenerate URL rewrites in Magento 2?

I have recently created 2 additional store view on magento 2 store. Now the url of category and Products are not for those stores is not proper Eg: http://example.com/catalog/category/view/s/pouches/...
0
votes
2answers
277 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 ...
0
votes
0answers
46 views

Url Rewrite Issue in product duplication

I am facing a weird situation regarding product url rewrites on product duplicates. I do have multi stores like French and English store out of which French is currently disabled. When we duplicate ...
1
vote
0answers
32 views

Imported products and categories system urls return 404

We are setting up import of products and categories from suppliers XMLs. The idea is to have it automatic and we have successfully imported products and automatically generated categories using this ...
0
votes
2answers
521 views

Different category URLs for store views, redirect to proper one

I would like to have different URL keys for a category for every store view. ex http://store.com/electronics.html for EN store http://store.com/electronics-gr.html for a GR view. When i switch ...
0
votes
0answers
110 views

Magento 2 Multistore URL Rewrite htaccess

Hi this might look like a repeated question, but I think my case might be very specific. It turns out that I have a project that has 2 stores and 3 store views, the client asked for a upgrade from M2....
0
votes
0answers
35 views

Magento2 url issue

My magento2 website in following url to be show catalog/product/view/id/9583 but i need like powder-9583.html so what step we required to achieve this. and also search engine is on on ...
0
votes
0answers
215 views

URL rewrites not working Magento 2.3.0

I am having an issue with URL rewrites in Magento 2.3.0. URL rewrites are of course turned on and most URLs have been rewritten but there are some which have not been. They are included in the ...
1
vote
0answers
12 views

Migrating from M1 to M2: need to / want to rename multiple attributes

in our mission to migrate from M1 to M2 we need / want to rename attributes that we have named say 7 years ago. So product attribute 'manufacturer' would become 'brand' and product attribute '...
1
vote
1answer
23 views

Removing (hiding) Magento system URLs

I am pretty sure there has to be a simple way to solve, but I just cannot find it. So, by default, there are 2 types of product rules at my store: mystore.com/catalog/product/view/id/177 mystore.com/...
1
vote
1answer
155 views

How to show https and www in URL?

I have a site i.e. nutriment.com, I want to show https and www both in the URL but the problem is that https is appearing but www not appearing the URL and https show only on the Home Page, not in the ...
1
vote
3answers
2k views

Removing Magento Store URLs Param ?__store=

Magento's store URL wuery param is really annoying me and I'm not sure of the point of it when there is a store cookie for holding this info, also it only appears when you first visit a site or switch ...
0
votes
1answer
266 views

URL paths not reflecting url key from admin panel

I am trying to work out why some of my URLs are being presented like the below /catalog/product/view/id/75/s/whiskware-egg-mixer/category/15/ I have run bin/magento indexer:reindex but the URLs aren'...
2
votes
1answer
66 views

Remove '.php' from url redirect [closed]

I have an URL like: base_url/cloths/mens.php now when we click on this above URL then it should redirect to: base_url/wp/cloths/mens/ here we want to remove .php extension from URL after ...
0
votes
1answer
84 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 ...
2
votes
0answers
79 views

Magento 1.9 rewrite/redirect issue

Magento is redirecting to the wrong url. Checked htaccess as I thought there is a problem but not, there is no redirect for this url. So I've checked rewrite table but there is no obvious cause. For ...
2
votes
2answers
267 views

Magento 2 query url rewrite

If I have URL like this - mainpage.com/products?test_category=99 and want it to be rewritten to this mainpage.com/testproducts Since magento2 URL rewrite won't take query how can this be ...
2
votes
1answer
37 views

Magento 2 Make GET Request url to rewrite acceptable

For example I have this url which makes get Request and renders block with specific collection by Id. mainpage.com/products?some_category=99 Since Magento 2 Url Rewrites only accept /params/...
1
vote
1answer
3k views

Unable to access magento without /index.php/ in the URL [duplicate]

I have fully downloaded a magento 1.9.1 instance and it's DB which was running on a server into my computer and trying to get it up and running using WAMP server. everything looks fine except that I ...
1
vote
1answer
30 views

Magento 2.2.5 Delete Url Rewrites older than 1 Year

Is it possible to delete Url_rewrites older than one year? We have migrated from Magento1 to Magento 2 and kept all URLs for SEO reasons. BUT the table in Mage1 and Mage2 is really huge. Now we want ...
1
vote
1answer
3k views

How to change product URL and redirect?

Here's the situation I need to redirect one of my product to homepage make it as homepage at the same time the URL must be changed to home, so instead of www.example.com/sample-product it should be ...
1
vote
1answer
362 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 ...
1
vote
0answers
105 views

Magento 2 - add custum attribute to urlrewrite programmatically

I am trying to regenerate the urlrewrites on magento 2.3. They are now created by the pruducts name /artist.html but i would like to to add some custom attributes. /astist-title-format.html to ...
0
votes
3answers
162 views

Get browser URL magento 2

I want to get URL which is passed in the address bar but problem is that in my .htaccess there is a code for the rewrite I don't know for that reason or something else I got other URL which is not ...
0
votes
2answers
61 views

How to write rewrite url for index.php as a request path

I want to write URL rewrite for index.php as a request path and it should be redirected to the home page
1
vote
2answers
288 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
0answers
23 views

Localize contacts URL store wise

In Magento 1.9, I have 3 stores(English, Dutch, French) in 1 one website. I am trying to localize contacts url to store wise like below. Magento's Default. English Store : www.example.com/en/...
0
votes
2answers
2k views

Include only top level parent category in product url (not all parent categories in path)

The site I am migrating over to Magento from Virtuemart used only the top level parent category in the product url path. The client insists on not having to redirect a bunch of traffic once we launch. ...
0
votes
1answer
56 views

Duplicate url rewrite for the same product_id

i'm new on magento developement. My "core_url_rewrite" datatable contains 3.000.000 records for 3.000 products. For a given target_path, i have 1000 records but i dont known why Please help. thanks
0
votes
1answer
195 views

Contact Page URL Change: Magento 2

I have tried to changed the default URL of contact page in magento2 to my custom URL but it is not working at all. I have tried as follows: Put the following code in my custom module.xml <config ...
3
votes
2answers
4k views

Magento 2 - rewrite checkout and account url

What would be the proper way to rewrite/translate Magento 2 checkout and user account URL's to make them localized for my language? 1. Checkout Current checkout URL's are: domain.com/checkout ...
2
votes
0answers
139 views

How to add a custom attribute value to product url in Magento 2

I am using Magento ver. 2.2.3 . I need to add a custom attribute's (brand) value to the product url, like : http://domain.com/smeg/smeg-cooker-90cm-with-gas-hob-cream.html For that i have overridden ...
1
vote
1answer
44 views

Rewrite product page URLs based on that product assigned attribute URLs in Magento 2.3

I want to achieve product URLs based on product attribute for product page only. I have product attribute manufacturer, having drop downs such as lg, samsung, motorola etc. My store category ...
0
votes
0answers
209 views

Magento 2 Generate Product Url Keys?

We have imported simple products into magento 2 without url_key earlier. front-end also working fine. https://prnt.sc/mia64k But we would like to generate url_keys for those products. ...
0
votes
1answer
341 views

Migration tool causing url_rewrite duplicates in Magento 2 leading to missing categories in Navigation

I am currently attempting to Migrate data from Magento 1 to Magento 2. I ran the Ubertheme Magento "Data Migration Pro" tool several times in the course of trying to Migrate our information over from ...
0
votes
0answers
15 views

Many categories are throwing a 404 - at a loss on how to investigate further

I learned today that our website was throwing 404s on many of our category pages. The only process that I think that could have triggered this was the execution of magerun index:reindex:all which had ...
0
votes
0answers
14 views

How can we retain full path url for related products when we import data in bulk?

We have loaded data for the related products using bulk import functionality in our Magento admin panel. But the urls of the products are redirecting us to the category listing page instead of the ...
0
votes
2answers
1k views

Change product url when changing product name

Are there any extensions or settings that can change the product url when you change the product name. Before example: Product name: Product 1 Product url: product-1 After example: Product name: ...