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  
 
   
Assistance Required (404 errors - searched forum)

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB mod Rewrite
::  
Author Message
thecashcow



Joined: 16 Aug 2006
Posts: 7

Assistance Required (404 errors - searched forum)Posted: Wed Aug 16, 2006 3:22 am    Post subject: Assistance Required (404 errors - searched forum)

Hi Guys,

I've had a read through all the 404 related posts on the forum and still haven't been able to sort out my issue.

I have installed everything as per the Advanced Mod Rewrite.

- All of my forum categories link correctly to the topics with the html category titles, although
- The topics within the categories produce 404 not found errors which clicked

Site: http://www.netcashcows.com/forum/

Htaccess File

Code:

Options +FollowSymlinks -Indexes
RewriteEngine On
RewriteBase /

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

#########################################################
# PHPBB SEO REWRITE RULES            #
#########################################################
# AUTHOR : DCZ http://www.phpbb-seo.com/
# STARTED : 01/2006
#####################################################
# FORUMS PAGES
########################
# FORUM PROTECTION RULE
RewriteRule forum/.+/([^/]+\.html)$ /forum/index.php [R=301,L]
# CATEGORIES
RewriteRule ^forum/.+-vc([0-9]+)\.html$ /forum/index.php?c=$1 [QSA,L]
# PAGINATED FORUM
RewriteRule ^forum/.+-vf([0-9]+)-([0-9]+)\.html$ /forum/viewforum.php?f=$1&start=$2 [QSA,L]
# FORUM
RewriteRule forum/.+-vf([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
#####################################################


<Files .htaccess>
order allow,deny
deny from all
</Files>

IndexIgnore */*


Your assistance is appreciated.

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


Joined: 28 Apr 2006
Posts: 15127

Assistance Required (404 errors - searched forum)Posted: Wed Aug 16, 2006 8:37 am    Post subject: Re: Assistance Required (404 errors - searched forum)

And welcome Very Happy

Don't worry it's nothing, you just installed the phpBB SEO mixed mod rewrite .htaccess while you're using the phpBB SEO Advanced mod Rewrite.

You just need to change this part :

Code:
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]


to :

Code:
# PAGINATED TOPIC
RewriteRule ^forum/.+-vt([0-9]+)-([0-9]+)\.html$ /forum/viewtopic.php?t=$1&start=$2 [QSA,L]
# TOPIC
RewriteRule ^forum/.+-vt([0-9]+)\.html$ /forum/viewtopic.php?t=$1 [QSA,L]



As well, you have small typos in your .htaccess :
Code:
# FORUM PROTECTION RULE
RewriteRule forum/.+/([^/]+\.html)$ /forum/index.php [R=301,L]

should be :
Code:

# FORUM PROTECTION RULE
RewriteRule ^forum/.+/([^/]+\.html)$ /forum/index.php [R=301,L]


and :

Code:
# FORUM
RewriteRule forum/.+-vf([0-9]+)\.html$ /forum/viewforum.php?f=$1 [QSA,L]


should be :

Code:
# FORUM
RewriteRule ^forum/.+-vf([0-9]+)\.html$ /forum/viewforum.php?f=$1 [QSA,L]


Besides the mod seems well installed, the URLs are correct everywhere.

++

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



Joined: 16 Aug 2006
Posts: 7

Assistance Required (404 errors - searched forum)Posted: Wed Aug 16, 2006 9:48 am    Post subject: Re: Assistance Required (404 errors - searched forum)

Thank you for the welcome dcz Smile

I changed all that you recommended and now the original category URL's are showing 404 not found as well.

The HtAccess File now contains:

Code:

Options +FollowSymlinks -Indexes
RewriteEngine On
RewriteBase /

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

#########################################################
# PHPBB SEO REWRITE RULES            #
#########################################################
# AUTHOR : DCZ http://www.phpbb-seo.com/
# STARTED : 01/2006
#####################################################
# FORUMS PAGES
########################
# FORUM PROTECTION RULE
RewriteRule ^forum/.+/([^/]+\.html)$ /forum/index.php [R=301,L]
# CATEGORIES
RewriteRule ^forum/.+-vc([0-9]+)\.html$ /forum/index.php?c=$1 [QSA,L]
# PAGINATED FORUM
RewriteRule ^forum/.+-vf([0-9]+)-([0-9]+)\.html$ /forum/viewforum.php?f=$1&start=$2 [QSA,L]
# FORUM
RewriteRule ^forum/.+-vf([0-9]+)\.html$ /forum/viewforum.php?f=$1 [QSA,L]
# PAGINATED TOPIC
RewriteRule ^forum/.+-vt([0-9]+)-([0-9]+)\.html$ /forum/viewtopic.php?t=$1&start=$2 [QSA,L]
# TOPIC
RewriteRule ^forum/.+-vt([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
#####################################################


<Files .htaccess>
order allow,deny
deny from all
</Files>

IndexIgnore */*


I'd really appreciate your continued advice on this one.

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


Joined: 28 Apr 2006
Posts: 15127

Assistance Required (404 errors - searched forum)Posted: Wed Aug 16, 2006 9:55 am    Post subject: Re: Assistance Required (404 errors - searched forum)

Ouch, basically, nothing works now.

Strange, make sure you upload the .htaccess correctly.

Then, I made you add the "^" anchor because it's supposed to be like this, but as it was working before, you may need to get rid of those with you particular server settings.
Or maybe it is the "/" at the beginning of "forum/" in the left part of the rewriterules.

So try re-uploading your .htaccess, making sure everything is correct.
If not enough, do get rid of the "/" as said.
If not enough, put them back and get rid of the "^".

We'll do it Very Happy

++

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



Joined: 16 Aug 2006
Posts: 7

Assistance Required (404 errors - searched forum)Posted: Wed Aug 16, 2006 9:58 am    Post subject: Re: Assistance Required (404 errors - searched forum)

I'll try the few combinations and give you an update Smile
Back to top
thecashcow



Joined: 16 Aug 2006
Posts: 7

Assistance Required (404 errors - searched forum)Posted: Wed Aug 16, 2006 10:01 am    Post subject: Re: Assistance Required (404 errors - searched forum)

I have removed all the ^'s at the start and now both the category's and the topics open. So we are getting there Smile

Now I'm left with 404 errors when attempting to start a new thread or post a reply to a topic.

Update: Appears it is all sorted now, your help is appreciated more than you could ever know, thank you again.
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15127

Assistance Required (404 errors - searched forum)Posted: Wed Aug 16, 2006 10:27 am    Post subject: Re: Assistance Required (404 errors - searched forum)

You're welcome Very Happy

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



Joined: 16 Aug 2006
Posts: 7

Assistance Required (404 errors - searched forum)Posted: Wed Aug 16, 2006 10:40 am    Post subject: Re: Assistance Required (404 errors - searched forum)

I speak too soon. Now my forum is throwing 404 errors on login's, logouts, linking from the main page, showing errors under each posters name in each post, redirects to public_html/forum instead of /forum from the main site, cannot get into my forum admin section, etc
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15127

Assistance Required (404 errors - searched forum)Posted: Wed Aug 16, 2006 10:43 am    Post subject: Re: Assistance Required (404 errors - searched forum)

hum.

Where did you put you .htaccess exactely ?

It should be located in public_html/.

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



Joined: 16 Aug 2006
Posts: 7

Assistance Required (404 errors - searched forum)Posted: Wed Aug 16, 2006 10:44 am    Post subject: Re: Assistance Required (404 errors - searched forum)

Yep that's exactly where it is Smile
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15127

Assistance Required (404 errors - searched forum)Posted: Wed Aug 16, 2006 10:46 am    Post subject: Re: Assistance Required (404 errors - searched forum)

Jeez Its working now Very Happy

-http://www.netcashcows.com/forum/posting.php?mode=newtopic&f=12

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



Joined: 16 Aug 2006
Posts: 7

Assistance Required (404 errors - searched forum)Posted: Wed Aug 16, 2006 10:48 am    Post subject: Re: Assistance Required (404 errors - searched forum)

Now it's making a liar of me Smile Let me do some additional testing. I think it may be the server taking a while to update certain attributes.
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15127

Assistance Required (404 errors - searched forum)Posted: Wed Aug 16, 2006 10:49 am    Post subject: Re: Assistance Required (404 errors - searched forum)

Yep 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  » phpBB mod Rewrite
Page 1 of 1

Navigation Similar Topics

Jump to: