HowTO: Use separate domain for NextGEN Galley

HowTO: Use separate domain for NextGEN Galley

I use NextGEN Gallery to ,anage images on my blog, but it is better to use separate domain for retrieving images. In this case browser use additional threats to load images and nginx can quick proceed images request.

I created new subdomain specially for NextGen Gallery. and should be on the same server.

WordPress filter

To enable images path rewriting paste this code to your theme in functions.php.

Don’t forget to change to your blog domain.

Nginx configuration

Now it’s time to add to nginx.

Неправильная раскладка: рщцещ: гыу ыузфкфеу вщьфшт ащк тучепут пфддун

Понравилась статья? Посоветуйте друзьям!

WordPress WordPress Plugin

Понравилась статья? Подпишись на рассылку по E-Mail или в RSS.