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  
 
   
Creating SEO on CMS

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » Apache mod Rewrite
::  
Author Message
JanoF



Joined: 30 May 2006
Posts: 43

Creating SEO on CMSPosted: Sat Aug 05, 2006 9:11 am    Post subject: Creating SEO on CMS

Hallo,
I'd like oneself questioningly whether could oneself here found somebody who'd he knew repair optimalization for SEO upon this CMS - download
it is very simple CMS
Thanks

_________________
www.pcforum.sk | www.pcforum.cz | jan.fecik.sk
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14403

Creating SEO on CMSPosted: Sat Aug 05, 2006 10:06 am    Post subject: Re: Creating SEO on CMS

I did not know about this one, do you have a server online so that we can see it working ?

++

_________________
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
JanoF



Joined: 30 May 2006
Posts: 43

Creating SEO on CMSPosted: Sat Aug 05, 2006 10:32 am    Post subject: Re: Creating SEO on CMS

dcz wrote:
I did not know about this one, do you have a server online so that we can see it working ?

++
webman.profitux.cz

_________________
www.pcforum.sk | www.pcforum.cz | jan.fecik.sk
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14403

Creating SEO on CMSPosted: Sat Aug 05, 2006 11:08 am    Post subject: Re: Creating SEO on CMS

Interesting, unfortunately it does not seems to be translated.

Looking at the code it seems very doable to Search Engine Optimize it, but without at least an English translation (which I cannot make here), I don't think I'll do it.

Though, the project is interesting, do you know the developer ? Is there any community around this project ? Are there any translations available ?

++

_________________
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
JanoF



Joined: 30 May 2006
Posts: 43

Creating SEO on CMSPosted: Sat Aug 05, 2006 11:13 am    Post subject: Re: Creating SEO on CMS

Yes I know a developer, but in translation this no. Here I am this gave only therefore that here’s phpbb-seo like this could maybe somebody scientist how then herein CMS

_________________
www.pcforum.sk | www.pcforum.cz | jan.fecik.sk
Back to top
Visit poster's website
JanoF



Joined: 30 May 2006
Posts: 43

Creating SEO on CMSPosted: Sat Aug 05, 2006 1:00 pm    Post subject: Re: Creating SEO on CMS

Like this already this in the last analysis is, but has small problem namely such that doesn't know what how to do gap but "-" he can't use. He knew ought this like this re-do that oneself she could have use "-" ???


Code:
RewriteEngine On
RewriteRule ^sekce-(.*)-(.*)\.html$ %{DOCUMENT_ROOT}/index.php?str=$2&tp=1 [L,QSA]
RewriteRule ^kategorie-(.*)-(.*)-(.*)\.html$ %{DOCUMENT_ROOT}/index.php?str=$2&tp=2&s=$3 [L,QSA]
RewriteRule ^clanek-(.*)-(.*)\.html$ %{DOCUMENT_ROOT}/index.php?articleread=$2 [L,QSA]

_________________
www.pcforum.sk | www.pcforum.cz | jan.fecik.sk
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14403

Creating SEO on CMSPosted: Sun Aug 06, 2006 3:39 pm    Post subject: Re: Creating SEO on CMS

Again, I am not sure to get it all, but analysing your RegEx, I think (.*) should be replaced with (.+) to make the rules more strict here.

-(.*)- asks Apache to capture any amount of datas (whichever type and can be none) in between two hyphens ("-"), meaning -- (-nothing-) would be redirected, where -(.+)- is asking foar at least some content, meaning -- would not be redirected which is better.

Then, as a general guideline, I think you should specify the type of data waited for, using ([0-9].+) (again I use + instead of * to disallow the empty case) to capture integers and ([a-zA-Z0-9].+) to capture text and numbers when needed (depending on the var type in the php script).

And, as a general performance matter, I do prefer to work with numerical IDs than with titles.

For example if you set a php script like this :

Code:
script.php?page=title-of-the-page


You could use a rule like this :
Code:

RewriteRule ^([a-zA-Z0-9].+)\.html$ /script.php?page=$1


To allow the use of this title-of-the-page

But this would not allow you to maintain two pages with the same title, and would lead to much longer SQL selects as there is no way to go faster than to select on a numerical index.

So I'd better go for such scripting from scratch if the script is supposed to host a large amount of different pages (such as phpBB) :

Code:
script.php?pageid=xx


You could use a rule like this :
Code:

RewriteRule ^.+-id([0-9].+)\.html$ /script.php?pageid=$1


To allow the use of this title-of-the-page-idxx.html

Of course "id" can be here whatever, but small. It won't change much as far as being Ranked in Search engines, the "idxx" added part will not jeopardise this much your keyword density in URLs, but the fact that your site will be faster will help a lot Wink

As well, you can think of using "/" instead of "-" to separate the vars you capture.

Code:
RewriteRule ^sekce/(.+)/(.+)\.html$


For example, as long as you make sure to output the correct links and to correctly link the images (relative path would be broken here).

++

_________________
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
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » Apache mod Rewrite
Page 1 of 1

Navigation Similar Topics

Jump to: