| :: |
| Author |
Message |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14403
|
|
| Back to top |
|
 |
|
 |
AmirAbbas phpBB SEO Team


Joined: 11 May 2006 Posts: 529 Location: IRAN
|
Posted: 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. |
_________________ چهار گوش - طراحی وب - مجله طراحی وب |
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14403
|
Posted: 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
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 |
|
 |
AmirAbbas phpBB SEO Team


Joined: 11 May 2006 Posts: 529 Location: IRAN
|
Posted: Tue Nov 28, 2006 9:36 am Post subject: Re: mixed rewrite mod and persian UTF-8 encoding |
|
|
| thanks a lot |
_________________ چهار گوش - طراحی وب - مجله طراحی وب |
|
| Back to top |
|
 |
AmirAbbas phpBB SEO Team


Joined: 11 May 2006 Posts: 529 Location: IRAN
|
Posted: 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. |
_________________ چهار گوش - طراحی وب - مجله طراحی وب |
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14403
|
Posted: Tue Nov 28, 2006 11:09 pm Post subject: Re: mixed rewrite mod and persian UTF-8 encoding |
|
|
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 || 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 |
|
 |
AmirAbbas phpBB SEO Team


Joined: 11 May 2006 Posts: 529 Location: IRAN
|
Posted: Wed Nov 29, 2006 11:00 am Post subject: Re: mixed rewrite mod and persian UTF-8 encoding |
|
|
| dcz wrote: | | I did not say this site is not using such feature |
i didn't say too
| 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  |
_________________ چهار گوش - طراحی وب - مجله طراحی وب |
|
| Back to top |
|
 |
hosseintdk775
Joined: 28 Jun 2007 Posts: 6
|
Posted: Thu Sep 13, 2007 11:40 am Post subject: Re: mixed rewrite mod and persian UTF-8 encoding |
|
|
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? |
|
|
| Back to top |
|
 |
SeO Administrateur - Site Admin

Joined: 15 Mar 2006 Posts: 3477
|
|
| Back to top |
|
 |
augustas
Joined: 20 Sep 2007 Posts: 2
|
|
| Back to top |
|
 |
|
|