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  
 
   
Another question about rewrite mod and zero dupe

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB SEO TooLKit  » Zero duplicate
::  
Author Message
carfieldily



Joined: 31 Mar 2008
Posts: 7

Another question about rewrite mod and zero dupePosted: Tue Apr 01, 2008 9:58 am    Post subject: Another question about rewrite mod and zero dupe

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.
Back to top
mgl



Joined: 30 Sep 2007
Posts: 21

Another question about rewrite mod and zero dupePosted: Tue Apr 01, 2008 8:52 pm    Post subject: Re: Another question about rewrite mod and zero dupe

did you edit the .htaccess when installing the mod?
the zero dupe won't solve your link problem
Back to top
carfieldily



Joined: 31 Mar 2008
Posts: 7

Another question about rewrite mod and zero dupePosted: Wed Apr 02, 2008 2:21 am    Post subject: Re: Another question about rewrite mod and zero dupe

oops, Razz
Thanks.
Back to top
carfieldily



Joined: 31 Mar 2008
Posts: 7

Another question about rewrite mod and zero dupePosted: Wed Apr 02, 2008 3:02 am    Post subject: Re: Another question about rewrite mod and zero dupe

Sorry, but it didn't work again.

This is the .htaccess code in the root:
Code:

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.
Embarassed

p.s.: it is phpbb 2.0.23
Back to top
mgl



Joined: 30 Sep 2007
Posts: 21

Another question about rewrite mod and zero dupePosted: Wed Apr 02, 2008 8:18 pm    Post subject: Re: Another question about rewrite mod and zero dupe

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?
Back to top
carfieldily



Joined: 31 Mar 2008
Posts: 7

Another question about rewrite mod and zero dupePosted: Thu Apr 03, 2008 10:25 am    Post subject: Re: Another question about rewrite mod and zero dupe

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
Back to top
mgl



Joined: 30 Sep 2007
Posts: 21

Another question about rewrite mod and zero dupePosted: Sun Apr 06, 2008 5:35 pm    Post subject: Re: Another question about rewrite mod and zero dupe

that htaccess file works fine on my server. Does your host allow you to .htaccess files?
Back to top
carfieldily



Joined: 31 Mar 2008
Posts: 7

Another question about rewrite mod and zero dupePosted: Mon Apr 07, 2008 9:50 am    Post subject: Re: Another question about rewrite mod and zero dupe

I solved this problem.
The .htaccess file should be ANSI format, I wrote it in Unicode.
Embarassed
Back to top
mgl



Joined: 30 Sep 2007
Posts: 21

Another question about rewrite mod and zero dupePosted: Mon Apr 07, 2008 2:45 pm    Post subject: Re: Another question about rewrite mod and zero dupe

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

ooohh. Glad you fixed it. Smile
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 13031

Another question about rewrite mod and zero dupePosted: Wed Apr 16, 2008 11:37 am    Post subject: Re: Another question about rewrite mod and zero dupe

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 || 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 SEO TooLKit  » Zero duplicate
Page 1 of 1

Navigation Similar Topics

Jump to: