Questions tagged [url]
Denotes question about URL issues and custom URLs.
889
questions
0
votes
0answers
26 views
Magento 2 how to insert a link to the product item title
I need to insert a dynamic url to the brand search result inside the title of the product page.
I.E. this is my product title:
TOMMY JEANS
Felpa Uomo in misto cotone giallo con logo
"tommy ...
0
votes
0answers
23 views
Magento2.1 URL structure
I want to show my products by below URL structure in Magento2.1:
localhost/products/ID/product title
What should I do?
2
votes
3answers
42 views
Magento 2 add category url in all products, frontend
I want to display all product url in frontend with category name inside, I had checked all the configuration, but didn't find anything.
Now I think I have to do it by coding, please guide me little ...
0
votes
1answer
27 views
UrlRewite one website to another?
Is it possible in magento to redirect existing site one page to another website?
Like. http://magento-website/demo to http://magento-website-2/demo
Without using htaccess and php header function.
...
0
votes
3answers
556 views
How to change my url from www.xxx.com/Magento to www.xxx.com
I am running Magento 2.2.7 and my current URL for my store is https://shop.xyz.ca/Magneto and I would like to change it to be https://shop.xyz.ca/
I am set up on Windows Server and using Xampp 3.2.2
...
0
votes
1answer
13 views
How to remove head category but keep subcategory in url magento
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:
...
2
votes
1answer
146 views
How to update the mini-cart proceed to checkout according to customer login in magento 2?
I Want to check the user login status in mini cart and redirect the customer to the login page when click the proceed to checkout button in mini-cart.
How to edit the minicart.js file to achieve this?...
0
votes
0answers
17 views
Url redirect not true
i have two url.
1 : abc.com
2 : xyz.com
I want when click abc.com, it load abc.com and when click xyz.com, it load xyz.com
When i click xyz.com, it load abc.com now. Please help me!
0
votes
1answer
26 views
Magento 2: Product URL Suffix problem with search (2.3.1)
We removed the values for url suffix from the configuration (removed .html). After rebuilding cache and reindexing from CLI the store works correct but the search function for some reason doesn't. The ...
0
votes
0answers
35 views
Magento 2 referrer URL not working and also product not adding to cart
https://hofindia.com/hof/customer/account/login/referer/aHR0cHM6Ly9ob2ZpbmRpYS5jb20vaG9mLw%2C%2C/ This Url Not working and
https://hofindia.com/hof/customer/account/login/ It's Working
Also, ...
0
votes
1answer
42 views
Magento2: Issues with duplicate simple product
I have duplicate a simple product.
The original simple product has:
SKU: pld942
URL: pld942.html
after duplicate:
SKU: pld942-1
URL: pld942-1.html
I set in duplicate product:
enable
weight
qty ...
3
votes
1answer
85 views
Magento 2.3 How to create custom cms page url?
I have use Magento 2.3
Question: How to modify custom CMS page URL structure?
For example: I want to this type of page link.
http://mydomainxyz.com/parent-service/childpage
At present we are only ...
0
votes
1answer
35 views
Magetno 2 base url 302 redirection
Hi I am trying to implement add extra key to base url
example
my base url:: abcd.com
if user click on any key with base_url like below
user entered url :: pawan.abcd.com site need set new theme if ...
1
vote
1answer
27 views
Single url for a product which is in different category in magento 2
I have a product black-jacket under the category men->tops
when i click on men the url is like http://magento2/men/black-jacket.html
and if i click on tops under the men then the url is http://...
0
votes
1answer
20 views
Headless Magento 2: Need custom URL instead of domain/products/:SKU
Fairly new to to magento. I am going for a headless approach, where I have created product listing pages with URLs as:
www.domain.com/products/:productSKU
I want to change this to something like:
...
1
vote
1answer
33 views
Magento 1.x Custom Module - get wrong Frontend Url
I have Mage 1.9 with my custom module installed. I have checked that the function
Mage::getUrl('mymodule/api/users/1');
return wrong url with admin path. We also use a custom path for the admin ...
1
vote
2answers
101 views
How to pass store code to custom URL in magento 2
I would like to add store code to a custom URL in Magento 2.3.0
Actually, I want to pass store code to a custom URL in my custom module based on relevant store order.
Let's take an example:
public ...
2
votes
1answer
73 views
Magento 2 - Frontend Controller conditional based 404 page
I have custom frontend controller, I added the URL Rewrite for this controller
I want to figure out the way, How I send requesting URL to 404 page based on some condition within the controller.
I ...
0
votes
1answer
119 views
Magento 2.2 Ajax not working on second time in category page
My site was working fine, suddenly the ajax on category pages is not working on second time. On first time it works fine, whether it is pagination or layered navigation but on second time it doesn't ...
0
votes
0answers
21 views
Magento 1: How can I add or copy custom URL rewrites in bulk?
Is there a way I can bulk add approx 2,000 custom URL rewrites in Magento 1.9?
Can I maybe insert directly into the core_url_rewrites table as an SQL command?
I ask because we have just created a ...
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
18 views
I can't get rid of the page URL key in my store homepage
Concisely, my store homepage shows the URL key "/home" and I can't get rid of it. If I browse the store root "www.website.tld/" I get an error "Too many redirects".
I have already checked almost ...
2
votes
0answers
34 views
Magento 2 EE remove url trailing slash through htaccess
I am using below code in htaccess to remove trailing slash in urls. But after adding this code my admin panel stops working and shows error - Too many redirects.
I don't know whether to place this ...
1
vote
0answers
28 views
How can I get all filter combinations and their links for all categories in Magento 2?
I have a problem and I do not know how to solve it. The client wants to get links of all filter combinations for the category, and make a check on index and follow. And if there is a parameter index ...
1
vote
0answers
16 views
Opening product from category url is much slower than loading it from product url
So I have a product named A. If I open A from it's own url
https://mymagentowebsite.com/A.html
it opens fast because it's cached.
However, if I open the product from the category url
https://...
0
votes
1answer
61 views
how to use geturl function to custom page in php value in magento 2
<a href="<?php /* @escapeNotVerified */ echo $block->getUrl(
'mpquotesystem/sellerquote/quoteedit/id/404/',
['...
0
votes
0answers
18 views
How to switch the primary domain on Magento 1.9.4?
Magento 1.9.4
Porto theme
I installed a brand new installation of Magento 1.9.4. It is for a site/domain that is live elsewhere. I installed and configured the theme, imported products and customers. ...
0
votes
1answer
43 views
I want to use php scandir in a phtml
I want to use this in a phtml:
<?php
$kataloge_dir = '../media/downloads/dlbereich/kataloge/';
$kataloge = array_diff(scandir($kataloge_dir), array('..', '.'));
$kataloge_thumb_dir = '../...
0
votes
1answer
287 views
Passing the Product id and form key but not adding to cart in magento2
passing product id and form key through url but product not added to cart in magento2.
http://127.0.0.1/magento2.3/checkout/cart/add/uenc/...
1
vote
1answer
347 views
Magento 1.9 get current url
I want to get Current URL in Magento 1, using observer function, that observer triggered on the AJAX controller action.
In the observer function, I tried like :-
$currentUrl = Mage::helper('core/url'...
1
vote
1answer
237 views
Magento2 - Is it possible to get specific store url in cms block?
I am trying to get store URL or base URL for a specific store in cms block.
I have tried {{store _store="1"}}
Also, {{config path="web/secure/base_url"}}
I wanted to know if this is going to work ...
2
votes
1answer
31 views
how to create more then one submit_url in ui_component Magento 2
I need to submit data from ui_component to another class so I created two buttons and on one I set the submit_url and works perfectly but in other class I cannot get the data to perform some ...
0
votes
0answers
160 views
Cart and checkout URL Change in magento 2
Change url of final Checkout page from https://example.in/onepage to https://example.in/checkout
Change url of thank you page from https://example.in/checkout/onepage/success/ to https://example.in/...
1
vote
0answers
14 views
SEO category path [closed]
Which is the best one and why?
www.example.com/women/pants (used by ASOS)
www.example.com/women-pants (used by Zalando)
0
votes
0answers
258 views
Magento 2 Wysiwyg editor adding admin/cms/wysiwyg/directive links to store url
I am adding {{store url="about-us"}} to CMS block page but it ends like below
http://192.168.1.72/pneumatic-plus-categoryprototype/admin/cms/wysiwyg/directive/___directive/...
0
votes
1answer
38 views
Magento2 : How to modify the store view url?
How to change the magento store view url?
For example change "?___store=en" to "?lang=en".
0
votes
0answers
85 views
Magento2 - Get store url for specific store in static cms block
I have multistore website in Magento2
Now how to get the above store-specific urls in static block by using the {{store url=""}}
Right Now the above url fetches the current store url but i want ...
0
votes
0answers
19 views
How to add a product to cart via URL on a website that uses magento?
I wanto to know how to create a "add to cart link" on a website that uses magento.
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/...
0
votes
3answers
175 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
1answer
583 views
Magento 1.9 - Mage->app()->getRequest()->getParam() not working
I am fetching the URL params as below.
Mage::app()->getRequest()->getParam('test');
Debugging with echo before the above statement, it works fine. But placing echo after this statement return ...
0
votes
1answer
76 views
How to redirect to shop after logged in user in Magento 2
public function execute()
{
if ($this->session->isLoggedIn() || !$this->formKeyValidator->validate($this->getRequest())) {
/** @var \Magento\Framework\Controller\Result\...
1
vote
0answers
17 views
How many ways are there to create a controller and what are they?
I have been developing with Magento 1.9 for the last two weeks. I have found several problems to develop each project (probably because my first project with magento had a high level...).
I come ...
1
vote
1answer
428 views
Magento 2.3.0 WYSIWYG editor's image not loading on frontend
we have created some category's custom attribute of WYSIWYG editor type. While we are adding image in these custom attribute's editor, they are showing/loading fine in admin section but while we are ...
1
vote
1answer
112 views
how fix invalid url in magento
Invalid base url type
Trace:
#0 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Model\Store.php(620): Mage::exception('Mage_Core', 'Invalid base ur...')
#1 C:\xampp\htdocs\magento\app\Mage.php(382): ...
0
votes
1answer
26 views
Product translated URL for iframe purposes
I am working on a 1.9.x version of Magento, I've just translated the products of my catalog for a PT-BR language and I was needing the products URLs in order to insert them on a iframe of a specific ...
0
votes
1answer
47 views
What is the ajax url if
help, what will be the ajax url if
method is in:
/app/code/core/Mage/Adminhtml/controllers/CmsBlockController.php ?
2
votes
1answer
398 views
In Magento 2,I can't Open Categories With New URL
If I add new URL then it's showing 404 error when it open frontend side.If it open with old URL it's working.
For Ex. I have added new URL "business-card-gift-card-holders123" for category.It's ...
0
votes
0answers
62 views
How to remove /magento2/ parameter from URL?
Current URL : http://localhost/magento2/rest/V1/products/options/types
I want to use without /magento2/
i.e. http://localhost/rest/V1/products/options/types
I am using XAMPP server with ...
1
vote
1answer
327 views
Products just redirect to search results page
All of my products are now redirecting to catalog search.
i.e.
/bonfire-firma-3-in-1-stretch-mens-snowboard-jacket-2019.html
goes to
/catalogsearch/result/?q=bonfire-firma-3-in-1-stretch-mens-...