Completely disable the Media Permalink generated by WP.
It’s useful for websites who doesn’t need the attachment’s page, it reduce Cookiebot crawled pages and more over.
It’s easy to use, no options, just activate the plugin and it will work as expected.
If you like this plugin and want to support my work, you can make a donation at this address: https://www.paypal.com/donate?hosted_button_id=DEFQGNU2RNQ4Y – Thank you very much!
- Install the Plugin and Activate it.
- No settings required, read the F.A.Q. to know how it work!
- That’s all! Enjoy.
How it works?
When the Plugin is active, it apply a filter to say to your WP to disable all media permalinks.
So every link like this: https://mydomain.com/category/the-post-title/attachment/my-image-slug
come back to: https://mydomain.com/wp-content/uploads/12/01/my-image.jpg
What happen when a previous permalink will open?
Since WP will no longer check these type of guid structure the old permalink will return a 404 page.
Is this plugin SEO compatible?
Obviously if you disable all media permalink, all of those could be deleted by search engines.
Depend on your SEO plugin, it could convert all media permalink to the direct file link (see your SEO plugin settings and check the sitemap.xml to understand what it contain).
If you enable the “Redirect attachment URLs to the attachment itself” function, this will stop to work, since the redirect can’t work without the media permalink.
Do the plugin something with database?
No! The plugin never write anything to your wordpress database, so it is 100% safe to use!
Can I restore all media permalink?
Of course, You can do it with a single click!
* Simply disable or uninstall the plugin
* Your permalink structure and all previous permalink will work again.
Người đóng góp & Lập trình viên
“Disable Media Permalink by Hardweb.it” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.Những người đóng góp
“Disable Media Permalink by Hardweb.it” đã được dịch qua 1 ngôn ngữ. Cảm ơn những người tham gia dịch vì đóng góp của họ.
Dịch “Disable Media Permalink by Hardweb.it” sang ngôn ngữ của bạn.
Muốn tham gia phát triển?
Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.
Nhật ký thay đổi
- First stable release