Linux 软件免费装

Domain Sharding

开发者 sultanicq
更新时间 2018年3月5日 06:48
PHP版本: 2.8 及以上
WordPress版本: 4.9.4

标签

speed cdn optimization wpo domain sharding

下载

详情介绍:

We need to determine the subdomain pattern (ex: http://cdn-#.domain.tld ) substitution and the maximum number of subdomains we want to work with (ex: 5). The pattern will transform an url like this 'http://www.domain.tld/img/source1.jpg' to this new url structure 'http://cdn-X.domain.tld/img/source1.jpg' where X ranges from 1 to 5 (max). NOTE: If you have trouble accessing images using the new address because Wordpress asks you to register the domain then you must insert the following line in the file wp-config.php include_once(ABSPATH.'wp-content/plugins/domain-sharding/domain-sharding-alias.php'); Then you need to be sure to set write permissions to the aliases folder located within the plugin directory. NOTE: You'll need to manually create the new A records for the subdomains in your DNS panel. They should have the same ip address of your main domain. Visit the Seocom website for more information about SEO or WPO optimization

安装:

  1. Install "Domain Sharding" either via the WordPress.org plugin directory, or by uploading the files to your server inside the wp-content/plugins folder of your WordPress installation.
  2. Activate "Domain Sharding" plugin via WordPress Settings.
  3. It's done. Easy, isn't it?
NOTE: If you have trouble accessing images using the new address because Wordpress asks you to register the domain then you must insert the following line in the file wp-config.php include_once(ABSPATH.'wp-content/plugins/domain-sharding/domain-sharding-alias.php'); NOTE: You'll need to manually create the new A records for the subdomains in your DNS panel. They should have the same ip address of your main domain.

更新日志:

1.2.1 1.2.0 1.1.9 1.1.8 1.1.7 1.1.6 1.1.5 1.1.4 1.1.3 1.1.2 1.1.1 1.1.0 1.0.5 1.0.4 1.0.3 1.0.2 1.0.1 1.0.0