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  
 
   
PHP URLs

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB Forum
::  
Author Message
Aliniuz



Joined: 06 Jan 2007
Posts: 38

PHP URLsPosted: Sat Jan 27, 2007 12:27 pm    Post subject: PHP URLs

What do I have to do so that I get rid of the php url , when I try to acces a x.html file it says that the x.PHP file wasn't found (404) . I don't know what to do ...

Here is my .htacces file .
Code:
<Files config.php>
Deny from all
</Files>

<files archive>
  ForceType application/x-httpd-php
</files>

DirectoryIndex index.html index.htm index.php

RewriteEngine On

# SEO URL [mgutt]
RewriteRule !\.html$ - [L]
RewriteRule ^[a-z0-9-]+-([pt])([0-9]+)\.html$ /viewtopic.php?$1=$2 [L]
RewriteRule ^[a-z0-9-]+-f([0-9]+)\.html$ /viewforum.php?f=$1 [L]
RewriteRule ^[a-z0-9-]+-c([0-9]+)\.html$ /index.php?c=$1 [L]
RewriteRule ^[a-z0-9-]+-u([0-9]+)\.html$ /profile.php?mode=viewprofile&u=$1 [L]
RewriteRule ^([a-zA-Z0-9_]+),([^/,]+),([^/,]*)([^/]*\.html)$ $1$4?$2=$3 [QSA,N]
RewriteRule ^[a-z0-9-]+-([pt])([0-9]+),([^/,]+),([^/,]*)([^/]*\.html)$ viewtopic$5?$1=$2&$3=$4 [QSA,N]
RewriteRule ^[a-z0-9-]+-f([0-9]+),([^/,]+),([^/,]*)([^/]*\.html)$ viewforum$4?f=$1&$2=$3 [QSA,N]
RewriteRule ^([a-zA-Z0-9_]+)\.html$ /$1.php [L]


If this SEO URLs MOD its not good enough than what Seo MOD do you highly recomend me for my board ( www.galatiforum.com ) ?
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15131

PHP URLsPosted: Sat Jan 27, 2007 12:58 pm    Post subject: Re: PHP URLs

Well, we're not really providing support for SEO url v2 here.

Besides, your board does not use url rewriting so far, so it looks like SEO URLv2 was not installed yet, or was but removed, or is only rewriting URLs for guests.
As -http://www.galatiforum.com/feedback-and-regulament-f12.html is working

My advise would be for you to migrate to the phpBB SEO mixed or advanced mod rewrite.

To do so, you'll just need to uninstall SEO URL v2, but keep it's rewriterules.
Then install the chosen phpBB SEO mod rewrite and implement it's rewriterules before the SEO url v2 ones.

And install the corresponding zero dupe to HTTP redirect all URLs to the phpBB SEO mods ones Wink

It's rather easy to do, but you'll need to cautiously follow the install steps and check everything works nice before you'll say it's all working, especially the zero dupe headers.

++

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



Joined: 06 Jan 2007
Posts: 38

PHP URLsPosted: Sun Jan 28, 2007 11:20 am    Post subject: Re: PHP URLs

I installed Mixed rewrite MOD and now the urls are clasic ... viewforum.php?f=x .

I did all modifications, i unnistalled SEO URLS ...

My .htacces file is unchanged . I tryed to put the rewriterules of mixed rewrite but it not worked .

I'm desperate, what should I do ?
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15131

PHP URLsPosted: Sun Jan 28, 2007 12:22 pm    Post subject: Re: PHP URLs

Are the php code changes implemented right now?

It's almost impossible that no links are rewritten within phpBB.

My advise, do some local testings to find out a bit more about the codes changes and to see it's working.

Then, for the .htaccess, it will work, as your server is accepting mod_rewrite.

So if you want to use the mixed mod rewrite, please post in the mixed mod rewrite forum, you'll get help.

It's really easier to do one thing at a 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
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB Forum
Page 1 of 1

Navigation Similar Topics

Jump to: