(04-21-2010 12:19 PM)frmesesPatron demiş ki: [ -> ]teşşekkürler Adminim sitemiz 1.4.13 Mybb son sürüme upgrade edildi ...Google seo tarafından her saniye index alıyor 
Güncelleme yapmışsın ama seonu bozmuşsun seo çalışmıyor
1.4.13 sürümünün inc/functions.php dosyasında aşagıdaki kotları ekliyecen bunu yapmadınmı calişmaz
örnek : function multipage($count, $perpage, $page, $url)
{
bulacan
ve ondan sonra + ile başlıyan satırları ekliyecen.
kopya yapıştırla yap ekledikden sonra (+) işaretini sileçen
yukarda satırı bulup kodları ekledinmi aşagıdaki şekilde görünmesi lazım
bütün kodları ekledinmi alanına /inc/functions.php olarak geri yazacan
bu kodları her yapılacak güncelleme sürümünde functions.php yenisi varsa onada yapmak zorundasın yoksa calışmaz
Kod:
function multipage($count, $perpage, $page, $url)
{
if(function_exists("google_seo_url_multipage"))
{
$newurl = google_seo_url_multipage($url);
if($newurl)
{
$url = $newurl;
}
}
global $theme, $templates, $lang, $mybb;
if($count <= $perpage)
eklenecek kodlar
Kod:
*/
function multipage($count, $perpage, $page, $url)
{
+ if(function_exists("google_seo_url_multipage"))
+ {
+ $newurl = google_seo_url_multipage($url);
+
+ if($newurl)
+ {
+ $url = $newurl;
+ }
+ }
+
global $theme, $templates, $lang, $mybb;
if($count <= $perpage)
@@ -4196,6 +4206,16 @@
*/
function get_profile_link($uid=0)
{
+ if(function_exists("google_seo_url_profile"))
+ {
+ $link = google_seo_url_profile($uid);
+
+ if($link)
+ {
+ return $link;
+ }
+ }
+
$link = str_replace("{uid}", $uid, PROFILE_URL);
return htmlspecialchars_uni($link);
}
@@ -4208,6 +4228,16 @@
*/
function get_announcement_link($aid=0)
{
+ if(function_exists("google_seo_url_announcement"))
+ {
+ $link = google_seo_url_announcement($aid);
+
+ if($link)
+ {
+ return $link;
+ }
+ }
+
$link = str_replace("{aid}", $aid, ANNOUNCEMENT_URL);
return htmlspecialchars_uni($link);
}
@@ -4273,6 +4303,16 @@
*/
function get_forum_link($fid, $page=0)
{
+ if(function_exists("google_seo_url_forum"))
+ {
+ $link = google_seo_url_forum($fid, $page);
+
+ if($link)
+ {
+ return $link;
+ }
+ }
+
if($page > 0)
{
$link = str_replace("{fid}", $fid, FORUM_URL_PAGED);
@@ -4296,6 +4336,16 @@
*/
function get_thread_link($tid, $page=0, $action='')
{
+ if(function_exists("google_seo_url_thread"))
+ {
+ $link = google_seo_url_thread($tid, $page, $action);
+
+ if($link)
+ {
+ return $link;
+ }
+ }
+
if($page > 1)
{
if($action)
@@ -4335,6 +4385,16 @@
*/
function get_post_link($pid, $tid=0)
{
+ if(function_exists("google_seo_url_post"))
+ {
+ $link = google_seo_url_post($pid, $tid);
+
+ if($link)
+ {
+ return $link;
+ }
+ }
+
if($tid > 0)
{
$link = str_replace("{tid}", $tid, THREAD_URL_POST);
@@ -4356,6 +4416,16 @@
*/
function get_event_link($eid)
{
+ if(function_exists("google_seo_url_event"))
+ {
+ $link = google_seo_url_event($eid);
+
+ if($link)
+ {
+ return $link;
+ }
+ }
+
$link = str_replace("{eid}", $eid, EVENT_URL);
return htmlspecialchars_uni($link);
}
@@ -4371,6 +4441,16 @@
*/
function get_calendar_link($calendar, $year=0, $month=0, $day=0)
{
+ if(function_exists("google_seo_url_calendar"))
+ {
+ $link = google_seo_url_calendar($calendar, $year, $month, $day);
+
+ if($link)
+ {
+ return $link;
+ }
+ }
+
if($day > 0)
{
$link = str_replace("{month}", $month, CALENDAR_URL_DAY);
@@ -4409,6 +4489,16 @@
*/
function get_calendar_week_link($calendar, $week)
{
+ if(function_exists("google_seo_url_calendar_week"))
+ {
+ $link = google_seo_url_calendar_week($calendar, $week);
+
+ if($link)
+ {
+ return $link;
+ }
+ }
+
if($week < 0)
{
$week = str_replace('-', "n", $week);