=== Clearfy - disable unused features === Tags: remove rest api, disable emoji, remove rss feeds, remove meta generator, Yoast SEO remove comments, Yoast SEO, Yoast SEO breadcrumbs, remove rsd link, seo, SEO, dns-prefetch, remove dns-prefetch, meta generator, rsd, rsd link, wlw manifest link, remove wlw manifest link, next link, prev link, remove next link, remove prev link, canonical link, remove canonical link, shortlink link, remove shortlink link, emoji, attachment pages, remove attachment pages, rss feeds, disable rss feeds, rest api, disable rest api, remove rest api, clearfy, archives date, post pagination, archives author, hide login errors, recent comments, tag, rpc, xml, xml rpc, xmlrpc, admin bar, remove querystrings, reduce HTTP requests, disable heartbeat, disable revision, heartbeat, revision, clean, optimize, rest-api Contributors: webcraftic Requires at least: 4.2 Tested up to: 4.8 Stable tag: trunk License: GPLv2 Disable the rest api, emojis, rss, xml-rpc, revision. Remove Yoast SEO Comments, reduce HTTP requests, heartbeat and revision control. == Description == We developed the "Clearfy - disable unused features" plugin with simplicity in mind. We use all of these optimizations on our own sites and are excited to provide an easy way for you to now have them too! No messing around with code or your functions.php file. Performance optimizations shouldn’t have to be complicated and so everything can be enabled/disabled with a single click. This plugin will remove query strings from static resources like CSS & JS files inside the HTML element to improve your speed scores in services like Pingdom, GTmetrix, PageSpeed and YSlow. +28 points to improve your site, SEO optimization, reduce HTTP requests, delete duplicate pages, cleanup code from garbage, correct redirects, advanced protection and more ... Current features include: * Remove REST API Links The WordPress REST API provides API endpoints for WordPress data types that allow developers to interact with sites remotely by sending and receiving JSON (JavaScript Object Notation) objects. However, a lot of sites don’t use this, and therefore in most cases, it is just unnecessary code. Clearfy: Removes REST API link tag from the front end and the REST API header link from page requests. * Disable Emojis Emojis are fun and all, but if you are aren’t using them they actually load a JavaScript file (wp-emoji-release.min.js) on every page of your website. For a lot of businesses, this is not needed and simply adds load time to your site. So we recommend disabling this. Clearfy: Removes WordPress Emojis JavaScript file (wp-emoji-release.min.js). * Remove dns-prefetch Since version 4.6.1 in WordPress there are new links in the section this type of: Clearfy: Removes dns-prefetch links from the section * Remove RSD Link The above link is used by blog clients. If you edit your site from your browser then you don’t need this. It is also used by some 3rd party applications that utilize XML-RPC requests. In most cases, this is just unnecessary code. Clearfy: Remove RSD (Real Simple Discovery) link tag. * Remove wlwmanifest Link This link is actually used by Windows Live Writer. If you don’t know use Windows Live Writer, which we are guessing you don’t, this is just unnecessary code. Clearfy: Remove wlwmanifest (Windows Live Writer) link tag. * Remove Shortlink By default, the following tag shows up in every WordPress install. This is used for a shortlink to your pages and posts. However, if you are already using pretty permalinks, such as domain.com/post, then there is no reason to keep this, it is just unnecessary code. Clearfy: Remove Shortlink link tag. * Remove links to previous, next post If you use Wordpress as a CMS, then you can delete these links, they can only come in handy for a blog. Clearfy: Remove the previous and next post links within the wp_head of your wordpress theme. * Remove .recentcomments styles WP by default for the widget "recent comments" prescribes in the code styles that are almost impossible to change, because to them apply! important. Clearfy: Removes .recentcomments styles from head section. * Automatically set the alt attribute The alt attribute is mandatory, so most SEO experts say. If you missed or did not fill it at all, it will be automatically assigned and will be equal to the title of the article. Clearfy: Replaces the , on attribute with an article name Hello world * Replace external links in comments on the JavaScript code Superfluous external links from comments, which can be typed from a dozen and more for one article, do not bring anything good for promotion. Clearfy: Replaces the links of this kind of example, on links of this kind example * Replace external links from comment authors on the JavaScript code Up to 90% of comments in the blog can be left for the sake of an external link. Even nofollow from page weight loss here does not help. Clearfy: Replaces the links of the authors of comments on the JavaScript code, it is impossible to distinguish it from usual links. * WordPress does not know how to give the Last Modified header in the server's responses. You can do this using the settings below. Clearfy: Automatically insert the Last Modified header, return an If-Modified-Since responce * Remove duplicate names in breadcrumbs WP SEO by Yoast The last element in the breadcrumbs in the Yoast SEO plugin duplicates the title of the article. Some SEO-specialists consider this duplication to be superfluous. Clearfy: Removes duplication of the name in the breadcrumbs of the WP SEO plugin from Yoast. * Remove the tag from XML site map Yandex.Webmaster swears on a standard XML card from the plugin Yoast, tk. it has a specific tag . Clearfy: Remove the tag from XML site map of the plugin Yoast SEO. * Remove Yoast SEO comment from section The Yoast SEO plugin displays a comment of the form in section Clearfy: Removes the Yoast SEO plugin comment of their section . * Remove archives date Many duplicates in date archives. Imagine, in addition, that your article will be displayed in the main and in the category, you will still receive at least 3 duplicates: in archives by year, month and date, for example / 2016/2016/02 / / 2016/02/15. Clearfy: Removes all pages with the date archives and puts a redirect. * Remove author archives If the site is only filled by you - a mandatory item. Allows you to get rid of duplicates on user archives, for example /author/admin/. Clearfy: Removes all pages with the author archives and puts a redirect. * Remove archives tag If you use tags only for the block Similar records, or do not use them at all - it will be more correct to close them to avoid duplicates. Clearfy: Removes all pages with the tag archives and puts a redirect. * Remove attachment pages Every of the pictures has its own page on the site. Such pages are successfully indexed and create duplicates. The site can have thousands of same-type attachment pages. Clearfy: Removes attachment pages and puts a redirect. * Remove post pagination In WordPress, any post can be divided into parts (pages), each part will have its own address. But this functionality is rarely used, but it can create trouble for you. For example, you can add a number to the address of any entry of your blog, /privet-mir/1/ - the post itself will open, which will be a duplicate. You can substitute any number. Clearfy: Removes the pagination from the post and puts a redirect. Example: /post-name/number * Remove meta generator Allows attacker to learn the version of WP installed on the site. This meta tag has no useful function. Clearfy: Removes the meta tag from the section * Hide author login An attacker can find out the author's login, using a similar request to get your site. mysite.com/?author=1 Clearfy: Sets the redirect to exclude the possibility of obtaining a login. * Hide errors when logging into the site WP by default shows whether you entered a wrong login or incorrect password, which allows attackers to understand if there is a certain user on the site, and then start searching through the passwords. Clearfy: Changes in the text of the error so that attackers could not find the login. * Disable X-Pingback A pingback is basically an automated comment that gets created when another blog links to you. A self-pingback is created when you link to an article within your own blog. Pingbacks are essentially nothing more than spam and simply waste resources. Clearfy: Removes the server responses a reference to the xmlrpc file. * Disable RSS feeds By default, WordPress generates all types of different RSS feeds for your site. While RSS feeds can be useful if you are running a blog, businesses might not always utilize these. Not every site out there has a blog. Clearfy: Removes a link to the RSS-feed from the section, closes and puts the redirect from all RSS-feeds. * Remove field "site" in comment form Tired of spam in the comments? Do visitors leave "blank" comments for the sake of a link to their site? Clearfy: Removes the "Site" field from the comment form. * Removes links to wordpress.org site from the admin bar The first item in the toolbar goes wordpress logo and external links to wordpress.org, WP forums and documentation. Clearfy: Removes all links to wordpress.org from the toolbar. * Disable revision and limit Post Revisions WordPress automatically saves revisions when you are working on posts and pages. These can begin to add up pretty quick. By default, there is no limit in place. We have seen posts with over 1,000 revisions. Multiply this by 50 pages and suddenly you have over 50,000 revisions sitting in your database. The problem with this is that you will most likely never use them and they can start slowing down your database as well as using disk space. So we recommend either disabling or limiting your revisions. ------------------------ Мы разработали плагин «Clearfy - скрыть бесполезные функции» очень простым и легким, но в тоже время очень полезным для вашего сайта. Все оптимизации, которые предоставляет наш плагин, применены на наших собственных сайтах и мы готовы с вами поделиться нашими наработками! Вам не нужно лезть в код или файл functions.php. Оптимизация производительности не должна быть сложной, поэтому в нашем плагине, все можно включить и отключить одним щелчком мыши. Этот плагин удалит ненужные запросы статических ресурсов, таких как CSS и JS-файлы внутри элемента HTML , чтобы улучшить показатели скорости в таких сервисах, как Pingdom, GTmetrix, PageSpeed и YSlow. Функции плагина не ограничиваются удалением статистических ресурсов, он способен решать проблемы безопасности и seo оптимизации, очищать код и многое другое. Вы получите +30 полезных функций для улучшения вашего сайта, SEO оптимизации, сокращения HTTP-запросов, удаления дублей страниц, очистки кода от мусора, правильной переадресации, и т.д. Возможности, которые предоставляет плагин: * Отключает Rest API WordPress REST API предоставляет API для работы с WordPress данными, это позволяет разработчикам взаимодействовать с сайтами удаленно, посредством отправки и получения данных в формате JSON (JavaScript Object Notation). Однако многие сайты не используют это, и поэтому в большинстве случаев, это только ненужный код. Clearfy: Отключает REST API и удаляет все ссылки из исходного кода страницы. * Отключает Emojis (эмоции) Emojis это смайлы (эмоции), если вы не используете их на своем сайте, в исходном коде страницы будет загружаться JavaScript файл (wp-emoji-release.min.js), на каждой странице вашего веб-сайта. Для многих сайтов это не требуется и просто увеличивает время загрузки страницы. Поэтому мы рекомендуем отключить это. Clearfy: Удаляет код Emojis из исходного кода страницы * Удаляет jQuery Migrate jQuery миграция появилась в WordPress 3.6. Большинство современных веб-интерфейсов и плагинов не требуют jquery-migrate.min.js. В большинстве случаев это просто ненужная нагрузка на ваш сайт. Clearfy: Удаляет подключаемый файл (jquery-migrate.min.js). * Отключает Embeds Встраиваемые объекты были добавлены в WordPress 4.4. Эта функция автоматически преобразуют YouTube, Tweets, и URL-адреса в объекты для удобного просмотра (плеер, картинки и т.д.). Для того, чтобы объекты автоматически преобразовывались на вашем сайте, на каждой странице подключается код JavaScript (wp-embed.min.js). Если вы не используете функции автоматического преобразования встраиваемых объектов, то можете отключить эту функцию. Clearfy: Удаляет JavaScript код отвечающий за встраиваемые объекты (wp-embed.min.js) * Удаляет dns-prefetch Начиная с версии 4.6.1 в WordPress появляются новые ссылки в секции пример:<link rel="dns-prefetch" href="//s.w.org"> Clearfy: Удаляет тег link dns-prefetch из секции head * Удаляет RSD ссылку Эта ссылка используется клиентами блога. Если вы редактируете сайт из вашего браузера, то вам не нужно это. Она также используется в некоторых приложениях, которые используют XML-RPC-запросы. В большинстве случаев это только ненужный код. <link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://yourdomain.com/xmlrpc.php?rsd"> Clearfy: Удаляет RSD link тег * Удаляет wlwmanifest Link <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="https://yourdomain.com/wp-includes/wlwmanifest.xml"> Эта ссылка используется фактически Windows Live Writer. Если вы не знаете, как использовать Windows Live Writer, то это только ненужный код. Clearfy: Удаляет тег link wlwmanifest (Windows Live Writer). * Удаляет короткие ссылки По умолчанию следующий тег печатается на каждой странице ваших записей и страниц. <link rel="shortlink" href="domain.dev?p=712"> Это используется, как короткая ссылка на вашу статью. Если вы используете постоянные ссылки, то это не нужный код. Clearfy: Удаляет тег link shortlink. * Удаляет ссылки следующая, предыдущая запись Если вы используете Wordpress как CMS (а не блог), то вы можете удалить эти ссылки, но для блога они могут быть полезны. Clearfy: Удаляет ссылки предидущая и следующая запись в head вашей темы wordpress. * Удаляет стили .recentcomments Wordpress по умолчанию для виджета "Последние комментари" прописывает в стилях код, которые почти невозможно изменить, потому что к ним применяются значение !important. Clearfy: Удаляет .recentcomments стили из head секции. * Автоматически устанавливать атрибут alt Атрибут alt является обязательным, поэтому большинство SEO экспертов говорят. Если вы пропустили, или не заполнили его, он будет автоматически задан из названия статьи. Clearfy: Заменяет <img scr="" alt="">, на атрибут с названием статьи Hello worldЗаменяет внешние ссылки в комментариях на JavaScript код Внешние ссылки в комментариях, которых может быть десятки или больше на одной странице, могут ухудшить продвижение вашего сайта. Clearfy: Заменяет ссылки <a href="yourdomain.com" rel="nofollow">example</a>, на span тег и устанавливает переход с помощью JavaScript <span class="wbcr-clearfy-pseoudo-link" data-uri="yourdomain.com">example</span> * Заменяет внешние ссылки от авторов комментариев на код JavaScript До 90 процентов комментариев в блоге оставляют ради внешней ссылки. Не поможет даже nofollow от потери веса страницы. Clearfy: Заменяет ссылки авторов комментариев на JavaScript код, его невозможно отличить от обычной ссылки. * Автоматически вставляет заголовок Last Modified и возвращать заголовок If-Modified-Since WordPress не знает, как отдать заголовок Last Modified. Вы можете сделать это с помощью параметров ниже. * Удаляет дубли имен в хлебных крошках WP SEO Yoast Последний элемент в хлебных крошках Yoast SEO дублирует название статьи. Некоторые SEO-специалисты считают это дублирование излишним. Clearfy: Удаляет последний элемент в хлебных крошках Yoast SEO. * Удаляет тег <image:image> из XML карты сайта плагин Yoast SEO. Яндекс вебмастер ругается на стандартной карты XML из плагина Yoast SEO, из-за определенного тега <image:image> Clearfy: Удаляет тег <image:image> из XML карта сайта плагин Yoast SEO. * Удаляет комментарии из секции <head> Yoast SEO плагин отображает комментарий формы в секции Clearfy: Удаляет комментрии Yoast SEO из <head> * Удаляет архивы дат Огромное количество дублей в архивах дат. Представьте, кроме того, что Ваша статья будет выводиться на главной и в категории, Вы еще получите как минимум 3 дубля: в архивах по году, месяцу и дате, например /2016/2016/02 / /2016/02/15. Clearfy: Удаляет полностью архивы дат и ставит редирект. * Удаляет архивы автора Если сайт заполняете только вы - это функция обязательна. Позволяет вам избавиться от дубликатов страниц автора, например /author/admin/. Clearfy: Удаляет все страницы из архивов автора и ставит перенаправление. * Удаляет метки архивов Если вы используете теги только для виджета "Похожие записи", либо не используете их совсем - правильнее будет их закрыть, чтобы избежать дублей. Clearfy: Ставит редирект со страниц тегов на главную. * Удаляет страницы вложений Каждая загруженная картинка имеет свою страничку на сайте, состоящую только из одной картинки. Такие страницы успешно индексируются и создают дубли. На сайте могут быть тысячи однотипных страниц вложений. Clearfy: Удаляет страницы вложений и ставит редирект на запись. * Удаляет постраничную навигацию записей В WordPress любое содержание можно разделить на части (страницы), каждая часть будет иметь свой собственный адрес. Эта функциональность используется редко, но это может создать проблемы для вас. Например вы можете добавить номер в адрес любой записи вашего блога, /privet-mir/1/ - откроет текущую страницу, которая будет дублироваться. Clearfy: Удаление постраничную навигацию из записи и устанавливет перенаправление. Пример: /post-name/number * Удаляет ?replytocom WordPress добавляет ?replytocom к ссылке «Ответ» в комментариях, если вы используете иерархические комментарии. Clearfy: Удаляет ?relpytocom и ставит перенаправление. * Удаляет meta generator Позволяет злоумышленнику узнать версию Wordpress, установленую на вашем сайте. Этот мета-тег не несет никакой пользы. Clearfy: Удаляет мета-тег из раздел <head> * Убирает возможность узнать логин автора Злоумышленник может узнать логин автора, с помощью подобного get запроса mysite.com/?author=1 Clearfy: Предотвращает возможность узнать логин автора, устанавливая перенаправление. * Спрятать ошибки при входе на сайт Wordpress по умолчанию показывает, ввели ли вы неправильный логин или неправильный пароль, что дает злоумышленникам понять, существует ли определенный пользователь на сайте, а после начать перебор паролей. Clearfy: Меняет текст ошибки так, чтобы злоумышленники не смогли подобрать логин. * Убирает ссылку на X-Pingback и возможность спамить pingback-ами Pingback по-существу автоматизированных комментарий, который создается, когда другой блог ссылается на вас. Self-pingback создается, когда вы оставили ссылку на статью в своем блоге. Pingbacks по существу являются не более чем спам и пустая трата ресурсов вашего сайта. Clearfy: Удаляет ссылку на xmlrpc-файл и ответ сервера. * Отключить RSS каналы По умолчанию WordPress генерирует различные виды RSS-каналов для вашего сайта. Иногда RSS-каналы могут быть полезны, если вы используете блог например, но если у вас обычный одностаничник, то RSS для вас будет бесполезен. Clearfy: Удаляет ссылку на RSS-канал из раздела , закрывает и ставит перенаправления от всех RSS-каналов. * Удаляет поле "Сайт" в форме комментариев Надоел спам в комментариях? Посетители оставляют «пустые» комментарии ради ссылки на свой сайт? Clearfy: Убирает поле «Сайт» из формы комментирования. * Удаляет ссылки на wordpress.org сайт из панели администратора Первый элемент в панели инструментов идет логотип wordpress и внешние ссылки на wordpress.org, WP форумах и документации. Clearfy: Удаляет все ссылки на wordpress.org с панели инструментов. * Отключить ревизии и установить лимит WordPress автоматически сохраняет изменения, когда вы работаете над сообщениями и страницами. Они могут начать складываться довольно быстро. По умолчанию, ограничений нет. Мы видели сообщения с более чем 1000 версиями. Умножьте это на 50 страниц, и у вас будет более 50 000 исправлений, сидящих в вашей базе данных. Проблема заключается в том, что вы, скорее всего, никогда не будете их использовать, и они могут начать замедлять работу вашей базы данных, а также использовать дисковое пространство. Поэтому мы рекомендуем либо отключать, либо ограничивать ваши изменения. Все эти функции абсолютно бесплатны, качайте бесплатный «Clearfy - скрыть бесполезные функции» и наслаждайтесь результами оптимизации вашего сайта. Если вы думаете, что напрямую использовать код для решения этих задач лучше, то это не совсем так. Вы только уменьшите объем php кода, но на производительности это никак не отразится. А вот недостатки прямого включения кода в том, что это сложно обычному пользователю, большой риск критических ошибок и этот код попросту не обновляется. Поэтому не занимайтесь ерундой. Желаем вам успехов! == Translations == * English - default, always included * Russian If you want to help with the translation, please contact me through this site or through the contacts inside the plugin. == Installation == This section describes how to install the plugin and get it working. 1. Upload the plugin files to the `/wp-content/plugins/plugin-name` directory, or install the plugin through the WordPress plugins screen directly. 2. Activate the plugin through the 'Plugins' screen in WordPress 3. Use the Settings->Clearfy - disable unused features screen to configure the plugin == Screenshots == 1. Control panel quick start 2. Control panel general tab 3. Control panel seo tab 4. Features == Changelog == = 1.0.9 = * Added quick start assistant * Added new feature "Right robots.txt" * Added new feature "Html minify" * Update core functions * Added new feature "Redirect Http to Https" = 1.0.3 = * Updated readmy.txt file * Updated translation * Added new feature "Disable Embeds" * Added new feature "jQuery Migrate" * Added uninstall.php = 1.0.2 = * Updated readmy.txt file * Translated the plugin into Russian