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 Error + Questions

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB mod Rewrite  » Simple mod rewrite
::  
Author Message
Maggical



Joined: 08 Aug 2008
Posts: 2

404 Error + QuestionsPosted: Fri Aug 08, 2008 12:20 am    Post subject: 404 Error + Questions

Hi there,

I have a few questions about your mod. Here's what I've done...

- Downloaded and installed locally the premod for phpBB3
- Restored a database I have from an online phpBB3, all works great...

All is working great, but the fact that when I activate the SEO the links stop working and I get a 404 error...

The site is allocated in:

localhost/coliseo_test/foro/

The .htaccess is like this:

Code:
# Lines That should already be in your .htacess
<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 - SIMPLE
#####################################################
# AUTHOR : dcz www.phpbb-seo.com
# STARTED : 01/2006
#################################
# FORUMS PAGES
###############
# FORUM INDEX
RewriteRule ^coliseo_test/foro/coliseo\.html$ /coliseo_test/foro/index.php [QSA,L,NC]
# FORUM
RewriteRule ^coliseo_test/foro/foro([0-9]+)/?(pagina([0-9]+)\.html)?$ /coliseo_test/foro/viewforum.php?f=$1&start=$3 [QSA,L,NC]
# TOPIC WITH VIRTUAL FOLDER
RewriteRule ^coliseo_test/foro/foro([0-9]+)/tema([0-9]+)(-([0-9]+))?\.html$ /coliseo_test/foro/viewtopic.php?f=$1&t=$2&start=$4 [QSA,L,NC]
# GLOBAL ANNOUNCES WITH VIRTUAL FOLDER
RewriteRule ^coliseo_test/foro/anuncions/tema([0-9]+)(-([0-9]+))?\.html$ /coliseo_test/foro/viewtopic.php?t=$1&start=$3 [QSA,L,NC]
# TOPIC WITHOUT FORUM ID & DELIM
RewriteRule ^coliseo_test/foro/[a-z0-9_-]*/?tema([0-9]+)(-([0-9]+))?\.html$ /coliseo_test/foro/viewtopic.php?t=$1&start=$3 [QSA,L,NC]
# PROFILES SIMPLE
RewriteRule ^coliseo_test/foro/usuario([0-9]+)\.html$ /coliseo_test/foro/memberlist.php?mode=viewprofile&u=$1 [QSA,L,NC]
# USER MESSAGES SIMPLE
RewriteRule ^coliseo_test/foro/usuario([0-9]+)-(topics|posts)(-([0-9]+))?\.html$ /coliseo_test/foro/search.php?author_id=$1&sr=$2&start=$4 [QSA,L,NC]
# GROUPS SIMPLE
RewriteRule ^coliseo_test/foro/grupo([0-9]+)(-([0-9]+))?\.html$ /coliseo_test/foro/memberlist.php?mode=group&g=$1&start=$3 [QSA,L,NC]
# POST
RewriteRule ^coliseo_test/foro/respuesta([0-9]+)\.html$ /coliseo_test/foro/viewtopic.php?p=$1 [QSA,L,NC]
# ACTIVE TOPICS
RewriteRule ^coliseo_test/foro/temas-activos(-([0-9]+))?\.html$ /coliseo_test/foro/search.php?search_id=active_topics&start=$2&sr=topics [QSA,L,NC]
# UNANSWERED TOPICS
RewriteRule ^coliseo_test/foro/sin-respuestas(-([0-9]+))?\.html$ /coliseo_test/foro/search.php?search_id=unanswered&start=$2&sr=topics [QSA,L,NC]
# NEW POSTS
RewriteRule ^coliseo_test/foro/nuevas-respuestas(-([0-9]+))?\.html$ /coliseo_test/foro/search.php?search_id=newposts&start=$2&sr=topics [QSA,L,NC]
# THE TEAM
RewriteRule ^coliseo_test/foro/el-equipo\.html$ /coliseo_test/foro/memberlist.php?mode=leaders [QSA,L,NC]
# HERE IS A GOOD PLACE TO ADD OTHER PHPBB RELATED REWRITERULES

# END PHPBB PAGES
#####################################################


And is placed in localhost/

This is one of my problems, and the other is this...

I have a category called Coliseo, and in it, a forum named Anuncios, inside that forum I have a post called "Volvimos"...

The link to the Anuncios forum reads like this:

-http://localhost/coliseo_test/foro/foro3/

And I want it to read

-http://localhost/coliseo_test/foro/anuncios/

How can I do that?

Thanks,

Javier
Back to top
Maggical



Joined: 08 Aug 2008
Posts: 2

404 Error + QuestionsPosted: Sat Aug 09, 2008 6:20 pm    Post subject: Re: 404 Error + Questions

Any help with this? Very Happy
Back to top
SeO
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 15 Mar 2006
Posts: 3482

404 Error + QuestionsPosted: Mon Aug 11, 2008 10:04 am    Post subject: Re: 404 Error + Questions

First, make sure that mod_rewrite is activated on your local server, then, this .htaccess is meant for the simple mod, and you seem to want at least the mixed mode for the example url you posted, so, you'll need to select mixed or advanced mode in the url rewriting settings and then generate a new .htaccess.

As well, make sure that you do not keep an .htaccess with rewriterules in it in the forum directory.

About importing the phpBB3 vanilla db in the premod, don't forget that you'll need to run the no dupe SQL query after you do so, to add the proper index on the topic table (look in the no duplicate mod's install, it's a single query to run).

_________________
phpBB SEO || SEO Forum || Forum Référencement
GYM Sitemap & RSS for phpBB3 has been released ! || GYM Sitemap & RSS for phpBB3 est disponible !
Back to top
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB mod Rewrite  » Simple mod rewrite
Page 1 of 1

Navigation Similar Topics

Jump to: