Questions tagged [url-rewrite]

Denotes questions about URL Rewrites Management.

Filter by
Sorted by
Tagged with
6
votes
1answer
3k views

Web Server (Apache) Rewrites on NGINX

I'm planning to use NGINX rather than Apache as my webserver on my next Magento project and am wondering about the Use Web Server (Apache) Rewrites on the Magento installer wizard? What exactly do ...
0
votes
2answers
820 views

getProductUrl not returning a valid URL

At the moment, I have a controller that returns the url for one product, based on a pre-defined custom attribute. I'm able to get the product I want, but the url that I get from the object, takes me ...
0
votes
0answers
58 views

https via htaaccess multiple website rule

I'm using 2 websites on 2 domains. I'm loading correct website via htaaccess with rules as below: RewriteCond %{HTTP_HOST} .*clothes\.eu [NC] RewriteRule .* - [E=MAGE_RUN_CODE:clotheseu] RewriteCond %...
2
votes
2answers
332 views

Redirecting to Non-SEO Friendly Url

I have upgraded my Magento store from EE 1.11 to EE 1.14 Problem After upgrade I have changed URL key for one category. Now on frontend it is showing me correct URL on mouse hover but when I am ...
3
votes
0answers
26 views

Enterprise Catalog Routing & Rewrites [duplicate]

I'm working on a Magento Enterprise site and I'm having an issue figuring out how catalog routing and rewrites work in EE 1.14.1.0. In Magento CE, the core_url_rewrite table is used to transform a ...
0
votes
1answer
3k views

Change magento checkout URL

I want to change/translate the default magento cart and checkout URL. I use the default Magento checkout. So http://www.(domain).com/cart will be http://www.(domain).com/winkelmand and http://www.(...
1
vote
2answers
833 views

Block access to system URLs through htaccess or some other way?

Is there a way to block access to the system URL's so a customer or bot would get a 404 or 403? I've done research into the rewrite rules and can't seem to find a way to mass rewrite the products' ...
5
votes
1answer
3k views

Prevent automatic URL rewrites created that include category URL key in product URL

Whenever I create a new product, Magento automatically creates unnecessary URL rewrites that include each category and subcategory combination, that use the categories' URL keys in the product path. ...
1
vote
1answer
518 views

URL key regenerating from tilte in magento 1.8 CE

I have a magento 1.8 with 5 storeviews (IT -EN - DE- FR -ES) I set the Italian (IT) as Default Store View. Then I figured out that, if i select "Default values" or "IT" store view from the left ...
0
votes
1answer
47 views

How can I switch categories back to the non SEO-friendly URLs?

This may seem weird, but I want to know how to stop using the SEO-friendly URLs for categories. So instead of something like: /apparel/shirts.html I want /catalog/category/view/s/shirts/id/188/
3
votes
1answer
182 views

Stop generating URLs for German, Russia and French after reindexing catalog_url rewrites

Can anyone please let me know how to stop generating urls for German, Russian and French stores after reindexing catalog_url. I tried disabliing stores in the system --> admin --> Manage Stores but ...
8
votes
2answers
822 views

Weird non system rows being added to core_url_rewrite

Our core_url_rewrite table seems to be growing excessively (21M rows currently) - I know there have been other questions about this, but none of them seem to mention this particular oddity: a lot of ...
1
vote
1answer
1k views

Automatically switch store from category/view and product/view

Magento site with multiple store setup, different root category for each store, yet all products are visible from anywhere within the same website. Product url rewrites are enabled. Say I'm browing a ...
0
votes
1answer
533 views

URL Rewrites And Layered Navigation

Is it normal for urls to not be rewritten when using Layered Navigation to click thru categories? For example: A category when clicking via the main top menu is: http://www.mywebsite.com/clothing/...
0
votes
1answer
178 views

how do i delete urls of other stores in magento?

Can anyone please let me know how do i keep urls of english stores and mass delete urls of Russian, French, German stores etc? because at the moment i have 8 Million URLs and how do i stop generating ...
4
votes
1answer
1k views

Magento 1.9.1. CE : Disabling core_url_rewrite

I'm looking for an effective solution to disable completely core_url_rewrite table. I've disabled the Url Rewriting on the backend, but each time i add or update a product, an url_key is written to ...
0
votes
1answer
31 views

Is there a way to not old urls back to the homepage utilizing the admin panel?

Or do you have to use the htaccess. The reason i ask is because i just changed our URL structure from www to http and for legacy URL's that might be out there existing on other websites, i do not ...
0
votes
1answer
3k views

Duplicate product issue in magento 1.9

I am facing some issue with product url when i duplicate product. In detail, Existing Product: Existing_product Duplicate Product : Duplicate_product After duplicating(clicking on "Duplicate" of ...
2
votes
1answer
98 views

Magento 404 Security Question

I have a Magento 404 question: This generic product url looks like this http://www.domain.com/some-magento-product.html But from a security standpoint. how would a request to something like this ...
0
votes
1answer
2k views

Magento URL Rewrite rule in htaccess

I am doing a project in magento, i just wanted to rewrite the URL for landing page. For example: http://release.contus.us/services/SVEP1663/airhotels/property/country/?country=Vietnam this is my ...
1
vote
1answer
520 views

Have different urls for desktop and mobile sites [closed]

In my project, I want to have different urls for Desktop site and mobile site. For example: www.example.com // For Desktop www.example.com/m // For Mobile site How to do this? Both ...
5
votes
3answers
2k views

Case Sensitive URL Rewrites

I wish to create a series of rewrites so that the following redirect occurs: Request: Category/ProductName.html Target: category/productname.html At present, visiting Category/ProductName.html ...
2
votes
1answer
2k views

404 Errors when trying to access other subdirectories in root with magento serving as primary (Solved)

I have magento located in a subdirectory in public_html/magento the .htaccess I used to redirect magento to the root is based on installing Magento in subdirectory Root .htaccess file contains ...
1
vote
1answer
1k views

How to change the default Magento Shopping Cart URL [duplicate]

I would like to change the shopping cart URL from /checkout/cart/ to /checkout/bag/. Is it possible to modify the default URL, and if so, how?
0
votes
2answers
152 views

Brand Links as a Subdomain

I have a link about Acana. Link is listing all Acana branded products. Here it is; https://www.solempet.com/acana I want to change it to acana.solempet.com for seo reasons. How can i do this? I ...
0
votes
3answers
170 views

if click on “URL Rewrite Management” create error

today in my store magento if click on "URL Rewrite Management" in backend menu create this error(this is a log) eTrace: #0 /home/lecolartga/www/app/code/core/Mage/Eav/Model/Entity/Attribute/...
1
vote
1answer
38 views

Product Rewrite

Hi is this normal i have my product url to rewrite, When the link is intitially clicked i get a nice clean URL as below http://www.stickerstocker.co.uk/learning-resources-soft-foam-sight-words-cubes-...
1
vote
1answer
53 views

Create semantic url to redirect to section on frontpage

I would like to create a semantic URL for my print material that should look something like mysite.com/newsletter. However I do not have a specific page for my newsletter at the moment. Therefore I ...
1
vote
1answer
3k views

Magento URL Redirect from One product to Another product

After reading about Magento URLs redirect, I thought it would be simple and straight forward. When its time for an action, I faced nothing but disappointment. What do I need : I want to create a URL ...
0
votes
2answers
4k views

how to redirect URL in magento?

I have changed my domain name. I want to redirect users when they type old URL... suppose Old URL was: Google and New old URL is : googled So when a user enters my old URL, it should redirect to new ...
1
vote
1answer
701 views

The buy now button goes directly to the cart and it should go to the product page first

I don't have a whole lot of information on why this is happening and so this is going to be a fairly straight forward question. I have 8 products and they all direct to the product page except one. ...
2
votes
2answers
746 views

how to use subdirectories in the url-key

I need to save a subdirectory within the url-key for products and categories but the rewrite rule from Magento still converts the "/" into a "-". Has anyone a idea to solve this "problem"?
2
votes
4answers
10k views

Remove parent categories from subcategory URLs

I realise similar questions have been posed before, but I have an additional caveat when I ask the following question. How can Magento URLs be rewritten such that: http://www.example.com/category/...
2
votes
0answers
155 views

Delete old Urls from database

Good morning! Is it possible to delete old url records in the database without harm the system? My problem is a shop that first started with one storeview in english. Years later they added a ...
2
votes
1answer
74 views

Magento catalog url rewrites undo

Is it possible to Undo Magento Catalog URL rewrite? By accident this happened and I was wondering if it´s possible to undo this and then have the old URLs back.
2
votes
0answers
62 views

Create new product with same URL as deleted product? [closed]

We had to delete a product and re-add it because we needed to remove a configurable attribute but now when I try to add the new product and use the same URL it generates a Page Not Found error. http:...
2
votes
0answers
131 views

Magento Enterprise url rewrite in observer

We tried to implement this scenario in ee 1.13: we have a custom product attribute (new_edition_id), when a product is saved, if this attribute is set, we want to create a url rewrite from current ...
0
votes
1answer
375 views

URL's creating Duplicate Content best practices?

I am using the Community Edition and recently started working on Magento on a site that has been live for 3.5 years. I noticed that in Google Analytics, I am getting 2 different results on the CMS ...
2
votes
1answer
453 views

Where are Magento URL rewrites stored?

I would like to restore my URL rewrites file to an earlier time before I made changes but I don't to do a full database restore if it's not necessary. Is there a certain file I can restore instead? ...
1
vote
1answer
775 views

Use Categories Path for Product URLs NO not working for one store of multi-store setup

I have 2 stores on a my Magento setup ver. 1.7.0.2 http://www.gmesupply.com and http://www.colsafety.com I am trying to use the option "Use Categories Path for Product URL" NO for both store but the ...
0
votes
1answer
27 views

Site moved between servers, url now has /default in them

The magento site been moved with all files from Server A to Server B, everything working fine until we noticed a small change with the URLs. Before the move the url would be domain.com/category-a ...
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
3k views

product url changed every time reindexed

I have many products without url key specified. Use web server rewrites is turned on. Every time I re-index all, a product's url will change. Why? What's the correct way to configure url rewrites? I ...
0
votes
1answer
766 views

The url in my links shows index.php but the page are working without index.php in the url

Ok, so I have tried countless solutions and not one of them worked for me. My problem is that every link in my Magento installation contains the infamous "index.php" string. Now, if I click on one ...
1
vote
2answers
11k views

How can I get the correct product url based on store view?

I have 2 store view: www.example.com (EN Store) www.example.it (IT Store) and I have 2 different urls that point at the same products: www.example.com/car-honda-civic.html (<--- I want obtain ...
5
votes
1answer
98 views

Friendlier URL for admin pages?

I'm trying to determine how to remove index.php from the Admin page URLs. I already know how to do it for SEO on public facing pages as is documented here. And "Use Web Server Rewrites" is already ...
0
votes
3answers
250 views

Magento always loading on https

Our Magento store is loading on https, not only on the checkout as we wanted. I set unsecure to http://www.yourdomain.com/ and secure to https://www.yourdomain.com/ Also set the use secure URL's on ...
1
vote
1answer
839 views

How can I redirect if only a part of url match?

I have 2 different domains: www.mysite.com www.mysite.it and my product urls are something like: www.mysite.com/car-nissan.html www.mysite.it/auto-nissan.html Can I use wildcard in Magento backend ...
0
votes
1answer
869 views

category/ url key not accept language other than english?

i want to input some chinese url key for seo optimization in my region, but when i input some chinese character, the category and product was saved nothing. Any solution?
1
vote
1answer
50 views

How can i redirect my magento page with urlkey [closed]

How can i redirect my magento page with urlkey in my controller i just made custom form that save data in database after submit data i want to redirect to same page where that data sent but want ...