.htaccess restrictions for Magento Installs

 

If you installed Magento with Softaculous, then the necessary .htaccess modifications will have already been applied to your site. But if you install Magento manually, then you will need to make the changes as described below.

Paths are given as /home/$USER/public_html/ where USER is your cPanel username. If your Magento install is located in a folder, please amend the path as needed to include the folder name(s).

/HOME/$USER/PUBLIC_HTML/.HTACCESS

Find the Line:

Options +FollowSymlinks

And change to:

Options +SymLinksIfOwnerMatch

/HOME/$USER/PUBLIC_HTML/MEDIA/.HTACCESS

Find

Options All -Indexes

AND Change to:

Options -Indexes

Find

Options +FollowSymlinks

And change to:

Options +SymLinksIfOwnerMatch
  

Revisions

There are no revisions for this post.

Tags: ,

No comments yet.

Leave a Reply