How to remove head category but keep subcategory in url magentoMagento : Product URL with last subcategoryHow to exclude Brand Category Path from Product URL but keep Brand Name included?How to get last level category of each product in magentonot valid category url rewrite in the same category nameHow to remove parent category from subcategory URL?How Can I Customize Magento Default URL (Product URL and Category URL)Change magento url structure for better Google indexOmit inner category URLs from url pathDisable Product URL without Category Pathhow can I change the category and url structure?

Unusual mail headers, evidence of an attempted attack. Have I been pwned?

How long would it take to cross the Channel in 1890's?

Who are the remaining King/Queenslayers?

Can humans ever directly see a few photons at a time? Can a human see a single photon?

How would modern naval warfare have to have developed differently for battleships to still be relevant in the 21st century?

Trainee keeps missing deadlines for independent learning

What size of powerbank will I need to power a phone and DSLR for 2 weeks?

Is "Busen" just the area between the breasts?

How is hair tissue mineral analysis performed?

What is the legal status of travelling with methadone in your carry-on?

What does it mean to "control target player"?

What's currently blocking the construction of the wall between Mexico and the US?

Can Ogre clerics use Purify Food and Drink on humanoid characters?

Should I prioritize my 401k over my student loans?

Find the C-factor of a vote

What exactly is the 'online' in OLAP and OLTP?

How large would a mega structure have to be to host 1 billion people indefinitely?

Why does the Saturn V have standalone inter-stage rings?

How to model a twisted cylinder like this

What is "industrial ethernet"?

Understanding the reasoning of the woman who agreed with King Solomon to "cut the baby in half"

How to remove this component from PCB

Has there been any indication at all that further negotiation between the UK and EU is possible?

Why tighten down in a criss-cross pattern?



How to remove head category but keep subcategory in url magento


Magento : Product URL with last subcategoryHow to exclude Brand Category Path from Product URL but keep Brand Name included?How to get last level category of each product in magentonot valid category url rewrite in the same category nameHow to remove parent category from subcategory URL?How Can I Customize Magento Default URL (Product URL and Category URL)Change magento url structure for better Google indexOmit inner category URLs from url pathDisable Product URL without Category Pathhow can I change the category and url structure?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















Currently my url structure is as following:



parameters: example.com/head-category/sub-category/product-name



actual url: example.com/gear/balls/superball-0192



I would like to change this to:



parameters: example.com/sub-category/product-name



actual url: example.com/balls/superball-0192



But only for the URL structure. The structure in the menu, head category = main item followed by sub-categories as a subitem.










share|improve this question









New contributor



Floris van Vredendaal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



















  • In magento 2 or magento1

    – surbhi agr
    Jun 13 at 12:35

















0















Currently my url structure is as following:



parameters: example.com/head-category/sub-category/product-name



actual url: example.com/gear/balls/superball-0192



I would like to change this to:



parameters: example.com/sub-category/product-name



actual url: example.com/balls/superball-0192



But only for the URL structure. The structure in the menu, head category = main item followed by sub-categories as a subitem.










share|improve this question









New contributor



Floris van Vredendaal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



















  • In magento 2 or magento1

    – surbhi agr
    Jun 13 at 12:35













0












0








0








Currently my url structure is as following:



parameters: example.com/head-category/sub-category/product-name



actual url: example.com/gear/balls/superball-0192



I would like to change this to:



parameters: example.com/sub-category/product-name



actual url: example.com/balls/superball-0192



But only for the URL structure. The structure in the menu, head category = main item followed by sub-categories as a subitem.










share|improve this question









New contributor



Floris van Vredendaal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











Currently my url structure is as following:



parameters: example.com/head-category/sub-category/product-name



actual url: example.com/gear/balls/superball-0192



I would like to change this to:



parameters: example.com/sub-category/product-name



actual url: example.com/balls/superball-0192



But only for the URL structure. The structure in the menu, head category = main item followed by sub-categories as a subitem.







url url-rewrite category-products






share|improve this question









New contributor



Floris van Vredendaal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.










share|improve this question









New contributor



Floris van Vredendaal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








share|improve this question




share|improve this question








edited Jun 13 at 14:07









Anas Mansuri

40715




40715






New contributor



Floris van Vredendaal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








asked Jun 13 at 11:46









Floris van VredendaalFloris van Vredendaal

1




1




New contributor



Floris van Vredendaal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




New contributor




Floris van Vredendaal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.














  • In magento 2 or magento1

    – surbhi agr
    Jun 13 at 12:35

















  • In magento 2 or magento1

    – surbhi agr
    Jun 13 at 12:35
















In magento 2 or magento1

– surbhi agr
Jun 13 at 12:35





In magento 2 or magento1

– surbhi agr
Jun 13 at 12:35










1 Answer
1






active

oldest

votes


















1














You can do it with the help of url rewrite in magento 1 and 2 both . In magento 2



On the Admin Panel, go to Marketing > SEO & Search> URL Rewrites



Add url rewrite where you can give the request path and the target path.
Clear cache and run indexing then check the path.



Hope it helps!






share|improve this answer























  • Thanks for your answer, but this is not what I needed. I did not need a URL redirect. I actually want to remove the headcategory parameter from the URL. If I make a redirect, this does not change the URL structure.

    – Floris van Vredendaal
    Jun 14 at 12:16













Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);






Floris van Vredendaal is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f278239%2fhow-to-remove-head-category-but-keep-subcategory-in-url-magento%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














You can do it with the help of url rewrite in magento 1 and 2 both . In magento 2



On the Admin Panel, go to Marketing > SEO & Search> URL Rewrites



Add url rewrite where you can give the request path and the target path.
Clear cache and run indexing then check the path.



Hope it helps!






share|improve this answer























  • Thanks for your answer, but this is not what I needed. I did not need a URL redirect. I actually want to remove the headcategory parameter from the URL. If I make a redirect, this does not change the URL structure.

    – Floris van Vredendaal
    Jun 14 at 12:16















1














You can do it with the help of url rewrite in magento 1 and 2 both . In magento 2



On the Admin Panel, go to Marketing > SEO & Search> URL Rewrites



Add url rewrite where you can give the request path and the target path.
Clear cache and run indexing then check the path.



Hope it helps!






share|improve this answer























  • Thanks for your answer, but this is not what I needed. I did not need a URL redirect. I actually want to remove the headcategory parameter from the URL. If I make a redirect, this does not change the URL structure.

    – Floris van Vredendaal
    Jun 14 at 12:16













1












1








1







You can do it with the help of url rewrite in magento 1 and 2 both . In magento 2



On the Admin Panel, go to Marketing > SEO & Search> URL Rewrites



Add url rewrite where you can give the request path and the target path.
Clear cache and run indexing then check the path.



Hope it helps!






share|improve this answer













You can do it with the help of url rewrite in magento 1 and 2 both . In magento 2



On the Admin Panel, go to Marketing > SEO & Search> URL Rewrites



Add url rewrite where you can give the request path and the target path.
Clear cache and run indexing then check the path.



Hope it helps!







share|improve this answer












share|improve this answer



share|improve this answer










answered Jun 13 at 12:39









surbhi agrsurbhi agr

61216




61216












  • Thanks for your answer, but this is not what I needed. I did not need a URL redirect. I actually want to remove the headcategory parameter from the URL. If I make a redirect, this does not change the URL structure.

    – Floris van Vredendaal
    Jun 14 at 12:16

















  • Thanks for your answer, but this is not what I needed. I did not need a URL redirect. I actually want to remove the headcategory parameter from the URL. If I make a redirect, this does not change the URL structure.

    – Floris van Vredendaal
    Jun 14 at 12:16
















Thanks for your answer, but this is not what I needed. I did not need a URL redirect. I actually want to remove the headcategory parameter from the URL. If I make a redirect, this does not change the URL structure.

– Floris van Vredendaal
Jun 14 at 12:16





Thanks for your answer, but this is not what I needed. I did not need a URL redirect. I actually want to remove the headcategory parameter from the URL. If I make a redirect, this does not change the URL structure.

– Floris van Vredendaal
Jun 14 at 12:16










Floris van Vredendaal is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















Floris van Vredendaal is a new contributor. Be nice, and check out our Code of Conduct.












Floris van Vredendaal is a new contributor. Be nice, and check out our Code of Conduct.











Floris van Vredendaal is a new contributor. Be nice, and check out our Code of Conduct.














Thanks for contributing an answer to Magento Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f278239%2fhow-to-remove-head-category-but-keep-subcategory-in-url-magento%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form