Questions tagged [.htaccess]

Questions about `.htaccess` files in Magento, used to configure the Apache webserver

Filter by
Sorted by
Tagged with
1
vote
1answer
243 views

Change URL for /cat/

I want to put a Magento Redirect rule to change the URL for filtering products and category. When I use the filter in a category, the urls are look like this : FROM: http://example.com/redwine TO :...
0
votes
0answers
28 views

.htaccess redirect to ssl and non-www [duplicate]

I need a redirect handeling url's like this: http ==> https www ==> non-www Somebody calling http://www.mydomain.de/mypath ==> https://mydomain.de/mypath At the moment he gets redirected to https://...
1
vote
0answers
46 views

Picture generation does not work after URL redirect in .htaccess

Picture generation does not work after URL redirect in .htaccess with the following script: <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{...
2
votes
1answer
436 views

htaccess redirect except backend

We are running a magento installatino with two websites. I have configured a .htaccess redirect with GeoIP in order to redirect visitors from one country to website number two. This works, however ...
2
votes
1answer
110 views

my .htacces is empty

I would edit the .htaccess file, but there only was : Order deny,allow Deny from all that is normal? This file was in the subdirectory app , in the root directory there wasn't any file
1
vote
1answer
410 views

Yandex bot in my website

I have noticed that when I'm surfing my website, where it appears the Waiting for www.whatever.com... on the left-bottom corner from google chrome it appears suddenly a Waiting for mc.yandex.com... ...
1
vote
1answer
428 views

magento shop down by bots crawling

I have a problem with my magento store. Every now and then when a bot crawls my shop, the website goes down. I have made changes to robots.txt and .htacces. Also varnish is installed and a full page ...
3
votes
1answer
1k views

Magento under WordPress as subdirectory not working

I am using GoDaddy server. I have WordPress as root directory and i have setup Magento from local to server inside root as subdirectory. Magento home page is working fine,but when i try to open any ...
3
votes
1answer
85 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 ...
2
votes
1answer
736 views

How to restrict admin access based on Role Created with IP?

I have created 2 separate roles under Permission -> Roles. 1). For Employees 2). For Suppliers I was wondering how to restrict Role: Employees to access admin area only from specific IP. We have ...
1
vote
1answer
12k views

PHP.ini and htaccess files missing 1.9 magento

Hi im creating a magento website for a tile company and having some problems with "memory size of 33554432 bytes exhausted" when i try to create a configurable product it gives me front end errors and ...
1
vote
1answer
193 views

Multi-website Setting

To setup multi-website store, I'm following this https://www.magentocommerce.com/knowledge-base/entry/tutorial-multi-site-multi-domain-setup I think I did everything but Edit the .htaccess As the ...
2
votes
1answer
101 views

What is the best way to re-write Catalog Search Results?

We currently have a site that serves search results like the following: http://www.domain.com/catalogsearch/result/?q=firstparam+otherparam+stuff Ideally, we'd like it to serve it via: /firstparam+...
0
votes
1answer
172 views

one splash page for two websites magento

My goal here is to create one splash page for only the two with the same domain. This page would link to each website (website2.com/store1, website2.com/store2). Using Magento, I have 3 websites with ...
2
votes
1answer
788 views

Magento has become incredibly slow, timing out, errors, cpu abuse

I have been using Magento for around a month and it was never this troubled. I recently reinstalled it and put on a theme i bought, EM Gamewin. In order for this theme to work I needed to use the ...
1
vote
1answer
4k views

Magento - “Create Permanent Redirect for old URL” in bulk

We have 20,000 listings and had to bulk update Name (title) for all of them. We want the URL to be in accordance with new Name, but we want to keep the old URL's as well and have them 301 redirected ...
2
votes
1answer
863 views

How do I set .htaccess so people can't see cron.sh and mage?

How do I set .htaccess so people can't see cron.sh and mage? I kind of feel like nobody should be able to get to anything except index.php from the outside. Yet Magento's default .htaccess file has ...
1
vote
1answer
2k views

SetEnv variable in .htaccess in magento

In .htaccess file in magento if SetEnv variable is set how this is processed in magento. For example: SetEnv MAGE_RUN_CODE store How does this works in magento index.php and displays the ...
1
vote
1answer
73 views

/errors/ folder accessible?

I have noted that in default Magento .htaccess the /errors/ folder is accessible and open it in a browser list the content of the folder. How to address it ? Add Options -Indexes to the main ....

1 2
3