Emlog ÎÄÕ¹ؼü×Ö×Ô¶¯Ìí¼Ó³¬Á´½ÓµÄ·½·¨
ÄÚÁ´½¨ÉèÊÇÍøÕ¾SEO²»¿ÉȱÉÙµÄÖØÒªÓÅ»¯²½Ö裬ËùÒÔ¸ø²©¿ÍÎÄÕÂÄڵĹؼü´ÊÌí¼Ó³¬Á´½ÓÊÇÿ벩Ö÷¶¼»á×öµÄÊ£¬Ê¹ÓÃemlog²©¿ÍµÄ²©Ö÷ÿ´Î¶¼ÒªÊÖ¶¯Ìí¼Ó¹Ø¼ü´ÊÁ´½ÓºÜÂé·³£¬wordpressºÍz-blog¶¼ÓÐÏà¹ØÌí¼Ó¹Ø¼ü´ÊÁ´½ÓµÄ²å¼þ£¬emlog²»Í¨¹ý²å¼þÒ²¿ÉÒÔʵÏÖ¡£
ÏÂÃæÊÇÎÒÕÒµ½µÄ¸øemlog¹Ø¼ü´Ê×Ô¶¯Ìí¼ÓÁ´½ÓµÄ·½·¨¡£
ʹEmlogÎÄÕ¹ؼü´Ê×Ô¶¯Ìí¼ÓÁ´½ÓµÄ·½·¨£º
1.ÔÚemlogµÄ/content/templates/defaultĿ¼ÏÂн¨Ò»¸ö×Ö·û´®±àÂëΪutf-8µÄÎļþ£¬²¢ÃüÃûΪglobalnlbz.php¡£
2.ÔÚ¸Õ´´½¨µÄglobalnlbz.phpÎļþÖÐÌí¼ÓÒÔÏ´úÂë
//¹Ø¼ü×ÖÉèÖÃ
$gjz=array("²©¿Í°É","www.***.net","°åµÊ΢Óï","wordpress½Ì³Ì","emlog½Ì³Ì");
//¹Ø¼ü×ÖÁ¬½ÓÉèÖÃ
$gjzlj=array(
"$gjz[0]",
"$gjz[1]",
"$gjz[2]",
"$gjz[3]",
"$gjz[4]",
);
//¼ÓÉÏÁ¬½Ó
for($i=0;$i$log_content=ereg_replace(($gjz[$i]),$gjzlj[$i],$log_content);
}
ÍƼöÐÅÏ¢
- ¹¹½¨¸ß¿ÉÓú͵¯ÐÔÉìËõµÄKV´æ´¢ÏµÍ³
- ̸̸ÍøÕ¾¾²Ì¬»¯£¨¶þ£©
- ̸̸ÍøÕ¾¾²Ì¬»¯£¨Ò»£©
- Ðì¹úÏ飺΢²©ÊÇ·ñ»á²ÎÓëÍøÕ¾ÅÅÃû
- ApacheÔÚ±¾µØ½¨Á¢·ºÓòÃûÐéÄâÖ÷»ú¼ò·¨
- ÈçºÎ½øÐÐÍøÕ¾Õï¶Ï ΪÍøÕ¾½øÐÐÆÀ·Ö
- Ò»¸ö³É¹¦µÄÕ¾³¤Ó¦¸Ã¾ß±¸µÄËØÖÊ
- Ò»Ìõ΢²©Òý·¢µÄ·ÖÎö£ºÈçºÎÈÃ΢²©µÃµ½¹ã·º´«²¥
- ÈçºÎÈÃÒ»¸öÍøÕ¾ÓÐÇ¿´óÉúÃüÁ¦
- פ×ãIDCÃż÷³Ö±Ò¹ÛÍû Õ¾³¤Ñ¡¹º¿Õ¼ä³É¡°¼èÄѵľö¶¨¡±£¿
ÈÈÃÅÐÅÏ¢
- nohup: redirecting stderr to stdou....
- ʹÓÃlog_formatΪNginx·þÎñÆ÷ÉèÖøüÏêϸµÄÈÕÖ¾¸ñʽ
- jquery easyUI--dataGrid-Json
- [Ô´´]·ÂGoogle Reader¡¢ÐÂÀË΢²©¡¢ÌÚѶ΢²©µ....
- ÀûÓÃKeepalived+mysql¹¹½¨¸ß¿ÉÓÃMySQLË«Ö÷×Ô¶....
- Nginx+keepalivedʵÏÖ¸ºÔؾùºâºÍË«»úÈȱ¸¸ß¿ÉÓÃ
- jqueryʵÏÖÒ³Ãæ¼ÓÔؽø¶ÈÌõ
- Rolling cURL: PHP²¢·¢×î¼Ñʵ¼ù
- codeigniter ·ÓÉÖÕ¼«ÓÅ»¯(url rewrite)
- linuxÏÂÉèÖÃsshÎÞÃÜÂëµÇ¼
ÆÀÂÛ