| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
Aliniuz
Joined: 06 Jan 2007 Posts: 38
|
Posted: 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

Joined: 28 Apr 2006 Posts: 15131
|
Posted: 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
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 |
|
 |
Aliniuz
Joined: 06 Jan 2007 Posts: 38
|
Posted: 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

Joined: 28 Apr 2006 Posts: 15131
|
|
| Back to top |
|
 |
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |