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  
 
   
404 Not Found

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 mod Rewrite  » Advanced SEO URL
::  
Author Message
demon326



Joined: 23 Jul 2008
Posts: 2

404 Not FoundPosted: Mon Oct 06, 2008 4:38 pm    Post subject: 404 Not Found

Hello, i just installed this mod on my testboard, but it seems it is not working cause i get this error:

Quote:
Not Found
The requested URL /forum/de-band-f19/ was not found on this server.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.41 Server at dev.panzerkampf.be Port 80


The dev link:
http://dev.panzerkampf.be/forum/

htaccess content:

Code:
#drupal rewrite rules
<IfModule mod_rewrite.c>
  RewriteEngine on
  # Modify the RewriteBase if you are using Drupal in a subdirectory and
  # the rewrite rules are not working properly.
  #RewriteBase /
 
Options None
Options +FollowSymLinks
  RewriteRule ^inbox$           ucp.php?i=pm&folder=inbox [L]
 
  #RewriteCond %{QUERY_STRING} ^mode=login(.*)$
  RewriteCond %{QUERY_STRING} !^bypass=true(.*)$
  #RewriteRule ^ucp.php(.*)$ ../phpbb/login [L]
 
  RewriteCond %{QUERY_STRING} ^mode=register(.*)$
  RewriteRule ^ucp.php(.*)$ ../user/register [L]

  RewriteCond %{QUERY_STRING} ^mode=logout(.*)$
  RewriteRule ^ucp.php(.*)$ ../phpbb/logout [L]
 
  RewriteCond %{QUERY_STRING} ^mode=sendpassword(.*)$
  RewriteCond %{QUERY_STRING} ^mode=resend_act(.*)$ [OR]
  RewriteRule ^ucp.php(.*)$ ../user/password [L]
</IfModule>

#phpbb
<Files "common.php">
Order Allow,Deny
Deny from All
</Files>

RewriteEngine on

Rewriterule ^blog/(.+)/(.+).html$      ./blog/view/blog.php?page=$1&mode=$2
Rewriterule ^blog/(.+).html$         ./blog/blog.php?page=$1
Rewriterule ^blog/(.+)/$            ./blog/view/blog.php?page=$1
Rewriterule ^blog/$                  ./blog/blog.php



    # You may need to un-comment the following line
     Options +FollowSymlinks
    # REMEBER YOU ONLY NEED TO STARD MOD REWRITE ONCE
    RewriteEngine On
    # REWRITE BASE
    RewriteBase /
    # HERE IS A GOOD PLACE TO ADD THE WWW PREFIXE REDIRECTION

    #####################################################
    # PHPBB SEO REWRITE RULES - ADVANCED
    #####################################################
    # AUTHOR : dcz www.phpbb-seo.com
    # STARTED : 01/2006
    #################################
    # FORUMS PAGES
    ###############
    # FORUM INDEX
    RewriteRule ^forum/forum\.html$ /forum/index.php [QSA,L,NC]
    # FORUM
    RewriteRule ^forum/[a-z0-9_-]*-f([0-9]+)/?(page([0-9]+)\.html)?$ /forum/viewforum.php?f=$1&start=$3 [QSA,L,NC]
    # TOPIC WITH VIRTUAL FOLDER
    RewriteRule ^forum/[a-z0-9_-]*-f([0-9]+)/[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /forum/viewtopic.php?f=$1&t=$2&start=$4 [QSA,L,NC]
    # GLOBAL ANNOUNCES WITH VIRTUAL FOLDER
    RewriteRule ^forum/announces/[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /forum/viewtopic.php?t=$1&start=$3 [QSA,L,NC]
    # TOPIC WITHOUT FORUM ID & DELIM
    RewriteRule ^forum/([a-z0-9_-]*)/?[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /forum/viewtopic.php?forum_uri=$1&t=$2&start=$4 [QSA,L,NC]
    # PROFILES SIMPLE
    RewriteRule ^forum/member([0-9]+)/$ /forum/memberlist.php?mode=viewprofile&u=$1 [QSA,L,NC]
    # USER MESSAGES SIMPLE
    RewriteRule ^forum/member([0-9]+)/(topics|posts)/?(page([0-9]+)\.html)?$ /forum/search.php?author_id=$1&sr=$2&start=$4 [QSA,L,NC]
    # GROUPS SIMPLE
    RewriteRule ^forum/group([0-9]+)(-([0-9]+))?\.html$ /forum/memberlist.php?mode=group&g=$1&start=$3 [QSA,L,NC]
    # POST
    RewriteRule ^forum/post([0-9]+)\.html$ /forum/viewtopic.php?p=$1 [QSA,L,NC]
    # ACTIVE TOPICS
    RewriteRule ^forum/active-topics(-([0-9]+))?\.html$ /forum/search.php?search_id=active_topics&start=$2&sr=topics [QSA,L,NC]
    # UNANSWERED TOPICS
    RewriteRule ^forum/unanswered(-([0-9]+))?\.html$ /forum/search.php?search_id=unanswered&start=$2&sr=topics [QSA,L,NC]
    # NEW POSTS
    RewriteRule ^forum/newposts(-([0-9]+))?\.html$ /forum/search.php?search_id=newposts&start=$2&sr=topics [QSA,L,NC]
    # THE TEAM
    RewriteRule ^forum/the-team\.html$ /forum/memberlist.php?mode=leaders [QSA,L,NC]
    # HERE IS A GOOD PLACE TO ADD OTHER PHPBB RELATED REWRITERULES

    # FORUM WITHOUT ID & DELIM
    # THESE THREE LINES MUST BE LOCATED AT THE END OF YOUR HTACCESS TO WORK PROPERLY
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^forum/([a-z0-9_-]+)/?(page([0-9]+)\.html)?$ /forum/viewforum.php?forum_uri=$1&start=$3 [QSA,L,NC]
    # END PHPBB PAGES
    #####################################################






i'm using phpbb 3.0.2, did all the edits correct!
Back to top
Professional
PR2
PR2


Joined: 07 Apr 2008
Posts: 252
Location: 1/2 of the World

404 Not FoundPosted: Tue Oct 07, 2008 8:36 am    Post subject: Re: 404 Not Found

if your htaccess dosn't work,u can tets other settings like at sub folder Smile

_________________
انجمن تخصصی موبایل برای ایرانیان
http://www.mobile4persian.com
برنامه موبایل - بازی موبایل - تم موبایل - اخبار موبایل - ترفند موبایل - s60 -s60 3rd- s80-s90-java-pocket pc-palm-ppc-UIQ3-UIQ
Back to top
Visit poster's website
demon326



Joined: 23 Jul 2008
Posts: 2

404 Not FoundPosted: Tue Oct 07, 2008 9:16 am    Post subject: Re: 404 Not Found

Professional wrote:
if your htaccess dosn't work,u can tets other settings like at sub folder Smile


can you explain it to me? cause it also wont work on my localhost Wink
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15242

404 Not FoundPosted: Sat Oct 11, 2008 9:29 am    Post subject: Re: 404 Not Found

It seems that your .htaccess is in the forum/ dir, even though the blog/ rewriterules would suggest that it is implemented in the domain's root dir (one level above forum/) unless it is indeed located in the forum/ dir.

So, for the forum, if the .htaccess is located in the forum/ dir, you need to hit the "more options" option in the .htaccess generator, and submit, then you'll have more options (pretty cool hey Very Happy) to play with, among which one will make the generator to build an .htaccess usable in the forum/ dir, as told by the red bold message once done.

Please tell us more about how and where phpBB (and the blog if needed) and the .htaccess should be implemented if you need more help.

++

_________________
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  » phpBB3 mod Rewrite  » Advanced SEO URL
Page 1 of 1

Navigation Similar Topics

Jump to: