How to Upload an Image on Orchard Easily
Orchard Core SEO with Media Slugify
Orchard Core has a really nice media library to store diverse documents and images to exist used as assets for the Orchard Core website. The media library allows one to drag and drop and upload images that may exist part of a blog postal service or photo gallery. These images are stored in the media library without question and can be selected using an Orchard Core MediaField or ContentPickerField for inclusion into various Content Items. The media library UI helps non-technical authors and contributors easily add assets to author and contribute to content for the Orchard Core website.
The Orchard Core media library doesn't question the naming conventions of the documents and images. If y'all upload an paradigm to Orchard Cadre that has spaces and other unfriendly SEO characters, the media library will let you lot to exercise so. Although yous can offer website preparation and guidelines to not-technical contributors on how to best name the assets to aid with SEO, it's hit and miss as to whether those guidelines are followed when adding content to the media library.
Orchard Core has a built-in solution to assistance optimize the naming of new assets added to the media library, called Media Slugify. When enabled, Orchard Cadre's Media Slugify will rename the prototype before saving it to the media library to remove whatsoever spaces and unfriendly SEO characters. If you're interested in Orchard Core SEO, you lot may want to enable this feature on your Orchard Core website.
Orchard Core Media Slugify
Most of the features in Orchard Core can be enabled and disabled from the Orchard Cadre Admin Dashboard. Login to Orchard Cadre as an administrator and navigate to Configuration -> Features. In the listing of Orchard Core features is the Media Slugify feature. Unless your Orchard Core Setup Recipe explicitly enables Media Slugify, it will be disabled by default and demand to exist enabled manually.
The description of Media Slugify is self-explanatory: The media slugify module slugifies new folders and files to make them SEO-friendly. Slugify in this context refers to the paradigm (or document) proper noun, which is substantially the slug portion of the URL (route) for the prototype in the Orchard Core Media Library. Although I won't discuss information technology in particular in this Orchard Cadre tutorial, Media Slugify also renames folders in the media library to make them more SEO Friendly. If y'all add together a folder to the media library chosen "my folder", it will be renamed as "my-binder".
In one case you enable Media Slugify all new media added to the Orchard Cadre Media Library will be renamed to exist more SEO friendly. If I drag and driblet a new prototype to the media library chosen "owl photo (2021).jpg" without Media Slugify, information technology will take an undesirable slug from a search engine optimization standpoint.
...media/owl%20photo%20(2021).jpg When I elevate and drop the same photo to the Orchard Core Media Library with Media Slugify enabled, the URL will be very SEO friendly for search engines similar Google, Bing, etc.
...media/owl-photograph-2021.jpg Media Slugify will not rename existing assets in the Media Library when enabled, which is why it's important to enable it earlier than later when adding content to your Orchard Core website. In many cases, I enable the feature as part of the Orchard Core Theme's Setup Recipe. Media Slugify can easily be disabled later if the feature is undesirable, and enabled and disabled at will depending on the Orchard Core website'southward needs.
Orchard Core Media Slugify and Azure Blog Storage
Media Slugify runs independently of the underlying media storage. If you're hosting your Orchard Core Media Library on Azure using Azure Blob Storage, Media Slugify volition properly optimize the names of new folders and assets beingness added to the media library for search engines. I have Orchard Core clients successfully using Media Slugify with my Dropbox Media Storage when hosting the Orchard Core Media Library on Dropbox, too. In both cases the names of the folders and images used in the Orchard Core websites are SEO friendly.
Conclusion
If you're an Orchard Core developer or Orchard Core administrator interested in Orchard Core SEO, the Media Slugify feature helps maintain SEO friendly folders and assets for your Orchard Core website. New folders and images added to the Orchard Cadre Media Library will be renamed (if necessary) to make them more SEO friendly. Media Slugify works when using Azure Blob Storage or other custom media library storage, such as Dropbox Media Storage for Orchard Core. Media Slugify will not alter existing folders and images in the media library when enabled. I recommend enabling information technology when beginning developing Orchard Cadre websites as it tin easily exist disabled and re-enabled at anytime. A great place to enable Media Slugify is in your Orchard Core Theme's Setup Recipe.
Source: https://www.orchardcore.io/blog/orchard-core-media-slugify-seo
Postar um comentário for "How to Upload an Image on Orchard Easily"