Архив рубрики: WordPress

WordPress on IIS does not load/display images

The first bump I got from encountering the WordPress rake on IIS: a problem with displaying pictures. When you upload an image to the ‘media’ of WordPress, it doesn’t display and gives an error:

 

HTTP Error 500.50 – URL Rewrite Module Error

 

After searching here and there it became clear that it is a problem with the rights to the folders. The permissions in IIS are very … how shall I put it softly – unusually in comparison with crystal clear system CHMOD *nux servers.

 

IIS permissions are set via folder properties -> “security”. Everyone who sits on the windows used to watch this tab, to change something in it in the daily “local” work there is rarely a need. And so – it occurred to me that this system is actually the Windows analogue of CHMOD, and for the web server is extremely important to configure it correctly.

Читать

WordPress Voice Input

Hi all, I’m Stucco. I decided to try voice text entry via Google Docs. This article will be about voice input and texting options for your social networks or blogs. I hope I don’t have to do a lot of editing on this text. In order for your voice to be well recognized it is advisable to speak clearly. So where do you get this tool? Type “Google Docs” into a Google search, or “Google Docs” in Russian. This service is available online, you do not need to download special programs or install applications. It’s a free service from Google.

Читать

WordPress xml-rpc: protection against bruteforce

Since WordPress 3.5, any installation has xml-rpc enabled by default, which is a very useful thing that allows you to use mobile apps to maintain your site, among other things.

 

However, the use of xml-rpc is a huge black hole, attracting rogues of all stripes, which massively start bruteforcing your cozy site; I felt it on my skin, when the load on the hosting has increased by half.  So I disabled xml-rpc a long time ago and lived happily ever after.

 

But still the moment of truth came and after I bought a new Android phone, the Thing immediately started to master mobile WordPress. I had to turn this xml-rpc on; immediately the attacks began. In the end, the easiest solution was to create a white list of IP addresses to access the file xmlrpc.php

 

How to do this:

Читать

Выбор веб-сервера для WordPress под Windows

Бывают ситуации, когда интернет-сайт должен хостится на Windows Server. Это довольно редкий случай, но со мной это недавно произошло (первый раз за дюжину лет работы с веб-серверами): нужно было организовать хостинг сайта на железяке, где уже крутились всякие сервисы.

Первый вопрос, который встает – а какой собственно веб-сервер использовать? Можно, конечно, наколупать все на чистом Apache, но вручную все устанавливать и настраивать лень, тем более для относительно небольшого проекта.

Есть дохуятро готовых сборок – от знакомого многим Денвера и Open Server до 100500 вариантов *AMP’ов. Читать

Выравнивание текста по ширине WordPress

В новых версиях WordPress разработчики почему-то убрали кнопку ‘выравнивание по ширине‘ или в разметке html атрибут align=justify. При наборе текста поста бросается в глаза неаккуратность форматирования, если весь тест прижат к одному краю. Такой стиль иногда выглядит стильно, но в большинство случаев человеку привычно читать текст, выровненный по ширине страницы. Как же это сделать в Вордпресс?

Читать

Установить ручками Google Adsense в wordpress

Часто плагин wordpress “Google Adsense” не видит нужного места для рекламы в шаблоне. В этом случае самый удобный способ – вставить специальный код в нужное место сайта:

<ins id="sidebar-123"

style="display: none;"

class="adsbygoogle-placeholder"></ins>

Вместе sidebar-123 укажите любой уникальный идентификатор, хоть 31415926.

После этого еще раз пробейте сайт плагином гугла – и вуаля, он найдет нужное местечко для рекламы, которое не видел ранее!

Чтобы код не пришлось вставлять заново при обновлении шаблона (сейчас оно автоматическое) имеет смысл этот код вставить через виджет как текст 🙂