phpBB SEO
Boards
Directory  
SEO  
Downloads
  phpBB SEO : Search Engine Optimization, Directory, Forums  
Index
Forums
Annuaire
Référencement
Télécharger
 
  Search Rechercher
    Register
Username :  Password :  Log me on automatically each visit  
S'enregistrer  
 
   
mixed rewrite mod and persian UTF-8 encoding
Goto page Previous  1, 2, 3, 4, 5  Next
 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB mod Rewrite
::  
Author Message
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 13354

mixed rewrite mod and persian UTF-8 encodingPosted: Wed Aug 16, 2006 8:49 am    Post subject: Re: mixed rewrite mod and persian UTF-8 encoding

amir abbas wrote:

i think the utf package is complete know
i have installed it on two forum
there isn't any problem Wink


Wonderful Very Happy

++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
AmirAbbas
phpBB SEO Team
phpBB SEO Team


Joined: 11 May 2006
Posts: 529
Location: IRAN

mixed rewrite mod and persian UTF-8 encodingPosted: Thu Aug 17, 2006 6:08 am    Post subject: Re: mixed rewrite mod and persian UTF-8 encoding

between all members of this community i think im the happiest one Very Happy

see this picture



i have installed advance rewrite mod (utf-8 version) form 2nd august
in only two week i have a link in first page of search result in google for
mybb SEO

i think this mod is definitely more effective that simple rewrite mod
Smile

_________________
طراحی وب ، آموزش سئو ، آموزش CSS ، phpbb فارسی ، phpbb3 فارسی ، دروپال فارسی
طراحی وب ، قالب وبلاگ ، استاندارد وب ، آموزش CSS و HTML ، آموزش php
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 13354

mixed rewrite mod and persian UTF-8 encodingPosted: Thu Aug 17, 2006 9:35 am    Post subject: Re: mixed rewrite mod and persian UTF-8 encoding

Cool Very Happy

And yes, keyword injection is the best for sure Wink


++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
AmirAbbas
phpBB SEO Team
phpBB SEO Team


Joined: 11 May 2006
Posts: 529
Location: IRAN

mixed rewrite mod and persian UTF-8 encodingPosted: Sun Oct 29, 2006 3:20 pm    Post subject: Re: mixed rewrite mod and persian UTF-8 encoding

i think i found another bug
see this part of code
in this topic http://forum.persia-cms.com/topic-vt81.html

Code:
<link rel="chapter forum" href="mobile-phones-vf1.html" title="اخبار سایت Persia CMS" />
<link rel="chapter forum" href="mobile-phones-vf2.html" title="دایرکتوری - Persia CMS Directory" />
<link rel="chapter forum" href="mobile-phones-vf3.html" title="گفتگو پیرامون مسائل سایت Persia CMS" />
<link rel="chapter forum" href="mobile-phones-vf32.html" title="اخبار و اطلاعیه های Hosting" />
<link rel="chapter forum" href="mobile-phones-vf33.html" title="سوالات قبل از خرید" />

<link rel="chapter forum" href="mobile-phones-vf5.html" title="بخش CSS" />
<link rel="chapter forum" href="mobile-phones-vf6.html" title="بخش XHTML و HTML" />
<link rel="chapter forum" href="mobile-phones-vf8.html" title="پشتیبانی phpBB Persia ا (support)" />
<link rel="chapter forum" href="mobile-phones-vf9.html" title="پشتیبانی phpBB فارسی" />
<link rel="chapter forum" href="mobile-phones-vf10.html" title="مقالات آموزشی phpBB" />
<link rel="chapter forum" href="mobile-phones-vf11.html" title="پشتیبانی MyBB فارسی" />
<link rel="chapter forum" href="mobile-phones-vf12.html" title="پشتيباني Drupal فارسی" />
<link rel="chapter forum" href="mobile-phones-vf26.html" title="پشتیبانی e107 فارسی" />
<link rel="chapter forum" href="mobile-phones-vf27.html" title="پشتیبانی mambo فارسی" />
<link rel="chapter forum" href="mobile-phones-vf13.html" title="پشتيباني phpadsnew" />
<link rel="chapter forum" href="mobile-phones-vf14.html" title="اصول و مبانی سئو - SEO principles" />
<link rel="chapter forum" href="mobile-phones-vf15.html" title="تکنیک های سئو - SEO techniques" />
<link rel="chapter forum" href="mobile-phones-vf16.html" title="موتور جستجو های Google , Yahoo! , MSN" />
<link rel="chapter forum" href="mobile-phones-vf17.html" title="تبادل لینک" />
<link rel="chapter forum" href="mobile-phones-vf18.html" title="دایرکتوری ها - directories" />
<link rel="chapter forum" href="mobile-phones-vf19.html" title="ابزار های سئو برای webmaster ها - SEO tools" />
<link rel="chapter forum" href="mobile-phones-vf29.html" title="گوشی های موبایل - Mobile Phones" />

<link rel="chapter forum" href="mobile-phones-vf30.html" title="نرم افزار های تلفن همراه - Mobile Phone Softwares" />
<link rel="chapter forum" href="mobile-phones-vf31.html" title="بازی های تلفن همراه - Mobile Phone Games" />
<link rel="chapter forum" href="mobile-phones-vf20.html" title="اینترنت و وب - internet & web" />
<link rel="chapter forum" href="mobile-phones-vf35.html" title="معرفی Ebook و کتاب" />
<link rel="chapter forum" href="mobile-phones-vf21.html" title="نرم افزار - Software" />
<link rel="chapter forum" href="mobile-phones-vf22.html" title="گفتگوی آزاد" />
<link rel="chapter forum" href="mobile-phones-vf25.html" title="معرفی Site و Weblog اعضا" />
<link rel="chapter forum" href="mobile-phones-vf28.html" title="معرفی اعضای جدید" />
<link rel="chapter forum" href="mobile-phones-vf23.html" title="بازارچه" />
<link rel="chapter forum" href="mobile-phones-vf24.html" title="موسیقی" />


pay attention to href part
the keywords are all the same
this problem is exist in all of my topics
you can check it online of forum.persia-cms.com and forum.irani.ch

i have some page indexed in yahoo in this way
the keyword in URLs is the same and just vt-XX numbers are different

_________________
طراحی وب ، آموزش سئو ، آموزش CSS ، phpbb فارسی ، phpbb3 فارسی ، دروپال فارسی
طراحی وب ، قالب وبلاگ ، استاندارد وب ، آموزش CSS و HTML ، آموزش php
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 13354

mixed rewrite mod and persian UTF-8 encodingPosted: Sun Oct 29, 2006 3:28 pm    Post subject: Re: mixed rewrite mod and persian UTF-8 encoding

Sorry, this one was missed by quite some of us it seems.

Anyway, I PM you the Zero duplicate code right now so this will get fixed in no time Wink

++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
AmirAbbas
phpBB SEO Team
phpBB SEO Team


Joined: 11 May 2006
Posts: 529
Location: IRAN

mixed rewrite mod and persian UTF-8 encodingPosted: Fri Nov 03, 2006 3:50 am    Post subject: Re: mixed rewrite mod and persian UTF-8 encoding

Code:
#
#-----[ OPEN ]------------------------------------------
#

includes/function.php


#
#-----[ FIND ]------------------------------------------
#

                  $nav_links['chapter forum'][$forum_rows[$j]['forum_id']] = array (
                        'url' => append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=" . $forum_rows[$j]['forum_id']),

#
#-----[ REPLACE WITH ]------------------------------------------
#


                  $nav_links['chapter forum'][$forum_rows[$j]['forum_id']] = array (
                     // www.phpBB-SEO.com SEO TOOLKIT BEGIN
                        //'url' => append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=" . $forum_rows[$j]['forum_id']),
                        'url' => append_sid(format_url($forum_rows[$j]['forum_name']) . "-vf" . $forum_rows[$j]['forum_id'] . ".html") ,
                        // www.phpBB-SEO.com SEO TOOLKIT END
#
#-----[ OPEN ]------------------------------------------
#


viewtopic.php


#
#-----[ FIND ]------------------------------------------
#

$view_prev_topic_url = append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&amp;view=previous");
$view_next_topic_url = append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&amp;view=next");

//
// Mozilla navigation bar
//
$nav_links['prev'] = array(
   'url' => $view_prev_topic_url,
   'title' => $lang['View_previous_topic']
);
$nav_links['next'] = array(
   'url' => $view_next_topic_url,
   'title' => $lang['View_next_topic']
);


#
#-----[ REPLACE WITH ]------------------------------------------
#
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
if ($userdata['session_logged_in']) {
$view_prev_topic_url = append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&amp;view=previous");
$view_next_topic_url = append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&amp;view=next");

//
// Mozilla navigation bar
//
$nav_links['prev'] = array(
   'url' => $view_prev_topic_url,
   'title' => $lang['View_previous_topic']
);
$nav_links['next'] = array(
   'url' => $view_next_topic_url,
   'title' => $lang['View_next_topic']
);
}
// www.phpBB-SEO.com SEO TOOLKIT END

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM


its a first time is see this codes
you sent me advance rewrite mod UTF-8 and it wasn't included in that PM Smile

and there is a problem

when you haven't any english word in title of forums and topics the system will use word "empty" instead of words "topic" or "forum"

for example

Code:
<link rel="chapter forum" href="empty-vf23.html" title="بازارچه" />
<link rel="chapter forum" href="empty-vf24.html" title="موسیقی" />


and second problem

subforums has problem and the keywords are wrong for them
for example

Code:
<link rel="chapter forum" href="phpbb-vf25.html" title="معرفی Site و Weblog اعضا" />
<link rel="chapter forum" href="phpbb-vf28.html" title="معرفی اعضای جدید" />


these two forums are subforum. the keyword for first one must be "site-weblog" and for second one must be "topic" but as you can see they have problem

_________________
طراحی وب ، آموزش سئو ، آموزش CSS ، phpbb فارسی ، phpbb3 فارسی ، دروپال فارسی
طراحی وب ، قالب وبلاگ ، استاندارد وب ، آموزش CSS و HTML ، آموزش php
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 13354

mixed rewrite mod and persian UTF-8 encodingPosted: Fri Nov 03, 2006 10:29 am    Post subject: Re: mixed rewrite mod and persian UTF-8 encoding

oups, true.

So first, simple sub forum updated which gives, for the UTF-8 version :


Code:
#
#-----[ OPEN ]------------------------------------------
#
includes/functions.php

#
#-----[ FIND ]------------------------------------------
#
                        //
                        // Add an array to $nav_links for the Mozilla navigation bar.
                        // 'chapter' and 'forum' can create multiple items, therefore we are using a nested array.
                        //
                        $nav_links['chapter forum'][$forum_rows[$k]['forum_id']] = array (
                           'url' => append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=" . $forum_rows[$k]['forum_id']),
                           'title' => $forum_rows[$k]['forum_name']
                        );

#
#-----[ REPLACE WITH ]------------------------------------------
#

                        //
                        // Add an array to $nav_links for the Mozilla navigation bar.
                        // 'chapter' and 'forum' can create multiple items, therefore we are using a nested array.
                        //
                        // www.phpBB-SEO.com SEO TOOLKIT BEGIN
                        $seo_forum_name = format_url($forum_rows[$k]['forum_name']);
                        // www.phpBB-SEO.com SEO TOOLKIT END
                        $nav_links['chapter forum'][$forum_rows[$k]['forum_id']] = array (
                           'url' => append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=" . $forum_rows[$k]['forum_id']),
                           'title' => $forum_rows[$k]['forum_name']
                        );


You could do the same with the regular nav links :
Code:
                        // www.phpBB-SEO.com SEO TOOLKIT BEGIN
                        $seo_forum_name = format_url($forum_rows[$j]['forum_name']);
                        // www.phpBB-SEO.com SEO TOOLKIT END
                  $nav_links['chapter forum'][$forum_rows[$j]['forum_id']] = array (
                     
                        'url' => append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=" . $forum_rows[$j]['forum_id']),


Instead of :

Code:
                  $nav_links['chapter forum'][$forum_rows[$j]['forum_id']] = array (
                     // www.phpBB-SEO.com SEO TOOLKIT BEGIN
                        //'url' => append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=" . $forum_rows[$j]['forum_id']),
                        'url' => append_sid(format_url($forum_rows[$j]['forum_name']) . "-vf" . $forum_rows[$j]['forum_id'] . ".html") ,
                        // www.phpBB-SEO.com SEO TOOLKIT END


I think we sorted out everything now Very Happy

And don't worry, the zero dupe is with us Wink

++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
AmirAbbas
phpBB SEO Team
phpBB SEO Team


Joined: 11 May 2006
Posts: 529
Location: IRAN

mixed rewrite mod and persian UTF-8 encodingPosted: Fri Nov 03, 2006 1:08 pm    Post subject: Re: mixed rewrite mod and persian UTF-8 encoding

it doesn't work

this code

Code:
#
#-----[ OPEN ]------------------------------------------
#
includes/functions.php

#
#-----[ FIND ]------------------------------------------
#
                        //
                        // Add an array to $nav_links for the Mozilla navigation bar.
                        // 'chapter' and 'forum' can create multiple items, therefore we are using a nested array.
                        //
                        $nav_links['chapter forum'][$forum_rows[$k]['forum_id']] = array (
                           'url' => append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=" . $forum_rows[$k]['forum_id']),
                           'title' => $forum_rows[$k]['forum_name']
                        );

#
#-----[ REPLACE WITH ]------------------------------------------
#

                        //
                        // Add an array to $nav_links for the Mozilla navigation bar.
                        // 'chapter' and 'forum' can create multiple items, therefore we are using a nested array.
                        //
                        // www.phpBB-SEO.com SEO TOOLKIT BEGIN
                        $seo_forum_name = format_url($forum_rows[$k]['forum_name']);
                        // www.phpBB-SEO.com SEO TOOLKIT END
                        $nav_links['chapter forum'][$forum_rows[$k]['forum_id']] = array (
                           'url' => append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=" . $forum_rows[$k]['forum_id']),
                           'title' => $forum_rows[$k]['forum_name']
                        );


doesn't any affect

and after applying this part:
Code:
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
                        $seo_forum_name = format_url($forum_rows[$j]['forum_name']);
                        // www.phpBB-SEO.com SEO TOOLKIT END
                  $nav_links['chapter forum'][$forum_rows[$j]['forum_id']] = array (
                     
                        'url' => append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=" . $forum_rows[$j]['forum_id']),


all nav link will lose keywords again (keywords came back to wrong form shape)

_________________
طراحی وب ، آموزش سئو ، آموزش CSS ، phpbb فارسی ، phpbb3 فارسی ، دروپال فارسی
طراحی وب ، قالب وبلاگ ، استاندارد وب ، آموزش CSS و HTML ، آموزش php
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 13354

mixed rewrite mod and persian UTF-8 encodingPosted: Sat Nov 04, 2006 8:42 am    Post subject: Re: mixed rewrite mod and persian UTF-8 encoding

Let's try the Global trick before I go for another method for utf-8 :


In the same file find :
Code:

function make_jumpbox_ref($action, $match_forum_id, &$forums_list)
{
   // End Simple Subforums MOD
   global $template, $userdata, $lang, $db, $nav_links, $phpEx, $SID;


And replace with :

Code:
function make_jumpbox_ref($action, $match_forum_id, &$forums_list)
{
   // End Simple Subforums MOD
   global $template, $userdata, $lang, $db, $nav_links, $phpEx, $SID, $seo_forum_name;


++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
AmirAbbas
phpBB SEO Team
phpBB SEO Team


Joined: 11 May 2006
Posts: 529
Location: IRAN

mixed rewrite mod and persian UTF-8 encodingPosted: Mon Nov 06, 2006 3:43 am    Post subject: Re: mixed rewrite mod and persian UTF-8 encoding

thanks

i applied this one

Code:
#
#-----[ OPEN ]------------------------------------------
#

includes/function.php


#
#-----[ FIND ]------------------------------------------
#

                  $nav_links['chapter forum'][$forum_rows[$j]['forum_id']] = array (
                        'url' => append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=" . $forum_rows[$j]['forum_id']),

#
#-----[ BEFORE ADD ]------------------------------------------
#


                        // www.phpBB-SEO.com SEO TOOLKIT BEGIN
                        $seo_forum_name = format_url($forum_rows[$j]['forum_name']);
                        // www.phpBB-SEO.com SEO TOOLKIT END

#
#-----[ FIND ]------------------------------------------
#
                        //
                        // Add an array to $nav_links for the Mozilla navigation bar.
                        // 'chapter' and 'forum' can create multiple items, therefore we are using a nested array.
                        //
                        $nav_links['chapter forum'][$forum_rows[$k]['forum_id']] = array (
                           'url' => append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=" . $forum_rows[$k]['forum_id']),
                           'title' => $forum_rows[$k]['forum_name']
                        );

#
#-----[ REPLACE WITH ]------------------------------------------
#

                        //
                        // Add an array to $nav_links for the Mozilla navigation bar.
                        // 'chapter' and 'forum' can create multiple items, therefore we are using a nested array.
                        //
                        // www.phpBB-SEO.com SEO TOOLKIT BEGIN
                        $seo_forum_name = format_url($forum_rows[$k]['forum_name']);
                        // www.phpBB-SEO.com SEO TOOLKIT END
                        $nav_links['chapter forum'][$forum_rows[$k]['forum_id']] = array (
                           'url' => append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=" . $forum_rows[$k]['forum_id']),
                           'title' => $forum_rows[$k]['forum_name']
                        );

#
#-----[ FIND ]------------------------------------------
#


function make_jumpbox_ref($action, $match_forum_id, &$forums_list)
{
   // End Simple Subforums MOD
   global $template, $userdata, $lang, $db, $nav_links, $phpEx, $SID;
   

#
#-----[ REPLACE WITH ]------------------------------------------
#

function make_jumpbox_ref($action, $match_forum_id, &$forums_list)
{
   // End Simple Subforums MOD
   global $template, $userdata, $lang, $db, $nav_links, $phpEx, $SID, $seo_forum_name;

#
#-----[ OPEN ]------------------------------------------
#


viewtopic.php


#
#-----[ FIND ]------------------------------------------
#

$view_prev_topic_url = append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&amp;view=previous");
$view_next_topic_url = append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&amp;view=next");

//
// Mozilla navigation bar
//
$nav_links['prev'] = array(
   'url' => $view_prev_topic_url,
   'title' => $lang['View_previous_topic']
);
$nav_links['next'] = array(
   'url' => $view_next_topic_url,
   'title' => $lang['View_next_topic']
);


#
#-----[ REPLACE WITH ]------------------------------------------
#
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
if ($userdata['session_logged_in']) {
$view_prev_topic_url = append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&amp;view=previous");
$view_next_topic_url = append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&amp;view=next");

//
// Mozilla navigation bar
//
$nav_links['prev'] = array(
   'url' => $view_prev_topic_url,
   'title' => $lang['View_previous_topic']
);
$nav_links['next'] = array(
   'url' => $view_next_topic_url,
   'title' => $lang['View_next_topic']
);
}
// www.phpBB-SEO.com SEO TOOLKIT END


it works Wink

_________________
طراحی وب ، آموزش سئو ، آموزش CSS ، phpbb فارسی ، phpbb3 فارسی ، دروپال فارسی
طراحی وب ، قالب وبلاگ ، استاندارد وب ، آموزش CSS و HTML ، آموزش php
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 13354

mixed rewrite mod and persian UTF-8 encodingPosted: Mon Nov 06, 2006 10:59 am    Post subject: Re: mixed rewrite mod and persian UTF-8 encoding

Very Happy

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
AmirAbbas
phpBB SEO Team
phpBB SEO Team


Joined: 11 May 2006
Posts: 529
Location: IRAN

mixed rewrite mod and persian UTF-8 encodingPosted: Mon Nov 27, 2006 6:54 am    Post subject: Re: mixed rewrite mod and persian UTF-8 encoding

i have anther request

this mod is work perfect but now we encounter with a new problem
our members are using persian language in title of topics and some time they use numbers. now we have lot of url that only contain numbers injected in title.

is there any way to restrict usrs to add keyword to title?
like your forum.

in your forum only admin can add keyword to url
is it easy to implement ?
at list i want to have this for my forum.

_________________
طراحی وب ، آموزش سئو ، آموزش CSS ، phpbb فارسی ، phpbb3 فارسی ، دروپال فارسی
طراحی وب ، قالب وبلاگ ، استاندارد وب ، آموزش CSS و HTML ، آموزش php
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 13354

mixed rewrite mod and persian UTF-8 encodingPosted: Mon Nov 27, 2006 10:09 pm    Post subject: Re: mixed rewrite mod and persian UTF-8 encoding

Well, as already said, the code is experimental so far and would be hard to support as is. I'll see about this after I'll end up updating all mods.

Anyway, I am thinking about implementing some kind of switch between static and dynamic mod rewrite in topic titles.

But we could just filter numbers in URLs, they are not really good keyword actually, and we do not really care about changing some URLs with the zero dupe Wink

So it would just be :

Open :

Code:
includes/functions.php


Find :

Code:
   $url = ereg_replace("[^a-zA-Z0-9]", "-", $url);


Replace with :

Code:
   $url = ereg_replace("[^a-zA-Z]", "-", $url);


++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
AmirAbbas
phpBB SEO Team
phpBB SEO Team


Joined: 11 May 2006
Posts: 529
Location: IRAN

mixed rewrite mod and persian UTF-8 encodingPosted: Tue Nov 28, 2006 9:36 am    Post subject: Re: mixed rewrite mod and persian UTF-8 encoding

thanks a lot

_________________
طراحی وب ، آموزش سئو ، آموزش CSS ، phpbb فارسی ، phpbb3 فارسی ، دروپال فارسی
طراحی وب ، قالب وبلاگ ، استاندارد وب ، آموزش CSS و HTML ، آموزش php
Back to top
Visit poster's website
AmirAbbas
phpBB SEO Team
phpBB SEO Team


Joined: 11 May 2006
Posts: 529
Location: IRAN

mixed rewrite mod and persian UTF-8 encodingPosted: Tue Nov 28, 2006 6:38 pm    Post subject: Re: mixed rewrite mod and persian UTF-8 encoding

i forgot to say something

drupal CMS is this ability

http://drupal.org

in default form the shape of URL in something like this (after activing rewrite rules)

-http://www.phpbb-SEO.com/node/1

and next URL is like this

-http://www.phpbb-SEO.com/node/2 (and /node/3 and .... )

the admin can rename nodes. for example you can change the first URL to something like this

-http://www.phpbb-SEO.com/phpbb-mod-rewrites.html

there is a field under title field that let you to rename nodes.
if you choose a used name, the system will tell you that the name that you choosed are used before
because the URL in drupal doesn't have something like phpbb-seo mod rewrite (vt-XX , vf-XX )
i don't know programing but i think checking Drupal code can help you a bit.

_________________
طراحی وب ، آموزش سئو ، آموزش CSS ، phpbb فارسی ، phpbb3 فارسی ، دروپال فارسی
طراحی وب ، قالب وبلاگ ، استاندارد وب ، آموزش CSS و HTML ، آموزش php
Back to top
Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB mod Rewrite
Page 4 of 5 Goto page Previous  1, 2, 3, 4, 5  Next

Navigation Similar Topics

Jump to: