User Tools

Site Tools


technical_notes:public:magento-htaccess-url-rewrite

Parent

PHP - Magento - Content of .htacess for url rewriting

<IfModule mod_php5.c>
    php_flag magic_quotes_gpc off
    php_flag short_open_tag on
</IfModule>

DirectoryIndex index.php

RewriteEngine on
RewriteCond $1 !^(index\.php|media|skin|js|robots\.txt)
RewriteRule ^(.*)$ /magento/index.php/$1 [L]
#RewriteBase /

sources : http://www.magentocommerce.com/boards/viewthread/1329/#t6280

technical_notes/public/magento-htaccess-url-rewrite.txt · Last modified: 2013/10/12 21:31 by Fabien Arcellier