网站性能优化后台优化(WordPress)

大家好,我是朋少,也许我不用说后一句话了,现在N多朋友告诉我,一看到朋少,就会想到一个词,那就是风一样的男子,不对,还有另外一个词,就是世界上最帅的男子,好了,今天为大家讲讲网站性能优化之后台优化,因为前几天写了一篇文章是处理一些前台的,今天就处理一下后台,前后皆有,我必暴走,请大家跟上我的脚步,去搞定后台优化。由于时间和精力有限,这里仅以wordpress为例,因为看到好多SEO们都是玩博客的,而博客是用wordpress的后台的,OK。
   1、去掉google字体,这个可以下载插件或是在functions里面去掉,这个大家随意,自己看着办就行了。我个人倾向于functions里的那一种,下面贴出代码:
$ a" t6 [9 i5 x: ?6 P1 H5 k8 n! C
// Remove Open Sans that WP adds from frontend   if (!function_exists(‘remove_wp_open_sans‘)) :   function remove_wp_open_sans() {   wp_deregister_style( ‘open-sans‘ );   wp_register_style( ‘open-sans‘, false );   }// 前台删除Google字体CSS   add_action(‘wp_enqueue_scripts‘, ‘remove_wp_open_sans‘);// 后台删除Google字体CSS   add_action(‘admin_enqueue_scripts‘, ‘remove_wp_open_sans‘); endif;
      2、cookie静态化

我们知道当用户仿问网站的时候,会加载image、css、js等,用户一大部分的时间在搞这个东西,所以这是浪费时间,做法如下:
wordpress很简单只要修改一下wp-config.php就好了!- F‘ z4 n! \, ^# ]2 O2 m% j
define(“WP_CONTENT_URL”, “http://www.niubseo.com”);
define(“COOKIE_DOMAIN”, “www.niubseo.com”);
然后用“bloginfo(template_directory’)”这段代码加入你要实现的静态内容中即可!
加快速度收录百度贴吧
http://c.tieba.baidu.com/p/3401940484
http://c.tieba.baidu.com/p/3401944994
http://c.tieba.baidu.com/p/3401976111
http://c.tieba.baidu.com/p/3402008894
http://c.tieba.baidu.com/p/3402016021
http://c.tieba.baidu.com/p/3402024262
http://c.tieba.baidu.com/p/3402029534
http://c.tieba.baidu.com/p/3402060255
http://c.tieba.baidu.com/p/3402073540
http://c.tieba.baidu.com/p/3402082631
http://c.tieba.baidu.com/p/3402086977
http://c.tieba.baidu.com/p/3402098504
http://c.tieba.baidu.com/p/3402104975
http://c.tieba.baidu.com/p/3402111219
http://c.tieba.baidu.com/p/3402115447
http://c.tieba.baidu.com/p/3402121604
http://c.tieba.baidu.com/p/3402128379
http://c.tieba.baidu.com/p/3402137145
http://c.tieba.baidu.com/p/3402153119
http://c.tieba.baidu.com/p/3402158202
http://c.tieba.baidu.com/p/3402162910
http://c.tieba.baidu.com/p/3402171049
http://c.tieba.baidu.com/p/3402178919
http://c.tieba.baidu.com/p/3402184592
http://c.tieba.baidu.com/p/3402241131
http://c.tieba.baidu.com/p/3402272311
http://c.tieba.baidu.com/p/3402276862
http://c.tieba.baidu.com/p/3402281836
http://c.tieba.baidu.com/p/3402284675
http://c.tieba.baidu.com/p/3402290435
http://c.tieba.baidu.com/p/3402294605
http://c.tieba.baidu.com/p/3402306073
http://c.tieba.baidu.com/p/3402311292
http://c.tieba.baidu.com/p/3402311709
http://c.tieba.baidu.com/p/3402315515
http://c.tieba.baidu.com/p/3402316393
http://c.tieba.baidu.com/p/3402320261
http://c.tieba.baidu.com/p/3402321165
http://c.tieba.baidu.com/p/3402324645
http://c.tieba.baidu.com/p/3402325846
http://c.tieba.baidu.com/p/3402329233
http://c.tieba.baidu.com/p/3402330407
http://c.tieba.baidu.com/p/3402332819
http://c.tieba.baidu.com/p/3402642518
http://c.tieba.baidu.com/p/3402614519
http://c.tieba.baidu.com/p/3402569815
http://c.tieba.baidu.com/p/3402483635
http://c.tieba.baidu.com/p/3402391810
http://c.tieba.baidu.com/p/3402387029
http://c.tieba.baidu.com/p/3402387029
http://c.tieba.baidu.com/p/3402376012
http://c.tieba.baidu.com/p/3402369459
http://c.tieba.baidu.com/p/3402360310
http://c.tieba.baidu.com/p/3402353685
http://c.tieba.baidu.com/p/3402349598
http://c.tieba.baidu.com/p/3402344078
http://c.tieba.baidu.com/p/3402330407
http://c.tieba.baidu.com/p/3402325846
http://c.tieba.baidu.com/p/3402321165
http://c.tieba.baidu.com/p/3402316393
http://c.tieba.baidu.com/p/3402311709
http://c.tieba.baidu.com/p/3402306073
http://c.tieba.baidu.com/p/3402294605
http://c.tieba.baidu.com/p/3402290435
http://c.tieba.baidu.com/p/3402294605
http://c.tieba.baidu.com/p/3402290435
http://c.tieba.baidu.com/p/3402284675
http://c.tieba.baidu.com/p/3402281836
http://c.tieba.baidu.com/p/3402276862
http://c.tieba.baidu.com/p/3402272311
http://c.tieba.baidu.com/p/3402241131
http://c.tieba.baidu.com/p/3402184592
http://c.tieba.baidu.com/p/3402178919
http://c.tieba.baidu.com/p/3402171049
http://c.tieba.baidu.com/p/3402162910
http://c.tieba.baidu.com/p/3402158202
http://c.tieba.baidu.com/p/3402153119
http://c.tieba.baidu.com/p/3402137145
http://c.tieba.baidu.com/p/3402128379
http://c.tieba.baidu.com/p/3402121604
http://c.tieba.baidu.com/p/3402115447
http://c.tieba.baidu.com/p/3402111219
http://c.tieba.baidu.com/p/3402104975
http://c.tieba.baidu.com/p/3402104975
http://c.tieba.baidu.com/p/3402098504
http://c.tieba.baidu.com/p/3402086977
http://c.tieba.baidu.com/p/3402082631
http://c.tieba.baidu.com/p/3402073540
http://c.tieba.baidu.com/p/3402060255
http://c.tieba.baidu.com/p/3402029534
http://c.tieba.baidu.com/p/3402024262
http://c.tieba.baidu.com/p/3402016021
http://c.tieba.baidu.com/p/3402008894
http://c.tieba.baidu.com/p/3401976111
http://c.tieba.baidu.com/p/3401944994
http://c.tieba.baidu.com/p/3401940484
http://c.tieba.baidu.com/p/3401927756
http://c.tieba.baidu.com/p/3401908319
http://c.tieba.baidu.com/p/3401898069
http://c.tieba.baidu.com/p/3401894568
http://c.tieba.baidu.com/p/3401870124
http://c.tieba.baidu.com/p/3401843910
http://c.tieba.baidu.com/p/3401838348
http://c.tieba.baidu.com/p/3401216438
http://c.tieba.baidu.com/p/3401216078
http://c.tieba.baidu.com/p/3401214872
http://c.tieba.baidu.com/p/3401214872
http://c.tieba.baidu.com/p/3393282395
http://c.tieba.baidu.com/p/3402419391
http://c.tieba.baidu.com/p/3402393052
http://c.tieba.baidu.com/p/3402387569
http://c.tieba.baidu.com/p/3402381236
http://c.tieba.baidu.com/p/3402374329
http://c.tieba.baidu.com/p/3402368963
http://c.tieba.baidu.com/p/3402363309
http://c.tieba.baidu.com/p/3402355826
http://c.tieba.baidu.com/p/3402349879
http://c.tieba.baidu.com/p/3402345342
http://c.tieba.baidu.com/p/3402340243
http://c.tieba.baidu.com/p/3402332819
http://c.tieba.baidu.com/p/3402329233
http://c.tieba.baidu.com/p/3402324645
http://c.tieba.baidu.com/p/3402320261
http://c.tieba.baidu.com/p/3402315515
http://c.tieba.baidu.com/p/3402311292
http://c.tieba.baidu.com/p/3416256964
http://c.tieba.baidu.com/p/3416257964
http://c.tieba.baidu.com/p/3416265369
http://c.tieba.baidu.com/p/3416268298
http://c.tieba.baidu.com/p/3416269128
http://c.tieba.baidu.com/p/3416272396
http://c.tieba.baidu.com/p/3416272909
http://c.tieba.baidu.com/p/3416285615
http://c.tieba.baidu.com/p/3416285152
http://c.tieba.baidu.com/p/3416284653
http://c.tieba.baidu.com/p/3416284150
http://c.tieba.baidu.com/p/3416283663
http://c.tieba.baidu.com/p/3416283209
http://c.tieba.baidu.com/p/3416282725
http://c.tieba.baidu.com/p/3416282180
http://c.tieba.baidu.com/p/3416281740
http://c.tieba.baidu.com/p/3416281310
http://c.tieba.baidu.com/p/3416280826
http://c.tieba.baidu.com/p/3416280370
http://c.tieba.baidu.com/p/3416279901
http://c.tieba.baidu.com/p/3416279417
http://c.tieba.baidu.com/p/3416278930
http://c.tieba.baidu.com/p/3416278438
http://c.tieba.baidu.com/p/3416277982
http://c.tieba.baidu.com/p/3416277548
http://c.tieba.baidu.com/p/3416277094
http://c.tieba.baidu.com/p/3416276625
http://c.tieba.baidu.com/p/3416276185
http://c.tieba.baidu.com/p/3416275760
http://c.tieba.baidu.com/p/3416275286
http://c.tieba.baidu.com/p/3416274796
http://c.tieba.baidu.com/p/3416274338
http://c.tieba.baidu.com/p/3416273802
http://c.tieba.baidu.com/p/3416273297
http://c.tieba.baidu.com/p/3416286836
http://c.tieba.baidu.com/p/3416287351
http://c.tieba.baidu.com/p/3416287968
http://c.tieba.baidu.com/p/3416288576
http://c.tieba.baidu.com/p/3416289168
http://c.tieba.baidu.com/p/3416289825
http://c.tieba.baidu.com/p/3416290467
http://c.tieba.baidu.com/p/3416291147
http://c.tieba.baidu.com/p/3416291864
http://c.tieba.baidu.com/p/3416292643
http://c.tieba.baidu.com/p/3416293488
http://c.tieba.baidu.com/p/3416294345
http://c.tieba.baidu.com/p/3416295241
http://c.tieba.baidu.com/p/3416296157
http://c.tieba.baidu.com/p/3416297152
http://c.tieba.baidu.com/p/3416298209
http://c.tieba.baidu.com/p/3416299228
http://c.tieba.baidu.com/p/3416299228
http://c.tieba.baidu.com/p/3416300602
http://c.tieba.baidu.com/p/3416301784
http://c.tieba.baidu.com/p/3416302974
http://c.tieba.baidu.com/p/3416304229
http://c.tieba.baidu.com/p/3416305583
http://c.tieba.baidu.com/p/3416306932
http://c.tieba.baidu.com/p/3416308378
http://c.tieba.baidu.com/p/3416309875
http://c.tieba.baidu.com/p/3416311430
http://c.tieba.baidu.com/p/3416313010
http://c.tieba.baidu.com/p/3416314715
http://c.tieba.baidu.com/p/3416316381
http://c.tieba.baidu.com/p/3416318102
http://c.tieba.baidu.com/p/3416319862
http://c.tieba.baidu.com/p/3416321724
http://c.tieba.baidu.com/p/3416323555

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。