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  
 
   
topics 404 and not rewrite
Goto page 1, 2  Next
 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB mod Rewrite  » Mixed mod rewrite
::  
Author Message
mikey672



Joined: 15 Dec 2006
Posts: 24

topics 404 and not rewritePosted: Mon Jan 29, 2007 10:34 pm    Post subject: topics 404 and not rewrite

i have experiment with new rewrites! but finding this not so good experience so far.

the index is good
forums are good

but! topics are not found 404 and not rewriting - they are showing as topic20.html as example - where should i look to see what is wrong

thanks you
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 13354

topics 404 and not rewritePosted: Mon Jan 29, 2007 11:16 pm    Post subject: Re: topics 404 and not rewrite

Do it's the mixed mod rewrite ?

Must be an .htaccess issue, could you post it here ?

++

_________________
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
mikey672



Joined: 15 Dec 2006
Posts: 24

topics 404 and not rewritePosted: Tue Jan 30, 2007 12:40 am    Post subject: Re: topics 404 and not rewrite

i fix it -mistake was wrong file sent, i use mix mod for advanced mod.

thanks you
Back to top
bdboy



Joined: 07 Mar 2007
Posts: 4

topics 404 and not rewritePosted: Wed Mar 07, 2007 3:30 am    Post subject: 404 problem

HI,
I have same problem its says 404
i hv installed in sub folder and copy .htaccess to sub folder, what could be wrong?
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 13354

topics 404 and not rewritePosted: Wed Mar 07, 2007 10:44 am    Post subject: Re: topics 404 and not rewrite

And welcome Very Happy

Well, as said in the install, the .htaccess are meant to be installed in the domain's root.
So if phpBB is installed in a sub folder, the .htaccess should mention it and be installed above it, in the domain's root.

Post you .htaccess and tell us few words about your folder structure if needed 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
bdboy



Joined: 07 Mar 2007
Posts: 4

topics 404 and not rewritePosted: Wed Mar 07, 2007 1:30 pm    Post subject: Re: topics 404 and not rewrite

Thanks for your reply, its working now, but viewforum.php?f=1 is displaying insted of html any help

dcz wrote:
And welcome Very Happy

Well, as said in the install, the .htaccess are meant to be installed in the domain's root.
So if phpBB is installed in a sub folder, the .htaccess should mention it and be installed above it, in the domain's root.

Post you .htaccess and tell us few words about your folder structure if needed Wink

++
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 13354

topics 404 and not rewritePosted: Wed Mar 07, 2007 4:23 pm    Post subject: Re: topics 404 and not rewrite

This is most likely because of some mistake during install.

Check the php files corresponding to where you see unrewritten links.

A link can as well help out to help you out 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
bdboy



Joined: 07 Mar 2007
Posts: 4

topics 404 and not rewritePosted: Thu Mar 08, 2007 1:57 am    Post subject: Re: topics 404 and not rewrite

Hi, thanks again for yur reply, i hv chk all php modificaion, all are as per instructions, can pls give me idea how i can find out ....

dcz wrote:
This is most likely because of some mistake during install.

Check the php files corresponding to where you see unrewritten links.

A link can as well help out to help you out Wink

++
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 13354

topics 404 and not rewritePosted: Thu Mar 08, 2007 2:25 pm    Post subject: Re: topics 404 and not rewrite

Well, I need to know where exactly the links are not rewritten to tell you more. If the links is on a forum, it's viewforum.php, on the index it's index.php, and topic viewtopic.php.

++

_________________
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
bdboy



Joined: 07 Mar 2007
Posts: 4

topics 404 and not rewritePosted: Sat Mar 10, 2007 9:34 am    Post subject: Re: topics 404 and not rewrite

Thanks its solved now. i need one thing, now its working like -www.mydomai.com/this-is-new-topic-t888.html
what i want is , -www.mydomain.com/woodsection/this-is-new-topic-t888.html means thread name should be display as subfolder ( i have main thread name woodsection , steelsection, plasticsection etc.
please help me............
dcz wrote:
Well, I need to know where exactly the links are not rewritten to tell you more. If the links is on a forum, it's viewforum.php, on the index it's index.php, and topic viewtopic.php.

++
Back to top
superwad



Joined: 16 Mar 2007
Posts: 3

topics 404 and not rewritePosted: Sat Mar 17, 2007 2:16 pm    Post subject: Re: topics 404 and not rewrite

I'm having a similar problem with my rewrite. I've installed:

Mixed Mod Rewrite
Mixed Zero Dupe
GYM Sitemaps
Optimal Titles

with installing Mod Rewrite last. Whenever I try to access anything that is using mod_rewrite (category, forum, topic, user, etc), my site portal gives an error. I am using phpBB integrated into Subdreamer (www.subdreamer.com). My forum is installed under /forum, and the .htaccess is in the domain root of /public_html.

My .htaccess is as follows:
Code:

Options All -Indexes
Options +FollowSymLinks
RewriteEngine On
RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php
RewriteCond %{HTTP_HOST} ^cissa\.ca$ [NC]
RewriteRule ^(.*) http://www.cissa.ca/$1 [QSA,L,R=301]

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


Any help to resolve this would be appreciated!

Thank you Very Happy
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 13354

topics 404 and not rewritePosted: Sat Mar 17, 2007 2:43 pm    Post subject: Re: topics 404 and not rewrite

Move this :

Code:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php


At the very bottom of your .htaccess, should be enough.

++

_________________
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
superwad



Joined: 16 Mar 2007
Posts: 3

topics 404 and not rewritePosted: Sun Mar 18, 2007 3:02 am    Post subject: Re: topics 404 and not rewrite

Hello,

My .htaccess now looks like:

Code:
Options All -Indexes
Options +FollowSymLinks
RewriteEngine On
RewriteBase /

RewriteCond %{HTTP_HOST} ^cissa\.ca$ [NC]
RewriteRule ^(.*) http://www.cissa.ca/$1 [QSA,L,R=301]

#########################################################
# 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]
# FORUM PROTECTION RULE
# RewriteRule ^phpbb/.*/([^/]+\.html)$ /forum/index.php [R=301,L]
# CATEGORIES
RewriteRule ^phpbb/.*-c([0-9]+)\.html$ /forum/index.php?c=$1 [QSA,L]
# PAGINATED FORUM
RewriteRule ^phpbb/.*-f([0-9]+)-([0-9]+)\.html$ /forum/viewforum.php?f=$1&start=$2 [QSA,L]
# FORUM
RewriteRule ^phpbb/.*-f([0-9]+)\.html$ /forum/viewforum.php?f=$1 [QSA,L]
# PAGINATED TOPIC
RewriteRule ^phpbb/topic([0-9]+)-([0-9]+)\.html$ /forum/viewtopic.php?t=$1&start=$2 [QSA,L]
# TOPIC
RewriteRule ^phpbb/topic([0-9]+)\.html$ /forum/viewtopic.php?t=$1 [QSA,L]
# POST
RewriteRule ^phpbb/post([0-9]+)\.html$ /forum/viewtopic.php?p=$1 [QSA,L]
#PROFILES
RewriteRule ^phpbb/member([0-9]+)\.html$ /forum/profile.php?mode=viewprofile&u=$1 [QSA,L]
# END PHPBB PAGES
#####################################################

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php


and I'm still having the problems. Is there anything else you would like to know?
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 13354

topics 404 and not rewritePosted: Mon Mar 19, 2007 9:47 pm    Post subject: Re: topics 404 and not rewrite

You have some "phpbb" left overs in this .htaccess.

Try the one you posted just before with the code I mentioned at the bottom of it.

++

_________________
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
superwad



Joined: 16 Mar 2007
Posts: 3

topics 404 and not rewritePosted: Mon Mar 19, 2007 10:46 pm    Post subject: Re: topics 404 and not rewrite

Oops, sorry. I uploaded all the changes to the forum, and forgot to get a backup copy of just those files, so I reverted the entire website, thus reverting the .htaccess. I'll fix that and try once more, making sure to not restore the entire website.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB mod Rewrite  » Mixed mod rewrite
Page 1 of 2 Goto page 1, 2  Next

Navigation Similar Topics

Jump to: