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  
 
   
not foun page-.htaccsess problem

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB mod Rewrite  » Advanced mod Rewrite
::  
Author Message
TomaS
PR2
PR2


Joined: 08 Jun 2007
Posts: 204

not foun page-.htaccsess problemPosted: Tue Feb 12, 2008 12:07 am    Post subject: not foun page-.htaccsess problem

Hi,
i install advance mod in forum folder and it still doesnt work.
i tried all htaccess variants whit and whitout slash and i see it works it rewrite but no page show only page not found.I give up and dont know where can be problem.It is hosted by Godaddy
this is this forum http://twinknation.net/forum/
Code:
Options +FollowSymlinks
RewriteEngine On
RewriteBase /

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

_________________
phpBB podpora-slovak phpBB support
slovenský preklad pre phpbb3-slovak translate for phpBB3
predaj a kupa domeny, marketing a internetove podnikanie- Slovak domain center
Back to top
Visit poster's website
SeO
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 15 Mar 2006
Posts: 3103

not foun page-.htaccsess problemPosted: Tue Feb 12, 2008 8:47 am    Post subject: Re: not foun page-.htaccsess problem

This .htaccess should as his be used in the domain's root dir, with none in the forum dir.

Where did you upload it ?

_________________
Back to top
TomaS
PR2
PR2


Joined: 08 Jun 2007
Posts: 204

not foun page-.htaccsess problemPosted: Tue Feb 12, 2008 9:36 am    Post subject: Re: not foun page-.htaccsess problem

in root of forum so root/forum/htaccsess, other phpbb files
Why this have to be in domain root and not in phpbb root so not in forum folder, where are other phpbb files?

_________________
phpBB podpora-slovak phpBB support
slovenský preklad pre phpbb3-slovak translate for phpBB3
predaj a kupa domeny, marketing a internetove podnikanie- Slovak domain center
Back to top
Visit poster's website
SeO
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 15 Mar 2006
Posts: 3103

not foun page-.htaccsess problemPosted: Tue Feb 12, 2008 9:57 am    Post subject: Re: not foun page-.htaccsess problem

Then you need to delete all occurrences of "forum/" in your .htaccess and replace :
Code:
RewriteBase /


with :

Code:
RewriteBase /forum/

_________________
Back to top
TomaS
PR2
PR2


Joined: 08 Jun 2007
Posts: 204

not foun page-.htaccsess problemPosted: Tue Feb 12, 2008 10:14 am    Post subject: Re: not foun page-.htaccsess problem

that rewritebase i tried but can you show example how do you mean Then you need to delete all occurrences of "forum/" in your .htaccess
i am not sure that i know what do you mean whit that
and htaccsess have to be in forum folder yes? not in domain root

_________________
phpBB podpora-slovak phpBB support
slovenský preklad pre phpbb3-slovak translate for phpBB3
predaj a kupa domeny, marketing a internetove podnikanie- Slovak domain center
Back to top
Visit poster's website
SeO
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 15 Mar 2006
Posts: 3103

not foun page-.htaccsess problemPosted: Tue Feb 12, 2008 10:19 am    Post subject: Re: not foun page-.htaccsess problem

The .htaccess you posted really will only work in the domain's root.

Deleting all occurrences of "forum/" means delete the string 'forum/' every time you find it in the .htaccess.

_________________
Back to top
TomaS
PR2
PR2


Joined: 08 Jun 2007
Posts: 204

not foun page-.htaccsess problemPosted: Tue Feb 12, 2008 10:24 am    Post subject: Re: not foun page-.htaccsess problem

so it will look like
Code:
# You could need to un-comment the following line
# Options +FollowSymlinks
RewriteEngine On
RewriteEngine On
RewriteBase /

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


but why is it so?In install it is when is in domain root so and when it is in folder so...so now i am confused but i can try it

_________________
phpBB podpora-slovak phpBB support
slovenský preklad pre phpbb3-slovak translate for phpBB3
predaj a kupa domeny, marketing a internetove podnikanie- Slovak domain center
Back to top
Visit poster's website
TomaS
PR2
PR2


Joined: 08 Jun 2007
Posts: 204

not foun page-.htaccsess problemPosted: Tue Feb 12, 2008 3:02 pm    Post subject: Re: not foun page-.htaccsess problem

ok thx it works but in forum folder still dont.I have rename forum to board and works inmediatelly.It is strenge i think there have to be hide htaccsess or some other redirect.

_________________
phpBB podpora-slovak phpBB support
slovenský preklad pre phpbb3-slovak translate for phpBB3
predaj a kupa domeny, marketing a internetove podnikanie- Slovak domain center
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 13354

not foun page-.htaccsess problemPosted: Mon Feb 25, 2008 9:28 am    Post subject: Re: not foun page-.htaccsess problem

It could come from your phpBB config, in case the configured script path did not match the real one.

++

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

Navigation Similar Topics

Jump to: