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;
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
New contributor
add a comment |
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
New contributor
In magento 2 or magento1
– surbhi agr
Jun 13 at 12:35
add a comment |
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
New contributor
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
url url-rewrite category-products
New contributor
New contributor
edited Jun 13 at 14:07
Anas Mansuri
40715
40715
New contributor
asked Jun 13 at 11:46
Floris van VredendaalFloris van Vredendaal
1
1
New contributor
New contributor
In magento 2 or magento1
– surbhi agr
Jun 13 at 12:35
add a comment |
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
add a comment |
1 Answer
1
active
oldest
votes
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!
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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!
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
add a comment |
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!
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
add a comment |
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!
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!
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
add a comment |
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
add a comment |
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.
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
In magento 2 or magento1
– surbhi agr
Jun 13 at 12:35