Apraksts
The default behavior in WordPress is to generate attachment pages for all of the images in your media library. While this can sometimes be useful, it can also cause problems.
When you upload an image to your media library without inserting it into a post or page, it becomes an unattached image. By default, these images generate attachment pages with no pretty permalink structure. This isn’t very useful for anyone, including search engines.
This plugin takes all of these unattached images and safely redirects them using a 301 redirect to your site’s home page. If you’re using WordPress multisite, it redirects to the current site’s home page. There are no options or settings, just install, activate, and enjoy better SEO and less useless pages on your website!
Uzstādīšana
The easiest way to install this plugin is to download directly form the WordPress admin panel and active the plugin. Alternatively, you can download it and install it manually by doing the following:
- Upload the
redirect-unattached-images
directory to the/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Sit back and relax. You’re done!
BUJ
None yet!
Atsauksmes
Autori un izstrādātāji
“Redirect Unattached Images” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.
LīdzdalībniekiTulkot “Redirect Unattached Images” savā valodā.
Vai jūs interesē attīstība?
Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.
Izmaiņu žurnāls
0.1.2
Change of ownership.
0.1.1
Made a minor improvement to the way attachments are checked before being redirected.
0.1.0
Initial release.