Merhaba arkadaşlar bu makalemizde IPB Seo için çok etkili ve ücretsiz bir yöntem olan Furl tekniğini anlatıcaz , Öncelikle ekteki dosyaları bilgisayarımıza indirerek işlemlere başlayabiliriz.
Furl kurulumundan sonra artık uzantılarımız konu ismini içericek ve html formatında olucak arama motorları için çok önemli bir unsurdur.
Kurulum oldukca basittir ve size elimizden geldiği kadar açıklayıcı bir dille anlatmaya çalışıcaz
Kurulum :
Adım - 1
Bu dosyayı bulup açıyoruz
PHP- Kodu:
sources/classes/class_display.php
Daha sonra içerisinden bu kodları buluyoruz
PHP- Kodu:
//-----------------------------------------
// Images on another server? uncomment and alter below
//-----------------------------------------
if ( $this->ipsclass->vars['ipb_img_url'] )
{
$this->ipsclass->skin['_wrapper'] = preg_replace( "#img\s+?src=([\"'])style_(images|avatars|emoticons)(.+?)[\"'](.+?)?".">#is", "img src=\1".$this->ipsclass->vars['ipb_img_url']."style_\2\3\1\4>", $this->ipsclass->skin['_wrapper'] );
}
//-----------------------------------------
// Stop one from removing cookie protection
//-----------------------------------------
$this->ipsclass->skin['_wrapper'] = preg_replace( "#htmldocument\.prototype#is", "HTMLDocument_prototype", $this->ipsclass->skin['_wrapper'] );
$this->_finish();
Ve hemen altına alttaki kodu ekliyoruz.
require ROOT_PATH."FURL.php";
Ve aynı dosyadan alttaki kodları buluyoruz
PHP- Kodu:
/*-------------------------------------------------------------------------*/
//
// print the headers
//
/*-------------------------------------------------------------------------*/
function do_headers()
{
if ( $this->ipsclass->vars['print_headers'] )
{
$this->ipsclass->vars['gb_char_set'] = $this->ipsclass->vars['gb_char_set'] ? $this->ipsclass->vars['gb_char_set'] : 'iso-8859-1';
header("HTTP/1.0 200 OK");
header("HTTP/1.1 200 OK");
header( "Content-type: text/html;charset={$this->ipsclass->vars['gb_char_set']}" );
Aşşağıdaki kodu hemen üstüne ekliyoruz.
function make_url($title,$id,$type,$linktitle="",$tidlink=""){
global $ibforums;
$text = $title;
//Charachters must be in ASCII and certain ones aint allowed
$text = html_entity_decode ($text);
$text = preg_replace ("'<[\/\!]*?[^<>]*?>'si", "", $text);
$text = str_replace(" / ","-",$text);
$text = str_replace("/","-",$text);
$text = str_replace("'","-",$text);
$text = str_replace(" - ","-",$text);
$text = str_replace("_","-",$text);
$text = str_replace(" ","-",$text);
$text = str_replace( "Ç", "C", $text);
$text = str_replace( "ç", "c", $text);
$text = str_replace( "Ü", "U", $text);
$text = str_replace( "ü", "u", $text);
$text = str_replace( "İ", "I", $text);
$text = str_replace( "ı", "i", $text);
$text = str_replace( "Ş", "S", $text);
$text = str_replace( "ş", "s", $text);
$text = str_replace( "Ö", "O", $text);
$text = str_replace( "ö", "o", $text);
$text = str_replace( "Ğ", "G", $text);
$text = str_replace( "ğ", "g", $text);
$text = str_replace( "&", "ve", $text);
$text = str_replace( "%", "yuzde", $text);
$text = ereg_replace("[^A-Za-z0-9-]", "", $text);
$text = str_replace("----","-",$text);
$text = str_replace("---","-",$text);
$text = str_replace("--","-",$text);
$text = str_replace("?","-",$text);
if ($linktitle!=""){
$linktitle = " title=\"".$linktitle."\"";
}
if ($tidlink!=""){
$tidlink = " id=\"tid-link-{$tidlink}\"";
}
$furl = "<a{$tidlink} href=\"{$this->ipsclass->vars['board_url']}/{$text}-{$type}{$id}.html\"{$linktitle}>{$title}</a>";
return $furl;
}
Daha sonra alttaki dosyayı indirip
.htaccess ve FURL.php dosyalarını forum ana dizinine atıyoruz eğer .htaccess dosyamız zaten mevcutsa içeriğini açıp kendi .htaccess dosyamız içeriğine kaydetmeiz yeterli olucaktır.
Bu işlemleri yaparken her ihtimale karşı değişiklik yaptığımız tüm dosyaları kuruluma başlamadan önce yedekleyelim
Downlad - Furl 3.5 for 2.3.x dosyalarını indirmek için tıklayın k