آقا درست بود . اشکال از فایل function.php هست
با اجازه می خوام کار بقیه رو راحت کنم.
فایل رو باز کنین و دستی همونطور که تو توضیحات گفته عمل کنین ! :
خوب مثلا:
find: test1
replace with: test2
یعنی test1 رو پیدا کنین و بجاش test2 رو جایگذین کنین.
-------------------
Find:
function get_profile_link($uid=0)
{
Replace with:
function get_profile_link($uid=0)
{
if(function_exists("google_seo_url_profile"))
{
$link = google_seo_url_profile($uid);
if($link)
{
return $link;
}
}
Find:
function get_announcement_link($aid=0)
{
Replace with:
function get_announcement_link($aid=0)
{
if(function_exists("google_seo_url_announcement"))
{
$link = google_seo_url_announcement($aid);
if($link)
{
return $link;
}
}
Find:
function get_forum_link($fid, $page=0)
{
Replace with:
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;
}
}
Find:
function get_thread_link($tid, $page=0, $action='')
{
Repace with:
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;
}
}
Find:
function get_post_link($pid, $tid=0)
{
Replace with:
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;
}
}
Find:
function get_event_link($eid)
{
Replace with:
function get_event_link($eid)
{
if(function_exists("google_seo_url_event"))
{
$link = google_seo_url_event($eid);
if($link)
{
return $link;
}
}
Find:
function get_calendar_link($calendar, $year=0, $month=0, $day=0)
{
Replace with:
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;
}
}
Find:
function get_calendar_week_link($calendar, $week)
{
Replace with:
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;
}
}
Find:
function multipage($count, $perpage, $page, $url)
{
Replace with:
function multipage($count, $perpage, $page, $url)
{
if(function_exists("google_seo_url_multipage"))
{
$newurl = google_seo_url_multipage($url);
if($newurl)
{
$url = $newurl;
}
}
-----------------------------
توجه:
فقط احتمالا در قسمت آخر دچار مشکل بشین.
یعنی می گه گزینه زیر رو پیدا کنین:
function multipage($count, $perpage, $page, $url)
{
ولی نباشه.
اما بجاش این گزینه هست:
function multipage($count, $perpage, $page, $url, $breadcrumb=false)
{
پس چیزی که جایگذین این میکنین این هست:
function multipage($count, $perpage, $page, $url, $breadcrumb=false)
{
if(function_exists("google_seo_url_multipage"))
{
$newurl = google_seo_url_multipage($url);
if($newurl)
{
$url = $newurl;
}
}
یه سوال:
چطور میشه فایل htaccess رو تنظیم کرد که انتهای آدرس ها مثل همین انجمن بصورت html نشون داده بشه؟؟؟؟