1

I'm getting a 403 Forbidden error on one of my Magento webshops. It is a multi-shop Magento installation. For the main/base webshop I have created a new version, so the main/base URL's had to be changed for the old version.

The old version now has a dummy/test domainname as Base URL but it is giving me a 403 Forbidden error. This is frustrating because I need to be able to access the backend to see orders and information on the other webshops wich are running on this multi-store Magento installation.

Situation:

OLD SERVER:

DOMAINS:

  • main.nl <- This is replaced by test/dummy.nl which now gives a 403
  • sub1.nl
  • sub2.nl

NEW SERVER

DOMAINS:

  • other main.nl
  • main.nl (domain migrated from old server to new magento installation)
Bishal Neupane
1631 gold badge3 silver badges15 bronze badges
asked Oct 3, 2015 at 7:54
2
  • Still haven't found the solution is there somebody who can help? Commented Oct 9, 2015 at 9:14
  • i'm also experiencing the same problem, in my case, some files on pub/media/ (ex: example.com/pub/static/version1594835608/adminhtml/Magento/…) returns error 403. i've been stuck on this problem for more than 2 days Commented Aug 5, 2020 at 21:29

2 Answers 2

0

In my case, it was due to a recent change to theme and composer update.

Go to /pub/static/ and delete everything except .htaccess. Do the same for /var/ (exclude backups folder if you have backups).

answered Aug 5, 2020 at 21:41
-1

You need change permission 755 for folder and 644 for file.

answered Oct 3, 2015 at 16:21
1
  • But there hasn't been changes to the permissions. The only thing that changed was the Base URL. Commented Oct 6, 2015 at 7:12

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.