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

Published September 14, 2022

replace email template default header and footer

can I replace the header and footer by using block in this email template file? I want to use something else that […]

SalesWarp Partners with Full Service Magento and Web Development Agency …
Published April 10, 2013

SalesWarp Partners with Full Service Magento and Web Development Agency …

“Eyemagine’s expertise and build-to-fit approach is a perfect complement to SalesWarp’s open source flexibility”, says David Potts, SalesWarp CEO Las Vegas, NV […]

What are optimal mount options to solve persistent Silent Data Corruption on SMB Share (Hyper-V Debian Guest to Windows 11 Host)?
Published January 17, 2026

What are optimal mount options to solve persistent Silent Data Corruption on SMB Share (Hyper-V Debian Guest to Windows 11 Host)?

I am experiencing silent data corruption when reading/writing large files from a Debian guest via a SMB share hosted on a Windows […]

Magento 2 layered navigation for categories
Published February 14, 2020

Magento 2 layered navigation for categories

I’m having a hard time understanding how to have my categories work as layered navigation options in my sidebar. I see that […]

Interesting

  • How to open a specific commit (by hash) in VS Code’s multi-diff view?
  • Is this the best way to rename multiple files in a Window folder using PowerShell?
  • When should I be using a fan controller over the ones on the motherboard?
  • Windows 11 taskbar search keeps loading forever and never shows results
  • OS drive image-level backup software with exclusion of files and folders [closed]
  • How can I set a hard cost limit for a single request in GitHub Copilot desktop app?
  • How do I get back db_ddladmin rights lost due to server replication?
  • Audio popping after idle on Dell Pro Max 16 MC16250 – where are the idle power settings in registry?

Post navigation

  • Previous post Magento 2 require to create SQL query for the custom report
  • Back to post list
  • Next post Is it possible to disable Magento Message Queues
——————-
  • How to open a specific commit (by hash) in VS Code’s multi-diff view?
  • Is this the best way to rename multiple files in a Window folder using PowerShell?
  • When should I be using a fan controller over the ones on the motherboard?
  • Windows 11 taskbar search keeps loading forever and never shows results
  • OS drive image-level backup software with exclusion of files and folders [closed]
——————-
  • 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

© 2026 Rubin Shrestha – All rights reserved

Powered by WP – Designed with the Customizr theme