Questions tagged [url]

Denotes question about URL issues and custom URLs.

Filter by
Sorted by
Tagged with
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
430 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
261 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
405 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
959 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
186 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
605 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 ...
2
votes
1answer
218 views

Magento Link to Another Module

$fieldset->addField('orderinfo', 'link', array( 'label' => Mage::helper('web')->__('Order Info'), 'style' => "", 'href' => "*/".$url, 'value' => '...
29
votes
5answers
21k views

Different storeviews or websites in subfolders

A client wants his multistore shop to be set up like this: http://www.domain1.org/de/ -> website 1, store view 1 http://www.domain1.org/en/ -> website 1, store view 2 http://www.domain1.ch/de/ -> ...