Questions tagged [url]

Denotes question about URL issues and custom URLs.

Filter by
Sorted by
Tagged with
3
votes
6answers
14k views

Magento 2 is generating the product url with catalog/product/view/id instead of product name

We are having a strange problem in our Magento 2 webshop. Our webshop has different ways of generating the product url. So some of our products just show the product url as it should be /name-of-the-...
3
votes
1answer
2k views

Fix Category Url Filter in Magento 2 Layered Navigation

By default in Magento 2, the category links look like this They lead to ?catId=xxx, instead of the better SEO friendly links, like the product name. I found a solution for this issue, but it's for ...
3
votes
2answers
86 views

Url doesn't work after adding new page [closed]

Today i added a new page on my magento webshop.. nothing special. But after i added that page, everytime i go on another page it adds .html in the Url and it just gives me a empty html page. I didn't ...
3
votes
1answer
2k views

Is there a way to use multiple URLs for one Magento setup?

I am planning to use Magento with multiple languages. I was thinking of doing this: English: Magento: //website/store/[...](params for Magento) French: Magento: //website/magasin/[...](params for ...
3
votes
1answer
111 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 ...
3
votes
1answer
2k views

Set configurable attributes + custom options via url on product page in Magento

I have a Magento shop with some configurable products. Those products have 3 configurable attributes from an attribute set and 1 custom option that is set on the configurable product itself (so not ...
3
votes
1answer
489 views

User redirected to a really bad URL after logging into Magento-based site with Safari on Mac OSX & iOS [closed]

I really don't know what to call this. It seems only to happen on both Mac OSX and iOS with Safari. It doesn't seem to affect Chrome even though they are both Webkit-based. I'm working on a B2B ...
3
votes
1answer
130 views

How to add a virtual url in Magento 2

I have the following situation: I have a multiple store views and for one of the store I have let's say this url: wwww.myurl.com. What I try to do, is to change the base url to : www.myurl.com/...
3
votes
1answer
75 views

Gel All Product images url using product id

Most of magento products have more than one product image, i've read this post on how to retrieve product image url, but it seems it only retrieve one image, i want to to load the product images url ...
3
votes
1answer
83 views

Setting up Magento 2 for multiple stores

After creating a second website on my Magento admin (setting up the store, storeview, base url etc.) I can't reach the newly created store. Whenever I go try the url I want website to use I just get ...
3
votes
2answers
13k views

Magento admin not working (too many redirects)

This morning i changed the System Config Custom Admin URL in magento witch resulted in a 404. I used this: https://stackoverflow.com/questions/7202950/magento-admin-url-not-working-404-after-changing-...
3
votes
1answer
293 views

Magento search request in admin is urlencoded

in magento admin panel, in latest search request, cyrilic requests displayed url encoded/ Such as %D1%83%D0%B3%D0%B3%D0%B8. How i can resolve this issue? please help.
3
votes
1answer
8k views

Change default sitemap URL

Is there anyway to change the default sitemap url from: http://mysite.com/catalog/seo_sitemap/category to just: http://mysite.com/sitemap
3
votes
1answer
83 views

Tried everything to get index.php out of the URL and everything returns Not Found error

Things I've confirmed: Site is on Ubuntu 13.10 server at /var/www/mysite.com/htdocs/ Uncommented: /var/www/mysite.com/htdocs/.htaccess RewriteBase / Catalog URL Key = phones Desired URL for this ...
3
votes
1answer
469 views

Magento : Product URL with last subcategory

I am exporting products from Wordpress to Magento. In Wordpress url structure is like this: www.mysite.com/sub-category/product/ but when I am opening this in Magento product url is like this: www....
3
votes
0answers
27 views

Error: The same url in all products Magento 1.9

I've tried to show the related products under the images of products. Until here all is ok, but the URL of the products is showing always the same of the first related product How can I solve this? ...
3
votes
0answers
48 views

Magento 2.3 admin is redirecting to this URl domain/admin/admin/denid/key/**** after admin login

I anonymously added some ACL permissions in Magento 2 and saved. I know that I have configured wrongly in the process of knowing, how it works since then I am unable to access my Magento 2 admin, I am ...
3
votes
1answer
1k views

Get frontend category URL in admin area with correct base URL

I try to load categories in the admin area with store specific values. $this->categoryCollectionFactory->create() ->setStoreId($storeId) ->addAttributeToSelect(['name', 'url_key'])...
3
votes
0answers
452 views

Magento2 : Create Dynamic URL by controller

I need the url structure like this : From this url :- http://localhost/magento27/review/product/view/id/936/ To this url :- http://localhost/magento27/women/review/love-this-product/936 women :- ...
3
votes
1answer
1k views

301 to 302 URL redirection

Magento has the facility of 301/302 re-directs. I'm working on a project for which 301 works fine for each country, say if I'm visiting from India, it re-directs me to example.in from example.com . It'...
3
votes
0answers
171 views

Keep old urls for default store view in magento after enabling store code in urls

I have enabled store codes for my Magento website and it is working fine. I have two store views, arabic and english. For arabic, i have store code ar and en for english. My default store view is ...
3
votes
1answer
1k views

URL on CMS page not always working [closed]

I am developing a store in magento 1.9.1, local on MAMP The site is set up in navigation bar with a store-button which shows all the products (or a selection), category-buttons etc. In each category-...
3
votes
0answers
416 views

Magento 1.9.0.1 add a product to the cart by URL from external site? [closed]

I need to add multiple products from an external site to a Magento store. The stores sells cake decorations and they wan't to create recipes in their Wordpress blog, and with a simple press of a ...
3
votes
2answers
881 views

Remove default store code from URL, only?

mage 2.1.7 "use Store code in URL" set to YES. Have 3 stores, one for our default/original store at "/" with code "france" and one for our south korea and north korea stores. The default store is ...
2
votes
2answers
12k views

I want to use ADD TO CART via URL in Magento 1.8 but don't know which files to change

I have seen some suggested changes to make to call the FORM KEY to allow the ADD TO CART FROM URL to work. <?php $formKey = Mage::getSingleton('core/session')->getFormKey();?> <form ...
2
votes
3answers
3k views

Magento duplicate meta tags in google webmaster

I have magento 1.7. For seo reasons I am getting Duplicate meta descriptions Tags problem from google. For example /paralympics-paralympische-spelen/ /paralympics-paralympische-spelen (with and ...
2
votes
2answers
16k views

How to get the previous url & redirect from controller

How can I detect the URL and store it then use it on the Controller for Redirect. Can anyone help me with this?
2
votes
4answers
3k views

Magento 2 admin url gives error - Class Magento\Authorization\Model\RoleFactory does not exist

I have installed magento 2 on a local network (for example 192.200.200.200, and it is a virtual machine) i was having some permission problems, had to run sudo php bin/magento setup:static-content:...
2
votes
2answers
9k views

Cannot display image inserted by WYSIWYG editor

I created a form on backend and inserted an image into the editor. The image displays properly in the editor. However, the image cannot be displayed on frontend and 404 error is shown on the console. ...
2
votes
2answers
1k views

interpreting controller path compared to url

I have a file as follows: app/code/local/Mycompany/Catalog/controllers/ProductController.php and a uniquely defined action in that file: public function sendfriendemailAction() .. However the URL ...
2
votes
1answer
5k views

Magento 2 - Configurable product - Get parent product ID from child product ID

I have a configurable product with two virtual products as children. I have the child product ID. How can I the parent product ID from the child product ID? I have tried this but it is not working //...
2
votes
2answers
1k views

Redirect to homepage after submitting e-mail in Forgot password page?

When customer submit his email in Forgot Password page he is redirected to the Login or Create an Account page. How could I redirect users to the Homepage or to the Onepage Checkout page?
2
votes
2answers
92 views

Magento2 : How To Get Parameters from URL In Controller

http://mystagesite.com/magento232/custom/module/check/?params=<%3Fxml+version%3D"1.0"+encoding%3D"UTF-8"+standalone%3D"yes"%3F>6<%2FRESPONSECODE>Invalid+Session+Token%3A+Session+has+Timed+Out<...
2
votes
1answer
45 views

How get Image Url by product_id or other way

I am rendering sales_items rows in frontend Screenshot is: Can anyone please help me to find how get image path here from product id or any other solution. and set path in src tag ? My .phtml file ...
2
votes
4answers
5k views

How to get product url with category key on home page

I want to get product url with category key in it on home page. for example: www.example.com/category/product.html Thanks
2
votes
1answer
4k views

get product seo url from id [duplicate]

i want to get product seo url from id below is code i used to get url from id $my_product = Mage::getModel('catalog/product')->load($id); $my_product_url = $my_product->getProductUrl(); but ...
2
votes
1answer
385 views

Magento : url structure

Please explain what is the meaning of this statement in Magento $this->_redirect('*/*/');
2
votes
1answer
2k views

What is the default url for 404 page?

This is an easy question. I changed the URL-KEY of the 404 page thinking that it would apply to the whole website, only to find that the 404 page didn't work anymore. Now I just need to know the ...
2
votes
1answer
3k views

Custom admin url, now some admin modules redirect to frontend

I have moved the magento admin to a seperate node, thus updated the settings in admin to set admin url as custom : thus admin.example.com, which points to that servers ip. All ok, but I find a lot of ...
2
votes
2answers
85 views

Issue in create controller

I am trying to create a custom controller in magento 2.1. I have created routes.xml and namespace as routes.xml <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
2
votes
2answers
4k views

module pass custom url parameters

i want to show custom url parameter in page created via module what is did i created a module to show page with custom page issue is how to pass and show parameter in url like product id of parent ...
2
votes
1answer
336 views

Category url appending -1 out of the blue

As I know it, magento only ads a -1 when creating or editing a url that already exists, in order to not have duplicate urls. But this time magento ads a -1 to categories out of the blue, without ...
2
votes
2answers
235 views

Magento Enterprise Editon URL rewrite

IN some scenario for configurable product , when we update the url-key , it is storing in the "catalog_product_entity_url_key" but in the admin panel it is the old key , we also flushed the cache and ...
2
votes
2answers
8k views

How to add a product to the cart using a URL or query string?

I'm using Magento Enterprise 1.13; there appears to be some documentation around for adding a product using the URL & query string but those do not appear to be working for me. For example: Add ...
2
votes
2answers
7k views

Category URL Key redirect to Product Link

For example, I have this category that I want to redirect it to product page, is this possible? For example I have Kati Birch Forest product, and it's url key is kati-birch-forest Then I want this ...
2
votes
2answers
2k views

Get correct product URL from SOAP API

Using the SOAP API, how can I get URL for the product (when requesting from catalog_product.info) that will always work? Using url_key and appending ".html" is not good enough because in many stores ...
2
votes
1answer
5k views

Get skin resource path or url for set package and theme

I'm trying to get the header logo image and having some issues.. I keep getting the base/default package/theme instead of what is set as the package and theme for skin in the admin. Here is some code ...
2
votes
1answer
55 views

How to redirect to custom page after Customer Successfully register..!

I need to redirect to next controller after registering page.
2
votes
1answer
39 views

Function getUrl of magento 2 doesn't work correct

In template I try to get url link but it doesn't work correct. I try to use this code: $block->getUrl('aloha/product/view/id/') But it always return http://abcs.com/aloha/product/view/, Is this a ...
2
votes
1answer
890 views

Magento 2 Duplicate Product URLs Problem

When creating products in Magento 1 the url was created from the product name, and if there were duplicate product names M1 would add a numerical suffix to the end of the URL. Since it seems this is ...