Home  >  Article  >  CMS Tutorial  >  Where are WordPress images stored?

Where are WordPress images stored?

尚
Original
2019-07-15 13:49:538009browse

Where are WordPress images stored?

If you upload images directly through the WordPress backend, then these uploaded images will be stored in the "wp-content/uploads" folder by default—— Unless you change the default settings. Digital Inspiration gives a picture of the English version of the settings page. Here are the pictures and descriptions of the Chinese version:

Where are WordPress images stored?

All pictures of the famous blog ProBlogger are saved by default in WordPress In the directory, the year and month are displayed. You can also put pictures into three folders: "People", "Image" and "AD" according to categories. The reason why this is done is to facilitate the classification of images, and to display image links in a short format such as "essentialblog.cn/people/xx.jpg", which I personally think is more beautiful.

Obviously, the three default directories cannot be set through the WordPress backend, so how to set them? In fact, it is very simple. Suppose your blog address is http://www.kuqin.com/. It can be completed in three steps:

1. Add a new folder in the root directory where you want to place pictures. Suppose Named images.

2. Upload the image (assumed to be logo.gif) to the A folder. It is recommended to use software such as flashfxp to upload images.

3. Set the image link to "http://www.kuqin.com/images/logo.gif", successful.

Of course, some blogs do not save images on their own virtual hosts, but on external spaces such as Flicker.

For more WordPress related technical articles, please visit wordpress tutorial column to learn!

The above is the detailed content of Where are WordPress images stored?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn