Css and js file can be open from browser:

Image is available at location.

Loadin Properly from cms-pages.

Image URL:

Not loading from catalog/category

Image URL:

Image URL giving error:

Forbidden You don't have permission to access this resource.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

Apache/2.4.41 (Ubuntu) Server at Port 80

URL Rewrite is enable. 777 pemission given to pub folder.

Any help will be appreciated, Thanks.

1 Answer 1


Try to run this command :

php bin/magento cache:clean
php bin/magento cache:flush
php bin/magento indexer:reindex
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
sudo chmod -R 777 var/ generated/ pub/

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.