开发者 | cyberws |
---|---|
更新时间 | 2022年5月30日 03:14 |
捐献地址: | 去捐款 |
PHP版本: | 3.0.1 及以上 |
WordPress版本: | 6.0 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
Additional questions address this point but for optimization this plugin uses a redirect file and the file must be writeable by Wordpress (really your web server). You have total control where to put this file. By default (meaning if you don't change it) the file will be located in your root Wordpress directory. However you can put it anywhere on your site that visitors can access with their web browsers. So you can create an unique directory if you desire. Yes the file name is customizable too. For more advanced Wordpress users you can make just the redirect file writeable.
Yes! If you have a really busy site no problem. When a visitor clicks on a link the redirect is handled by a file and does not even touch the database.
Well yes and no. All data is stored in the database but redirection doesn't occur straight from the database. Once you have the redirects the way you want the plugin will generate a file and that's what redirects visitors. If you use a PHP script caching system like APC or Zend OPcache the speed will be lightning fast even with large files. Caching is the name of the game with speed. It usually refers to pulling data out of the database (or dynamic source) and storing it statically. Hence this method.
Very doubtful. It is hard to say for sure the exact length due to various link sizes. However lets assume for a moment a link size of 150 characters (which is pretty long - see next question), and a link title of 25 characters. One million redirects would be around 167MB. At this point you would need a dedicated server or VPS with a lot of memory like gigs, so 167MB is nothing. For more realistic numbers 5,000 links is around 855KB, which for caching is small, and 100 links is around 17KB. To give you a comparison Wordpress version 3.8.1 is around 17MB or 17,000KB.
http://www.somesite.tld/parent_category/sub_category/sub_sub_category/sub_sub_sub_category/now_a_really_long_page_name_to_equal_one_hundred_and_fifty/