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  
 
   
Help! Page cannot be found

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB mod Rewrite  » Mixed mod rewrite
::  
Author Message
kanexpo



Joined: 11 Oct 2007
Posts: 7

Help! Page cannot be foundPosted: Thu Oct 11, 2007 6:21 pm    Post subject: Help! Page cannot be found

Hi,

After installing this script everything looked ok untill i clicked on the forum link and it said "This page couldnt be found". Same thing for the members, if i click on my name it cant find the page.

I thought i did everything correct... what might be the problem?

thanks
Back to top
HB
phpBB SEO Team
phpBB SEO Team


Joined: 16 Oct 2006
Posts: 790

Help! Page cannot be foundPosted: Thu Oct 11, 2007 6:47 pm    Post subject: Re: Help! Page cannot be found

I would guess that your .htaccess is incorrect. Double check your work carefully, it's a lot of steps.

_________________
Dan Kehn
Back to top
Visit poster's website
kanexpo



Joined: 11 Oct 2007
Posts: 7

Help! Page cannot be foundPosted: Thu Oct 11, 2007 6:52 pm    Post subject: Re: Help! Page cannot be found

hi dan

this is my htaccess file, to me it seems correct. could you please check and see if you can spot any erros. thanks

Code:
# You could need to un-comment the following line
# Options +FollowSymlinks
RewriteEngine On
RewriteBase /

#########################################################
# PHPBB SEO REWRITE RULES            #
#########################################################
# AUTHOR : DCZ http://www.phpbb-seo.com/
# STARTED : 01/2006
#####################################################
# FORUMS PAGES
########################
# FORUM INDEX (un-comment if used)
# RewriteRule ^phpbb/index\.html$ forum/index.php [QSA,L,NC]
# FORUM PROTECTION RULE
# RewriteRule ^phpbb/[a-z0-9_-]+/([^/]+\.html)$ forum/index.php [R=301,L,NC]
# CATEGORIES
RewriteRule ^phpbb/[a-z0-9_-]*-c([0-9]+)\.html$ forum/index.php?c=$1 [QSA,L,NC]
# PAGINATED FORUM
RewriteRule ^phpbb/[a-z0-9_-]*-f([0-9]+)-([0-9]+)\.html$ forum/viewforum.php?f=$1&start=$2 [QSA,L,NC]
# FORUM
RewriteRule ^phpbb/[a-z0-9_-]*-f([0-9]+)\.html$ forum/viewforum.php?f=$1 [QSA,L,NC]
# PAGINATED TOPIC
RewriteRule ^phpbb/topic([0-9]+)-([0-9]+)\.html$ forum/viewtopic.php?t=$1&start=$2 [QSA,L,NC]
# TOPIC
RewriteRule ^phpbb/topic([0-9]+)\.html$ forum/viewtopic.php?t=$1 [QSA,L,NC]
# POST
RewriteRule ^phpbb/post([0-9]+)\.html$ forum/viewtopic.php?p=$1 [QSA,L,NC]
#PROFILES
RewriteRule ^phpbb/member([0-9]+)\.html$ forum/profile.php?mode=viewprofile&u=$1 [QSA,L,NC]
# END PHPBB PAGES
#####################################################


ps: i've tried with /forum and with just forum
Back to top
HB
phpBB SEO Team
phpBB SEO Team


Joined: 16 Oct 2006
Posts: 790

Help! Page cannot be foundPosted: Thu Oct 11, 2007 7:39 pm    Post subject: Re: Help! Page cannot be found

Huh? Where do you have it installed, phpbb or forum?

Code:
RewriteRule ^phpbb/[a-z0-9_-]*-f([0-9]+)\.html$ forum/viewforum.php?f=$1 [QSA,L,NC]


BTW, on some servers, the second parameter needs a leading slash, i.e., /forum/viewforum.php?f=$1.

_________________
Dan Kehn
Back to top
Visit poster's website
kanexpo



Joined: 11 Oct 2007
Posts: 7

Help! Page cannot be foundPosted: Thu Oct 11, 2007 8:17 pm    Post subject: Re: Help! Page cannot be found

i have it installed on /forum/

i've tried with and without slash, doesnt seem to make a differnece...

what other possiblities do we have to fix this ?
Back to top
HB
phpBB SEO Team
phpBB SEO Team


Joined: 16 Oct 2006
Posts: 790

Help! Page cannot be foundPosted: Thu Oct 11, 2007 8:41 pm    Post subject: Re: Help! Page cannot be found

If you have it installed on forum, then your rules should reflect it. For example:

Quote:
RewriteRule ^forum/[a-z0-9_-]*-f([0-9]+)\.html$ forum/viewforum.php?f=$1 [QSA,L,NC]

_________________
Dan Kehn
Back to top
Visit poster's website
kanexpo



Joined: 11 Oct 2007
Posts: 7

Help! Page cannot be foundPosted: Thu Oct 11, 2007 8:53 pm    Post subject: Re: Help! Page cannot be found

it worked!!! thanks SO MUCH! Laughing
Back to top
kanexpo



Joined: 11 Oct 2007
Posts: 7

Help! Page cannot be foundPosted: Thu Oct 11, 2007 8:57 pm    Post subject: Re: Help! Page cannot be found

just one question however.

is it correct that it says forum4.html instead of forumtitle.html?

i installed the mixed version
Back to top
HB
phpBB SEO Team
phpBB SEO Team


Joined: 16 Oct 2006
Posts: 790

Help! Page cannot be foundPosted: Thu Oct 11, 2007 9:07 pm    Post subject: Re: Help! Page cannot be found

Sounds like you installed the simple rewrite:

http://www.phpbb-seo.com/boards/simple-mod-rewrite/simple-seo-url-vt45.html

There's a description of each as a sticky:

http://www.phpbb-seo.com/boards/mixed-mod-rewrite/mixed-seo-url-vt44.html
http://www.phpbb-seo.com/boards/advanced-mod-rewrite/advanced-seo-url-vt43.html

_________________
Dan Kehn
Back to top
Visit poster's website
kanexpo



Joined: 11 Oct 2007
Posts: 7

Help! Page cannot be foundPosted: Thu Oct 11, 2007 9:13 pm    Post subject: Re: Help! Page cannot be found

thanks dan for all your help.

im sure that i downloaded the mixed one... strange
Back to top
kanexpo



Joined: 11 Oct 2007
Posts: 7

Help! Page cannot be foundPosted: Fri Oct 12, 2007 6:50 pm    Post subject: Re: Help! Page cannot be found

hi dan,

im quite surei donwloaded and installed the "mixed" version.

in my forum when i hover the mouse over a cateogry i see

/forum/general-f2.html

but when i want to see a post it says

/forum/topic6.html

can it be that i installed it wrongly or is it 100% certain that i installed the wrong version.

thanks for your help
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 13354

Help! Page cannot be foundPosted: Sun Oct 21, 2007 12:04 pm    Post subject: Re: Help! Page cannot be found

Well, as a mater of facts, this is what the mixed version is supposed to do Wink

Only the advanced one will inject topic titles in their urls.

++

_________________
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  » Mixed mod rewrite
Page 1 of 1

Navigation Similar Topics

Jump to: