Home >CMS Tutorial >WordPress >In which folder are photos uploaded to wordpress saved?

In which folder are photos uploaded to wordpress saved?

尚
Original
2019-07-16 12:00:065251browse

In which folder are photos uploaded to wordpress saved?

If you upload images directly through the WordPress backend, these uploaded images will be stored in the "wp-content/uploads" folder by default Inside - Unless you make changes to 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:

In which folder are photos uploaded to wordpress saved?

All pictures of the famous blog ProBlogger are saved in It is in the default directory of WordPress and displays the year and month. 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 In which folder are photos uploaded to wordpress saved?. 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