Another question about rewrite mod and zero dupe

Zero duplicate support forum.
Personalized HTTP 301 dynamic redirections.

Moderator: Moderators

Another question about rewrite mod and zero dupe

Postby carfieldily » Tue Apr 01, 2008 9:58 am

I have a forum and it worked for some days, so there were some posts in it.
Yesterday, I installed the rewrite mod(advanced), and I found all links didn't work, so I install the zero dupe(simple).
But it seemed that this didn't work either.
Does only zero dupe(advanced) work with the rewrite mod(advanced)?
Should I install zero dupe before installing the rewrite mod?
Thank you very much.
carfieldily
 
Posts: 7
Joined: Mon Mar 31, 2008 9:34 am

Advertisement

Postby mgl » Tue Apr 01, 2008 8:52 pm

did you edit the .htaccess when installing the mod?
the zero dupe won't solve your link problem
mgl
 
Posts: 23
Joined: Sun Sep 30, 2007 2:18 pm

Postby carfieldily » Wed Apr 02, 2008 2:21 am

oops, :P
Thanks.
carfieldily
 
Posts: 7
Joined: Mon Mar 31, 2008 9:34 am

Postby carfieldily » Wed Apr 02, 2008 3:02 am

Sorry, but it didn't work again.

This is the .htaccess code in the root:
Code: Select all
RewriteEngine On
RewriteBase /
RewriteRule ^forum/index\.html$ /forum/index.php [QSA,L,NC]
RewriteRule ^forum/[a-z0-9_-]*/([^/]+\.html)$ /forum/index.php [R=301,L,NC]
RewriteRule ^forum/[a-z0-9_-]*-c([0-9]+)\.html$ /forum/index.php?c=$1 [QSA,L,NC]
RewriteRule ^forum/[a-z0-9_-]*-f([0-9]+)-([0-9]+)\.html$ /forum/viewforum.php?f=$1&start=$2 [QSA,L,NC]
RewriteRule ^forum/[a-z0-9_-]*-f([0-9]+)\.html$ /forum/viewforum.php?f=$1 [QSA,L,NC]
RewriteRule ^forum/[a-z0-9_-]*-t([0-9]+)-([0-9]+)\.html$ /forum/viewtopic.php?t=$1&start=$2 [QSA,L,NC]
RewriteRule ^forum/[a-z0-9_-]*-t([0-9]+)\.html$ /forum/viewtopic.php?t=$1 [QSA,L,NC]
RewriteRule ^forum/post([0-9]+)\.html$ /forum/viewtopic.php?p=$1 [QSA,L,NC]
RewriteRule ^forum/member([0-9]+)\.html$ /forum/profile.php?mode=viewprofile&u=$1 [QSA,L,NC]


When I upload this to the server, a internal server error occured(500), please help.

Sorry for my stupid questions.
:oops:

p.s.: it is phpbb 2.0.23
carfieldily
 
Posts: 7
Joined: Mon Mar 31, 2008 9:34 am

Postby mgl » Wed Apr 02, 2008 8:18 pm

I am no expert in apache but I believe if you get a 500 that means something is wrong with your .htaccess. Do you have mod_rewrite activated?
mgl
 
Posts: 23
Joined: Sun Sep 30, 2007 2:18 pm

Postby carfieldily » Thu Apr 03, 2008 10:25 am

yes, I installed the rewrite mod first, after that I found I hadn't upload the .htaccess file to the root of the server.

But when I uploaded it to the server, it shew me the error
carfieldily
 
Posts: 7
Joined: Mon Mar 31, 2008 9:34 am

Postby mgl » Sun Apr 06, 2008 5:35 pm

that htaccess file works fine on my server. Does your host allow you to .htaccess files?
mgl
 
Posts: 23
Joined: Sun Sep 30, 2007 2:18 pm

Postby carfieldily » Mon Apr 07, 2008 9:50 am

I solved this problem.
The .htaccess file should be ANSI format, I wrote it in Unicode.
:oops:
carfieldily
 
Posts: 7
Joined: Mon Mar 31, 2008 9:34 am

Postby mgl » Mon Apr 07, 2008 2:45 pm

carfieldily wrote:I solved this problem.
The .htaccess file should be ANSI format, I wrote it in Unicode.
:oops:

ooohh. Glad you fixed it. :)
mgl
 
Posts: 23
Joined: Sun Sep 30, 2007 2:18 pm

Re: Another question about rewrite mod and zero dupe

Postby dcz » Wed Apr 16, 2008 11:37 am

carfieldily wrote:Does only zero dupe(advanced) work with the rewrite mod(advanced)?

Yes.

carfieldily wrote:Should I install zero dupe before installing the rewrite mod?


You should install it after, once it's up and running (this is the only reason why it's released separately, we need url rewriting up for the zero dupe).

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21219
Joined: Fri Apr 28, 2006 9:03 pm


Return to Zero duplicate phpBB2

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 2 guests