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  
 
   
The requested URL was not found on this server

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



Joined: 25 Jan 2008
Posts: 1

The requested URL was not found on this serverPosted: Fri Jan 25, 2008 2:38 pm    Post subject: The requested URL was not found on this server

Board: http://www.thesportsbloggers.com/NCAAFB/index.php

Click on USC: http://www.thesportsbloggers.com/NCAAFB/usc.html

Result:
Not Found
The requested URL /NCAAFB/usc.html was not found on this server.

But I can get there manually via:
http://www.thesportsbloggers.com/NCAAFB/viewforum.php?f=7

I know Mod rewrite works on my server because I got this working in another board, must have got lucky.

.htaccess is installed in the /NCAAFB/ directory and is the standard one that comes with the install

Cleared theme and board cache. What am I missing?

Code:
<Files "config.php">
Order Allow,Deny
Deny from All
</Files>

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

# 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 WOULD STAND HERE IF USED. 'forum' REQUIRES TO BE SET AS FORUM INDEX
# RewriteRule ^NCAAFB/forum\.html$ /NCAAFB/index.php [QSA,L,NC]
# FORUM
RewriteRule ^NCAAFB/[a-z0-9_-]*-f([0-9]+)(-([0-9]+))?\.html$ /NCAAFB/viewforum.php?f=$1&start=$3 [QSA,L,NC]
# TOPIC WITH VIRTUAL FOLDER
RewriteRule ^NCAAFB/[a-z0-9_-]*-f([0-9]+)/[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /NCAAFB/viewtopic.php?f=$1&t=$2&start=$4 [QSA,L,NC]
# GLOBAL ANNOUNCES WITH VIRTUAL FOLDER
RewriteRule ^NCAAFB/announces/[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /NCAAFB/viewtopic.php?t=$1&start=$3 [QSA,L,NC]
# TOPIC WITHOUT FORUM ID & DELIM
RewriteRule ^NCAAFB/[a-z0-9_-]*/?[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /NCAAFB/viewtopic.php?t=$1&start=$3 [QSA,L,NC]
# PROFILES SIMPLE
RewriteRule ^NCAAFB/member([0-9]+)\.html$ /NCAAFB/memberlist.php?mode=viewprofile&u=$1 [QSA,L,NC]
# USER MESSAGES SIMPLE
RewriteRule ^NCAAFB/messages([0-9]+)(-([0-9]+))?\.html$ /NCAAFB/search.php?author_id=$1&sr=posts&start=$3 [QSA,L,NC]
# GROUPS SIMPLE
RewriteRule ^NCAAFB/group([0-9]+)(-([0-9]+))?\.html$ /NCAAFB/memberlist.php?mode=group&g=$1&start=$3 [QSA,L,NC]
# POST
RewriteRule ^NCAAFB/post([0-9]+)\.html$ /NCAAFB/viewtopic.php?p=$1 [QSA,L,NC]
# THE TEAM
RewriteRule ^NCAAFB/the-team\.html$ /NCAAFB/memberlist.php?mode=leaders [QSA,L,NC]
# HERE IS A GOOD PLACE TO ADD OTHER PHPBB RELATED REWRITERULES

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


Thanks!!

Edit:
Changed the Rewrite base to /NCAAFB/ and removed that from the rules and that fixed it.
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14279

The requested URL was not found on this serverPosted: Sun Jan 27, 2008 9:44 am    Post subject: Re: The requested URL was not found on this server

sportsblog wrote:

Edit:
Changed the Rewrite base to /NCAAFB/ and removed that from the rules and that fixed it.

Wink

I bet it meant that the .htaccess was not in the domain's root as expected (according to how it was generated).

You can generate an .htaccess ot be used in phpBB install dir when it's not installed in the domains root, try the "more options" option in the .htaccess generator 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  » phpBB3 mod Rewrite  » Advanced SEO URL
Page 1 of 1

Navigation Similar Topics

Jump to: