| :: |
| Author |
Message |
mikey672
Joined: 15 Dec 2006 Posts: 24
|
Posted: 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

Joined: 28 Apr 2006 Posts: 13354
|
|
| Back to top |
|
 |
mikey672
Joined: 15 Dec 2006 Posts: 24
|
Posted: 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
|
Posted: 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

Joined: 28 Apr 2006 Posts: 13354
|
|
| Back to top |
|
 |
bdboy
Joined: 07 Mar 2007 Posts: 4
|
Posted: 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
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
++ |
|
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13354
|
|
| Back to top |
|
 |
bdboy
Joined: 07 Mar 2007 Posts: 4
|
Posted: 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
++ |
|
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13354
|
|
| Back to top |
|
 |
bdboy
Joined: 07 Mar 2007 Posts: 4
|
Posted: 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
|
Posted: 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  |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13354
|
|
| Back to top |
|
 |
superwad
Joined: 16 Mar 2007 Posts: 3
|
Posted: 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

Joined: 28 Apr 2006 Posts: 13354
|
|
| Back to top |
|
 |
superwad
Joined: 16 Mar 2007 Posts: 3
|
Posted: 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 |
|
 |
|
|