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  
 
   
I Have A Big Problem...!!!

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB mod Rewrite
::  
Author Message
MorYeL
phpBB SEO Team
phpBB SEO Team


Joined: 11 Aug 2006
Posts: 99

I Have A Big Problem...!!!Posted: Sun Oct 01, 2006 8:49 am    Post subject: I Have A Big Problem...!!!

Hi to all... I install your Mod Rewrite mode. But I have a problem.

my .htaccess file is:

Code:
RewriteEngine On
RewriteRule ^.+/([^/]+\.html)$ index.php [R=301,L]
# CATEGORIES
RewriteRule ^.+-vc([0-9]+)\.html$ index.php?c=$1 [QSA,L]
# PAGINATED FORUM
RewriteRule ^.+-vf([0-9]+)-([0-9]+)\.html$ viewforum.php?f=$1&start=$2 [QSA,L]
# FORUM
RewriteRule ^.+-vf([0-9]+)\.html$ viewforum.php?f=$1 [QSA,L]
# PAGINATED TOPIC
RewriteRule ^.+-vt([0-9]+)-([0-9]+)\.html$ viewtopic.php?t=$1&start=$2 [QSA,L]
# TOPIC
RewriteRule ^.+-vt([0-9]+)\.html$ viewtopic.php?t=$1 [QSA,L]
# POST
RewriteRule ^post([0-9]+)\.html$ viewtopic.php?p=$1 [QSA,L]
#PROFILES
RewriteRule ^member([0-9]+)\.html$ profile.php?mode=viewprofile&u=$1 [QSA,L]


my forum directory is http://www.sebinportal.com/panolar/
my .htaccess directory is http://www.sebinportal.com/panolar/.htaccess

My forums are working but topics no Sad

For example

http://www.sebinportal.com/panolar/sebinkarahisar-in-tarihi-vf2.html this is working

but ;

http://www.sebinportal.com/panolar/topic4.html this is not working Sad

Please help me... Thanks...
Back to top
Visit poster's website
993ti



Joined: 26 Aug 2006
Posts: 16

I Have A Big Problem...!!!Posted: Sun Oct 01, 2006 11:44 am    Post subject: Re: I Have A Big Problem...!!!

What version of the rewrite are you using?
The problem you posted (topic4.html) is used by the simple and mixed rewrite.
The htaccess you posted is from the advanced rewrite.
Looks like you mixed something up?
Back to top
Visit poster's website
MorYeL
phpBB SEO Team
phpBB SEO Team


Joined: 11 Aug 2006
Posts: 99

I Have A Big Problem...!!!Posted: Sun Oct 01, 2006 6:08 pm    Post subject: Re: I Have A Big Problem...!!!

I am using Mixed version Sad

http://www.phpbb-seo.com/downloads/phpBB-SEO-Mixed-mod-Rewrite_V_0.0.2.zip
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14814

I Have A Big Problem...!!!Posted: Mon Oct 02, 2006 11:20 am    Post subject: Re: I Have A Big Problem...!!!

That's how 993ti told you, you are using the phpBB SEO mixed mod rewrite code with the phpBB SEO advanced mod rewrite's .htaccess

So if you want to go for the mixed mod rewrite you just need to change :

Code:
# PAGINATED TOPIC
RewriteRule ^.+-vt([0-9]+)-([0-9]+)\.html$ viewtopic.php?t=$1&start=$2 [QSA,L]
# TOPIC
RewriteRule ^.+-vt([0-9]+)\.html$ viewtopic.php?t=$1 [QSA,L]


with :
Code:
# PAGINATED TOPIC
RewriteRule ^topic([0-9]+)-([0-9]+)\.html$ /viewtopic.php?t=$1&start=$2 [QSA,L]
# TOPIC
RewriteRule ^topic([0-9]+)\.html$ /viewtopic.php?t=$1 [QSA,L]


in your .htaccess.

++

_________________
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
MorYeL
phpBB SEO Team
phpBB SEO Team


Joined: 11 Aug 2006
Posts: 99

I Have A Big Problem...!!!Posted: Mon Oct 02, 2006 12:51 pm    Post subject: Re: I Have A Big Problem...!!!

Hi dcz... I changed my .htaccess file...

Code:
RewriteEngine On
RewriteRule ^.+/([^/]+\.html)$ index.php [R=301,L]
# CATEGORIES
RewriteRule ^.+-vc([0-9]+)\.html$ index.php?c=$1 [QSA,L]
# PAGINATED FORUM
RewriteRule ^.+-vf([0-9]+)-([0-9]+)\.html$ viewforum.php?f=$1&start=$2 [QSA,L]
# FORUM
RewriteRule ^.+-vf([0-9]+)\.html$ viewforum.php?f=$1 [QSA,L]
# PAGINATED TOPIC
RewriteRule ^topic([0-9]+)-([0-9]+)\.html$ /viewtopic.php?t=$1&start=$2 [QSA,L]
# TOPIC
RewriteRule ^topic([0-9]+)\.html$ /viewtopic.php?t=$1 [QSA,L]
# POST
RewriteRule ^post([0-9]+)\.html$ viewtopic.php?p=$1 [QSA,L]
#PROFILES
RewriteRule ^member([0-9]+)\.html$ profile.php?mode=viewprofile&u=$1 [QSA,L]


But my problem is going on Sad Please help me SadSadSad
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14814

I Have A Big Problem...!!!Posted: Mon Oct 02, 2006 1:04 pm    Post subject: Re: I Have A Big Problem...!!!

it can be the slash before viewtopic.php in the two modified lines of code or it could be because of some other .htaccess in the domain's root.

If getting rid of the slash is not enough, try deleting your panolar/ 's .htaccess and adding this in your root's one (on folder above) :
Code:
RewriteEngine On
RewriteBase /
RewriteRule ^panolar/.+/([^/]+\.html)$ panolar/index.php [R=301,L]
# CATEGORIES
RewriteRule ^panolar/.+-vc([0-9]+)\.html$ panolar/index.php?c=$1 [QSA,L]
# PAGINATED FORUM
RewriteRule ^panolar/.+-vf([0-9]+)-([0-9]+)\.html$ panolar/viewforum.php?f=$1&start=$2 [QSA,L]
# FORUM
RewriteRule ^panolar/.+-vf([0-9]+)\.html$ panolar/viewforum.php?f=$1 [QSA,L]
# PAGINATED TOPIC
RewriteRule ^panolar/topic([0-9]+)-([0-9]+)\.html$ panolar/viewtopic.php?t=$1&start=$2 [QSA,L]
# TOPIC
RewriteRule ^panolar/topic([0-9]+)\.html$ panolar/viewtopic.php?t=$1 [QSA,L]
# POST
RewriteRule ^panolar/post([0-9]+)\.html$ panolar/viewtopic.php?p=$1 [QSA,L]
#PROFILES
RewriteRule ^panolar/member([0-9]+)\.html$ panolar/profile.php?mode=viewprofile&u=$1 [QSA,L]


Do not repeat :
Code:
RewriteEngine On
RewriteBase /


if your root's .htaccess is already starting mod_rewrite.


It is more handy to do so if you do not run hundreds of rewriterules from the root's .htaccess as it will allow the www prefix redirection to work easier for all of your web-site's folders.

++

_________________
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
MorYeL
phpBB SEO Team
phpBB SEO Team


Joined: 11 Aug 2006
Posts: 99

I Have A Big Problem...!!!Posted: Mon Oct 02, 2006 6:17 pm    Post subject: Re: I Have A Big Problem...!!!

Thanks dcz... Very Happy
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14814

I Have A Big Problem...!!!Posted: Tue Oct 03, 2006 10:23 pm    Post subject: Re: I Have A Big Problem...!!!

You're welcome 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 mod Rewrite
Page 1 of 1

Navigation Similar Topics

Jump to: