Furl 3.5 For 2.3.x IPB Free Seo

30 Haziran 2008 – 13:50

Aradığını bulamadıysanız arama yapın!

Arama Motorlarına Uygun URL ler. Konu isminiz URL de geçsin.

Kurlumu:

Çok basit arkadaşlar sadece 2 değişiklik gerekiyor.

Adım 1
htaccess.txt dosyasını forumunuzu bulunduğu klasöre upload edin.(index.php ve admin.php dosyalarının olduğu yere)
htaccess.txt dosyasının adınıs “.htaccess” olarak değiştirin (tırnaklar olmayacak)

(NOTE: Eğer zaten öyle bir dosya varsa dosyanın içindekileri kopyalayıp varolan dosyanın sonuna yapıştırın)

FURL.php dosyasını da forum klasörünüze kopyalayın.

Adım 2
Aç : sources/classes/class_display.php

aşağıdakini bulun:

CODE
//—————————————–
// 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();

Hemen Altına Bu kodu ekleyin:

CODE
require ROOT_PATH.”FURL.php”;

Adım 3

Bu kodu bulun:

CODE
/*————————————————————————-*/
//
// 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 ekleyin:

CODE
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;
}

Ve işte Bitti.

indir: http://rapidshare.com/files/79337132/Friendly_URL35.zip

Etiketler: , , , , , , , ,

Bu konuyu Googleda ara: Furl 3.5 For 2.3.x IPB Free Seo

Şuan buradasınız: Furl 3.5 For 2.3.x IPB Free Seo

Bookmark : Google Facebookhspace=2 slashdot YahooMyWeb Digg Technorati Delicious Yumile Live Oyyla Reddit Furl Tusul Bagcik
  1. 1 Yorum “Furl 3.5 For 2.3.x IPB Free Seo”

  2. Happy bithday :)

    Yorum Yapan: godem Tarih: Tem 15, 2008

Yorum Ekle