Questions tagged [url]

Denotes question about URL issues and custom URLs.

Filter by
Sorted by
Tagged with
1
vote
3answers
5k views

category url rewrite doesn't work when magento running on nginx

I set up my magento store running on LEMP server. Every thing works fine except the url rewrite of category does not work. If I use the url http://mystore.com/catalog/category/view/id/3, then I can ...
2
votes
0answers
821 views

URL Redirect does not appear in catalog [closed]

i've created a url redirect for when the user types womens/clothing/activate/[ITEM] they can get catalog/product/view/id/[ITEMID]/category/[CATID] when i use my new url redirect it works fine however ...
1
vote
1answer
1k views

Magento intermittently caching incorrect base URL

Every few hours my live Magento 1.7.0.2 installation is caching the wrong link URLs for the category navigation menu. Sometimes they use the wrong form of the domain (without the www and adding an ...
0
votes
2answers
71 views

Reliable way to determine product from product url

Is there a reliable way to determine a product from a given product url? i.e. http://mysite.com/clothes/tops/the-top.html or http://mysite.com/clothes/tops/the-top.html?___store=fr or http://...
1
vote
2answers
750 views

Same url for two different categories

please refer this url http://www.utsavfashion.in/newarrivals/saree Under the NEW ARRAIVALS category i have the subcategory named as SAREE, then All new catalogs is the subcategory of SAREE. Both ...
0
votes
1answer
174 views

Is it possible to have a customised Image URL Path?

We're in the middle of looking at the benefits of using Magento rather than Actinic/Sellerdeck, but one of the main problems we cannot find a way around so far is that we would need to keep our image ...
0
votes
3answers
4k views

Mass change product URL keys to match product names

Shopkeeper created configurable products by duplicating existing products and did not change the product URLs to match the product names. The shop is also a multilingual shop and different languages ...
0
votes
1answer
376 views

The path Problem in menu product at checkout/cart page

I have created a mega menu via one module in which i am facing a weird problem of url change. When i am on the homepage, category page or on product page the menu product URLs are working fine but on ...
6
votes
2answers
11k views

Internal links to end with a trailing slash

The links in the main navigation end without a trailing slash, which do not match the canonical tags which end without. Is there an easy way to make all links throughout the site end with a trailing ...
6
votes
2answers
9k views

Redirect 'non www prefix to 'www' prefix still not working after disabling 'Auto-redirect to Base URL'

Magento install was redirecting all 'non-www' urls to the root home page. I found these questions on the same subject: Redirected to the Homepage when add www. in any URL Redirected to the Homepage ...
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 ...
1
vote
1answer
106 views

Custom URL Per Category

I'm looking for a way to server my pages by category name. So for example I have Cellphones as the category . I then want the URL to be cellphone.mystore.com. How would I make this possible?
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 ...
1
vote
1answer
250 views

Best place to add URL Rewrite during extension install

I am working on an extension right now that needs to have a URL rewrite setup when it is installed. Is the best place to do this in a data install script? If not, where should this be done?
1
vote
2answers
559 views

Magento invalid product urls

I've been trying to get correct product urls for orders. By that I mean that when an order is created, i want to get the product url which will correspond to the store in which the order was made. At ...
1
vote
2answers
935 views

Getting Category Path in URL for EE 1.13

In Magento Enterprise Edition 1.11 we have the URLs did the following Category Lv 1 - http://me.dev.local/men-s Category Lv 2 - http://me.dev.local/men-s/clothing Category Lv 3 - http://me.dev.local/...
0
votes
1answer
235 views

URL rewriting messing with facebook likes and tweets count

I have added the Google +1, Facebook like and Twitter buttons to the products page. The problem is when 2 or more products are created with the same name, magento creates the url-key from the name ...
5
votes
2answers
13k views

How I can get secure url (https) of CMS page using url_key?

I have enable SSL and one of CMS is restricted for register users. And this page is in footer. If logged in user try to access without https it fails and redirect to my account. I want that ...
3
votes
2answers
5k views

Add Configurable Product To Cart Via Query String In 1.7

Note: This is a X-Post from StackOverflow, I put it there before remembering this subexchange existed so apologies for the double-up. My issue is surrounding the Add To Card method for configurable ...
4
votes
2answers
4k views

Indexing for large database is taking so much time

I have imported more than 1M of products for two stores. I am trying to indexing those products but it is taking long time through Admin and SSH. "Catalog URL Rewrites, Product Flat Data, Catalog ...
5
votes
2answers
8k views

Include categories in product URL

I have a product object and I need to get product URL of it that will include all its categories e.g. - http://example.com/category/subcategory/product_name I've managed to find a way that will ...
7
votes
2answers
33k views

Why do we have to use “store” for links in CMS like <a href=“{{store url='home'}}”>home</a>

To insert links in the CMS, we use this code: <a href="{{store url='home'}}">home</a> What is this "store" keyword doing and why is it called "store"? And are there any other keywords ...
16
votes
3answers
35k views

add query parameters to an existing url string

In Magento if I have a URL string, is there any built in function that I can use to add query parameters to it? In the exact case I am looking at I am generating a category URL and then I want to add ...
14
votes
2answers
23k views

Equivalent of the CMS Directive {{media url=“…”}} in Normal Block Templates

What is the equivalent of {{media url="wysiwyg/image.jpg"}} which can be used in CMS pages if we want to use this in a normal .phtml file (of the type core/template)
1
vote
2answers
2k views

How to define if url exists at Magento?

For example I have set of urls, their rewrites, etc: test1.html catalog/product.html thank-you catalog/product/view/id/34 All this URLs gives 200 OK at response. My aim is to filter incoming URLs ...
1
vote
4answers
2k views

How to get target url for entity before rewrite?

Suppose I want to open contact page: {website}/contact, this page is also represented like {website}cms/page/view/id/12. Is it possible to get somehow to get this url ({website}cms/page/view/id/12)? ...
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
1answer
45 views

What are the rules that govern which entity “wins” in the case of conflicting URL paths

If multiple entities (e.g. a category, a product, a CMS page and a module frontname) all attempt to use the same SEF URL, what is the algorithm or process that Magento uses to decide which will be ...
0
votes
2answers
264 views

The path for Categories in the main menu and Footer Menu is different

This is the path for About us in main menu http://name/index.php/about.html For Same About Us in the footer menu is http://name/index.php/about.html%EF%BF%BD%20title= The link for the Categories ...
0
votes
1answer
426 views

Urldecode bug: after adding a simple product to shopping cart on search page and redirect to current page

With Magento 1.7.0.2 If you are on catalog search page and list mode is on. Url: http://127.0.0.1/magento_test/catalogsearch/result/index/?mode=list&q=camera And redirect to current page after ...
0
votes
2answers
3k views

Magento: 'Use categories path for product URL’s to no' - Will the old URLs be auto redirected?

I need to give specs on a magento site to set 'Use categories path for product URL’s to no', but will magento automatically redirect the old urls? e.g: I want to change the URLs, so URLs such as ...
5
votes
2answers
13k views

Remove unnesessary URL rewrites

I'm trying to leave just one type of URL for product pages, it looks like this: http://example.com/category/subcategory/product-name But Magento automatically creates two more: http://example.com/...
0
votes
1answer
3k views

Static product page URL with category

I'm looking for solution of how to make the product always have a static URL with category name, no matter from what category I entered. I want URL to always look like this: http://example.com/...
1
vote
1answer
258 views

Catalog URL Rewrites Duplicate Index (HY002)

I've seen this problem all around the internet and have yet to find a reasonable solution yet. I've truncated the core_url_rewrite table, set my permissions properly, etc. It seems there is an issue ...
2
votes
1answer
402 views

_isUrlInternal method in Mage_Core_Controller_Varien_Action failing due to port number

i am implementing the currency switcher on my 1.5.1.0 CE site. it's a fairly straightforward implementation, but for some reason, once i select a currency, i get redirected to the homepage rather than ...
2
votes
1answer
955 views

Multiple stores, dynamic domains problem

In a new site, with multiple domains, I have a problem. First the several websites with their own store view: shop.mydomain.org, code shop retail.mydomain.org, code retail *.mydomain.org, code base ...
0
votes
1answer
73 views

Magento URL rewrite after heavy traffic

Whenever I have heavy traffic to certain page Magento adds "-1" to the URL and if the traffic maintains it adds "-1-1" and so so on. This makes it impossible to link back to my website.
6
votes
2answers
7k views

Setting AJAX URL for custom module

I have a JavaScript file in /js/mds/mds_collivery.js. In it I have an AJAX call that should go to magento_install_url/collivery/ajax/cptypes. It will only be used in /checkout/onepage/. However, if I ...
0
votes
1answer
184 views

URL Rewrite - Rewrite all path and subpath to one page

Is it possible to rewrite a 'general' path to one page. Ex. suppose I want to rewrite all pages that contains mage.local.com/brands/* to: mage.local.com/brands/brands.html There is any way to ...
0
votes
3answers
583 views

Magento Store URL

I have installed Magento 1.7.0.2 on my server and currently my store can be viewed at myurl.com/magento. I was hoping I could rename the magento folder to whatever I wanted to call my store, but it ...
0
votes
3answers
5k views

change subnavigation category url

can you change subnavigation subcategory urls to SEO friendly? if so how? ie: existing = store.com/apparel.html?cat=4 desired = store.com/apparel/shirts.html or anything close to that.
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 ...
4
votes
1answer
2k views

How do I get correct ajax url for backend?

I am trying to make an ajax call to reload the information on the category edit page. I know the url I am trying to create is catalog_category/edit, but $this->getUrl('catalog_category/edit') ...
10
votes
3answers
13k views

why magento product url duplicating

I am using magento 1.7. i am faceing strange problem. magento making duplicate product url with random number with wrong url key please my attached screenshot I also empty table rewrite_urls and ...
4
votes
3answers
8k views

Redirected to the Homepage when removed www. from URL

Say, My Website is : www.example.com I have one page : www.example.com/contactus If I remove "www." from above url, means : example.com/contactus It redirects me to the homepage. Why ?? Checkout ...
0
votes
1answer
672 views

Magento 1 : How to add Home Page in Top Menu?

The site URL is http://juicecore.com/. I could really use some guidance on getting that top navigation link for “Home” to point to the same CMS home page as the main URL and logo do. The top menu was ...
4
votes
1answer
3k views

Catalog URL Rewrite after daily import/update of Product

We have a scenario where we import/update products (about 12K of them) on daily basis, everything is working fine with the imports. We have different store-views (languages) in a shop. But when the ...
2
votes
1answer
6k views

Nginx working configuration for 1.7.XX

I have this store running on Apache, Magento 1.7.0.2 Then I decided to clone the application on a test server, running Nginx. I first tried mine, naive rewrite: rewrite ^(.*index\.php)\/(.*) $1?$2 ...
13
votes
5answers
12k views

404 on Store Switch with Product Store View Scoped URL Key

By default URL Key on product page is Global scoped. EDIT: As suggested by FlorinelChis the scope can be changes in Manage attributes. However this breaks the store view switcher behavior. This is ...
1
vote
1answer
2k views

What is the 'best practise' to manage Multilingual stores in Magento?

In Magento, multilingual sites are managed with store views, then we can choose different approach regarding how to manage the URLs: "Add Store Code to URLs" (a backend setting) Have different domain ...