Skip to content
Rubin Shrestha
  • Rubin Shrestha
  • Profile
  • Blog
  • Nepali Typing
  • Contact
  • Search
Rubin Shrestha
  • Search
  • Rubin Shrestha
  • Profile
  • Blog
  • Nepali Typing
  • Contact
Home » Blog » Media and static files are accessible with and without pub folder
Blog

Media and static files are accessible with and without pub folder

by |Published December 30, 2019

I have followed below magento instructions. I am using the the default nginx file provided by magento. Media and static files are accessible with and without pub folder. Example I am able to access example.com/pub/banner.jpg and example.com/banner.jpg

https://devdocs.magento.com/guides/v2.3/install-gde/tutorials/change-docroot-to-pub.html

  • Magento
  • Magento1
  • Magento2

You may also like

What settings can or can’t be changed with code? [closed]
Published December 4, 2021

What settings can or can’t be changed with code? [closed]

Out of the settings available in the regular windows 10 Settings app, what can be accessed through API code and how? Mainly, […]

Remove Catalog View Limit
Published May 23, 2020

Remove Catalog View Limit

I noticed recently that the catalog view is limiting the products fetched to 10,000. Is there a way to override this: https://store.dtacollectibles.com/comics […]

How would you design objects whose purpose it is to get “metadata” from models? Example in post.
Published February 3, 2020

How would you design objects whose purpose it is to get “metadata” from models? Example in post.

Let’s say I got a model called “Chef”. This object has methods such as what kinds of dishes this chef is able […]

WordPress Edit Pages
Published December 30, 2021

WordPress Edit Pages

WordPress is an open-source Content Management System that is totally based on PHP and MySql which is used to create a dynamic […]

Interesting

  • Refactor code create cron Magento 2.4.3 to 2.4.7
  • Magento 2.4.7-p3 Deprecate class ActionAction and constructor parent::__construct($context);
  • Catalog Search Product Status Stock
  • cosmicsting security patch for magento 2.4.0
  • Setting config values for integration tests
  • Can’t disable “password required” when exiting my screensaver (Mac)
  • how to ffmpeg encode as 6-bit color?
  • RPI: Use a WiFi AP to broadcast the RPI local network

Post navigation

  • Previous post Magento 2.3 remove Yotpo module
  • Back to post list
  • Next post Is it possible to disable Magento Message Queues
——————-
  • Refactor code create cron Magento 2.4.3 to 2.4.7
  • Magento 2.4.7-p3 Deprecate class ActionAction and constructor parent::__construct($context);
  • Catalog Search Product Status Stock
  • cosmicsting security patch for magento 2.4.0
  • Setting config values for integration tests
——————-
  • Rubin Shrestha
  • Profile
  • Blog
  • Nepali Typing
  • Contact
——————-
  • Blog
  • Contact
  • Nepali Typing | Nepali Unicode | English to Nepali | English Conversion | English Translate | नेपाली to English | नेपाली टाईपिङ
  • Occasional Photography
    • The desert that everybody loves in pictures
  • Photography
  • Rubin Shrestha

© 2024 Rubin Shrestha – All rights reserved

Powered by WP – Designed with the Customizr theme