Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: A Common error which customer's come up with regard to "Magento".  (Read 2608 times)

0 Members and 1 Guest are viewing this topic.

akhils

  • Guest
When a customer approaches with an issue where he/she says, he/she is not able to access the links under the main domain and mentions that the page is depended on "Magento", it is most likely an issue with ".htaccess" file missing under the document root of that particular  domain.
==============
In order to resolve this issue, add the .htaccess file with contents as below {Magento default .htaccess file}
==============
    ##
    ## Default Magento .htaccess. Modify RewriteBase as needed to point to     
    ## installed magento script directory
    ##
     
    Options +FollowSymLinks
     
    RewriteEngine On
     
    RewriteBase /
     
    RewriteCond %{REQUEST_URI} !^/media/
    RewriteCond %{REQUEST_URI} !^/skin/
    RewriteCond %{REQUEST_URI} !^/js/
    RewriteCond %{REQUEST_URI} !^/var/
     
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-l
     
    RewriteRule . index.php [L]
==============
Save it under the document root and change the ownership of the same to the default ownership of files under the document root.  :)