| :: |
| Author |
Message |
TomaS PR2

Joined: 08 Jun 2007 Posts: 204
|
Posted: 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 |
|
 |
|
 |
SeO Administrateur - Site Admin

Joined: 15 Mar 2006 Posts: 3103
|
Posted: 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

Joined: 08 Jun 2007 Posts: 204
|
|
| Back to top |
|
 |
SeO Administrateur - Site Admin

Joined: 15 Mar 2006 Posts: 3103
|
Posted: 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 :
with :
| Code: | | RewriteBase /forum/ |
|
_________________
|
|
| Back to top |
|
 |
TomaS PR2

Joined: 08 Jun 2007 Posts: 204
|
Posted: 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 |
|
 |
SeO Administrateur - Site Admin

Joined: 15 Mar 2006 Posts: 3103
|
Posted: 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

Joined: 08 Jun 2007 Posts: 204
|
Posted: 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 |
|
 |
TomaS PR2

Joined: 08 Jun 2007 Posts: 204
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13354
|
|
| Back to top |
|
 |
|
|