mixed rewrite mod and persian UTF-8 encoding

Discussions and support about the different URL Rewriting techniques for phpBB2.

Moderator: Moderators

Postby dcz » Mon Nov 06, 2006 10:59 am

:D
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21238
Joined: Fri Apr 28, 2006 9:03 pm

Advertisement

Postby AmirAbbas » Mon Nov 27, 2006 6:54 am

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.
User avatar
AmirAbbas
phpBB SEO Team
phpBB SEO Team
 
Posts: 534
Joined: Thu May 11, 2006 3:30 pm
Location: IRAN

Postby dcz » Mon Nov 27, 2006 10:09 pm

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 ;)

So it would just be :

Open :

Code: Select all
includes/functions.php


Find :

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


Replace with :

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


++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21238
Joined: Fri Apr 28, 2006 9:03 pm

Postby AmirAbbas » Tue Nov 28, 2006 9:36 am

thanks a lot
User avatar
AmirAbbas
phpBB SEO Team
phpBB SEO Team
 
Posts: 534
Joined: Thu May 11, 2006 3:30 pm
Location: IRAN

Postby AmirAbbas » Tue Nov 28, 2006 6:38 pm

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.
User avatar
AmirAbbas
phpBB SEO Team
phpBB SEO Team
 
Posts: 534
Joined: Thu May 11, 2006 3:30 pm
Location: IRAN

Postby dcz » Tue Nov 28, 2006 11:09 pm

I did not say this site is not using such feature ;)

But what is good for a portal is not necessary as good for a forum.

I mean, do we want to turn out a forum into a CMS ?

Anyway, as said, this idea is a bit more than in the air, it's just another story to release, support and maintain.

I first want what really important for us here, before we'll goo to what's beyond.

Be patient, we already have very powerful tools in our hands ;)

And I do not forget your bump, I just wanted to have more than 1 minute to answer.

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21238
Joined: Fri Apr 28, 2006 9:03 pm

Postby AmirAbbas » Wed Nov 29, 2006 11:00 am

dcz wrote:I did not say this site is not using such feature


i didn't say too :mrgreen:

dcz wrote:But what is good for a portal is not necessary as good for a forum.


yes, you are right.

dcz wrote:And I do not forget your bump, I just wanted to have more than 1 minute to answer.


thanks :wink:
User avatar
AmirAbbas
phpBB SEO Team
phpBB SEO Team
 
Posts: 534
Joined: Thu May 11, 2006 3:30 pm
Location: IRAN

Postby hosseintdk775 » Thu Sep 13, 2007 11:40 am

In the name of the god.
Hi
I need this mod, but I can not find this mod.
Can you give me this mod, please?
hosseintdk775
 
Posts: 6
Joined: Thu Jun 28, 2007 9:09 am

Postby SeO » Thu Sep 13, 2007 3:49 pm

The 0.2.4 versions (advanced mixed and simple) supports UTF-8 pretty well. It includes all the feature discussed in this thread.

It will behave the same way it does for phpBB3, example : http://phpbb3.phpbb-seo.net/test-forum- ... e-t11.html
SeO
Admin
Admin
 
Posts: 6333
Joined: Wed Mar 15, 2006 9:41 pm

Postby augustas » Fri Sep 21, 2007 7:30 pm

Hello AmirAbbas,

Not sure if your problem is solved (this thread became too long :) ), but maybe my tips for making phpbbSEO to work for all languages will help you:

http://www.phpbb-seo.com/boards/phpbb-m ... t1602.html
augustas
 
Posts: 2
Joined: Thu Sep 20, 2007 2:45 pm

Previous

Return to phpBB2 mod Rewrite

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 1 guest