Цей плагін не перевірявся з останніми 3-ма основними випусками WordPress. Можливо, він більше не може розроблятися або підтримуватися, і він може мати проблеми сумісності при використанні з більш новими версіями WordPress.

Force Domain Redirect

Опис

Redirects http://somedomain.tld to http://someotherdomain.tld

Assuming you have 2 or more domains in use for a single WordPress site. This plugin forces the use of only one no matter which is entered in the address bar.

If, for some reason, your host won’t automatically redirect from one domain to another, then this plugin will do it. It checks the URL used to access the site and does a 301 redirect if incorrect.

In theory htaccess should do this, but in my case it didn’t. Perhaps because I am using domain aliases (or CNAMEs) and I wanted to insure that the main one was always in use, even when accessed using old links.

Встановлення

Copy the plugin file to your WordPress plugins directory. That’s it. No configuration necessary… just make sure the domain you want to force is listed under SETTINGS > GENERAL > Site Address (URL)

Відгуки

Прочитати всі 4 відгуки

Учасники та розробники

“Force Domain Redirect” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:

Учасники

Перекладіть “Force Domain Redirect” на вашу мову.

Цікавитесь розробкою?

Перегляньте код, перегляньте сховище SVN або підпишіться на журнал розробки за допомогою RSS.

Журнал змін

0.3 Compatibilty with WP5
Use HOME URL instead of SITE URL
0.2 Update to handle https
0.1 Initial version. Seems to do what\’s needed.