[migration] able2know to Advanced mod Rewrite 0.2.0

phpBB2 SEO Advanced mod Rewrite support forum.
This mods performs URL rewriting for phpBB, injecting categories, forums and topic titles in their URLs.

Moderator: Moderators


[migration] able2know to Advanced mod Rewrite 0.2.0

Postby lavinya » Wed Jan 31, 2007 2:15 pm

hello. sorry.
how to convert able2know to phpBB SEO Advanced mod Rewrite 0.2.0?

installed mod:
Able2Know.com Search Engine Optimization 2.0.0
Able2Know.com phpBB static URLs mod_rewrite 1.0.0
(http://www.able2know.com/forums/about15132.html)
Approve Post MOD 0.0.2 (http://www.phpbb.com/phpBB/viewtopic.php?p=2183442)
RSS Feed mod 2.2.4
(http://www.phpbb.com/phpBB/viewtopic.php?t=254606)
CrackerTracker Professional G5 5.03
(http://www.cback.de)
phpBB Fetch All 2.0.15
(http://www.phpbbfetchall.com)

---
examle:
Open viewtopic.php
find:
abcde
replace with
acdef
or
Open viewtopic.php
find and delele
abcd
and
add this below code htaccess or delete this code
---
my forum adress: www . mysite . net /phpBB2/

my htaccess.
Code: Select all
RewriteEngine On
RewriteBase /phpBB2/
RewriteCond %{HTTP_HOST} !^www\.mysite\.net$ [NC]
RewriteRule ^(.*) http://www.mysite.net/phpBB2/$1 [QSA,L,R=301]

RewriteRule ^post-([0-9]*)\.html viewtopic.php?p=$1 [QSA,L,NC]
RewriteRule ^view-poll([0-9]*)-([0-9]*)-([a-zA-Z]*).* viewtopic.php?t=$1&postdays=$2&postorder=$3&vote=viewresult [L,NC]
RewriteRule ^about([0-9]*).html&highlight=([a-zA-Z0-9]*) viewtopic.php?t=$1&highlight=$2 [L,NC]
RewriteRule ^about([0-9]*).html&view=newest viewtopic.php?t=$1&view=newest [L,NC]
RewriteRule ^about([0-9]*)-([0-9]*)-([a-zA-Z]*)-([0-9]*).* viewtopic.php?t=$1&postdays=$2&postorder=$3&start=$4 [L,NC]
RewriteRule ^about([0-9]*)-([0-9]*).* viewtopic.php?t=$1&start=$2 [L,NC]
RewriteRule ^about([0-9]*).* viewtopic.php?t=$1 [L,NC]
RewriteRule ^about([0-9]*).html viewtopic.php?t=$1&start=$2&postdays=$3&postorder=$4&highlight=$5 [L,NC]
RewriteRule ^mark-forum([0-9]*).html* viewforum.php?f=$1&mark=topics [L,NC]
RewriteRule ^updates-topic([0-9]*).html* viewtopic.php?t=$1&watch=topic [L,NC]
RewriteRule ^stop-updates-topic([0-9]*).html* viewtopic.php?t=$1&unwatch=topic [L,NC]
RewriteRule ^forum-([0-9]*).html viewforum.php?f=$1 [L,NC]
RewriteRule ^forum-([0-9]*).* viewforum.php?f=$1 [L,NC]
RewriteRule ^topic-([0-9]*)-([0-9]*)-([0-9]*).* viewforum.php?f=$1&topicdays=$2&start=$3 [L,NC]
RewriteRule ^ptopic([0-9]*).* viewtopic.php?t=$1&view=previous [L,NC]
RewriteRule ^ntopic([0-9]*).* viewtopic.php?t=$1&view=next [L,NC]
RewriteRule ^ara-([0-9]*)-([0-9]*).html search.php?search_id=$1&start=$2 [QSA,L]
RewriteRule ^arama-yazar-([a-zA-Z0-9_-]*).html search.php?&search_author=$1 [QSA,L]
RewriteRule ^cevapsiz.html search.php?search_id=$1 [QSA,L]
RewriteRule ^yeni-kayit.html profile.php?mode=register&agreed=true [QSA,L]
RewriteRule ^kayit-coppa.html profile.php?mode=register&agreed=true&coppa=true [QSA,L]
RewriteRule ^kayit.html profile.php?&mode=register [QSA,L]
RewriteRule ^bilgiduzenle.html profile.php?mode=editprofile [QSA,L]
RewriteRule ^uye-([0-9]*).html profile.php?mode=viewprofile&u=$1 [QSA,L]
RewriteRule ^kayipsifre.html profile.php?mode=sendpassword [QSA,L]
RewriteRule ^kategori-([0-9]*).html index.php\?c=$1 [QSA,L]
RewriteRule ^uyelistesi-([a-zA-Z0-9]*)-([a-zA-Z]*)-([0-9]*).html memberlist.php\?mode=$1&order=$2&start=$3 [QSA,L]
RewriteRule ^uyelistesi.html memberlist.php [QSA,L]
RewriteRule ^sss-([a-zA-Z0-9]*).html faq.php\?mode=$1 [QSA,L]
RewriteRule ^sss.html faq.php [QSA,L]
RewriteRule ^arama.htm search.php [QSA,L]

thanks. :(
User avatar
lavinya
PR1
PR1
 
Posts: 166
Joined: Mon Jul 24, 2006 9:05 am
Location: Turkey

Advertisement

Postby dcz » Wed Jan 31, 2007 2:51 pm

1) undo all code changes from "phpBB static URLs mod _rewrite 1.0.0.txt",

2) In order to install the cyber alien guest session mod, do the following :

Code: Select all
#
#-----[ OPEN ]------------------------------------------
#

includes/sessions.php

#
#-----[ FIND ]------------------------------------------
#

$SID = 'sid=' . $session_id;

#
#-----[ REPLACE WITH ]------------------------------------------
#

if ( $userdata['session_user_id'] != ANONYMOUS ){
   $SID = 'sid=' . $session_id;
} else {
   $SID = '';
}


and install the cyber alien guest sessions mod.

3) update your .htaccess for the phpBB SEO advanced mod rewrite :

Code: Select all
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 ^phpbb/index\.html$ /phpbb/index.php [QSA,L]
# FORUM PROTECTION RULE
# RewriteRule ^phpbb/.*/([^/]+\.html)$ /phpbb/index.php [R=301,L]
# CATEGORIES
RewriteRule ^phpbb/.*-c([0-9]+)\.html$ /phpbb/index.php?c=$1 [QSA,L]
# PAGINATED FORUM
RewriteRule ^phpbb/.*-f([0-9]+)-([0-9]+)\.html$ /phpbb/viewforum.php?f=$1&start=$2 [QSA,L]
# FORUM
RewriteRule ^phpbb/.*-f([0-9]+)\.html$ /phpbb/viewforum.php?f=$1 [QSA,L]
# PAGINATED TOPIC
RewriteRule ^phpbb/.*-t([0-9]+)-([0-9]+)\.html$ /phpbb/viewtopic.php?t=$1&start=$2 [QSA,L]
# TOPIC
RewriteRule ^phpbb/.*-t([0-9]+)\.html$ /phpbb/viewtopic.php?t=$1 [QSA,L]
# POST
RewriteRule ^phpbb/post([0-9]+)\.html$ /phpbb/viewtopic.php?p=$1 [QSA,L]
#PROFILES
RewriteRule ^phpbb/member([0-9]+)\.html$ /phpbb/profile.php?mode=viewprofile&u=$1 [QSA,L]
# END PHPBB PAGES
###################################################### # able2know rewriterules
#we keep them to kill them ;-)
RewriteRule ^phpbb/forums.* /phpbb/index.php [L,NC]
RewriteRule ^phpbb/post-([0-9]*).html&highlight=([a-zA-Z0-9]*) /phpbb/viewtopic.php?p=$1&highlight=$2 [L,NC]
RewriteRule ^phpbb/post-([0-9]*).* /phpbb/viewtopic.php?p=$1 [L,NC]
RewriteRule ^phpbb/view-poll([0-9]*)-([0-9]*)-([a-zA-Z]*).* /phpbb/viewtopic.php?t=$1&postdays=$2&postorder=$3&vote=viewresult [L,NC]
RewriteRule ^phpbb/about([0-9]*).html&highlight=([a-zA-Z0-9]*) /phpbb/viewtopic.php?t=$1&highlight=$2 [L,NC]
RewriteRule ^phpbb/about([0-9]*).html&view=newest /phpbb/viewtopic.php?t=$1&view=newest [L,NC]
RewriteRule ^phpbb/about([0-9]*)-([0-9]*)-([a-zA-Z]*)-([0-9]*).* /phpbb/viewtopic.php?t=$1&postdays=$2&postorder=$3&start=$4 [L,NC]
RewriteRule ^phpbb/about([0-9]*)-([0-9]*).* /phpbb/viewtopic.php?t=$1&start=$2 [L,NC]
RewriteRule ^phpbb/about([0-9]*).* /forum/viewtopic.php?t=$1 [L,NC]
RewriteRule ^phpbb/about([0-9]*).html /phpbb/viewtopic.php?t=$1&start=$2&postdays=$3&postorder=$4&highlight=$5 [L,NC]
RewriteRule ^phpbb/mark-forum([0-9]*).html* /phpbb/viewforum.php?f=$1&mark=topics [L,NC]
RewriteRule ^phpbb/updates-topic([0-9]*).html* /phpbb/viewtopic.php?t=$1&watch=topic [L,NC]
RewriteRule ^phpbb/stop-updates-topic([0-9]*).html* /phpbb/viewtopic.php?t=$1&unwatch=topic [L,NC]
RewriteRule ^phpbb/forum-([0-9]*).html /phpbb/viewforum.php?f=$1 [L,NC]
RewriteRule ^phpbb/forum-([0-9]*).* /phpbb/viewforum.php?f=$1 [L,NC]
RewriteRule ^phpbb/topic-([0-9]*)-([0-9]*)-([0-9]*).* /phpbb/viewforum.php?f=$1&topicdays=$2&start=$3 [L,NC]
RewriteRule ^phpbb/ptopic([0-9]*).* /phpbb/viewtopic.php?t=$1&view=previous [L,NC]
RewriteRule ^phpbb/ntopic([0-9]*).* /phpbb/viewtopic.php?t=$1&view=next [L,NC]


Note that this example is for phpBB installed in a folder called phpbb/, just change it with the correct one, or delete it if your forum is located at the domain's root level.

This .htaccess should be located at the domain's root, no .htaccess should be kept in the forum folder if any.

You'll may need to get rid the slashes ("/") at the beginning of the right part of the rewriterules eg :

Code: Select all
RewriteRule ^phpbb/.*-c([0-9]+)\.html$ /phpbb/index.php?c=$1 [QSA,L]


vs

Code: Select all
RewriteRule ^phpbb/.*-c([0-9]+)\.html$ phpbb/index.php?c=$1 [QSA,L]


Once this is done, the forum should output vanilla URLs, but the old able2know one should still work. As well, you should be able to test a topic-titlexx.html URL.

4) Perform the changes : install the phpBB SEO advanced mod rewrite.
Do it for all files before it will work.

Once this is done you should see every link rewritten, unless you're for example using simple sub forum, which will require a small patch.

5) Once all is correct, you can install the advanced zero duplicate ;)

I advise you to take your time, the best would be if you first test the procedure before you go online to make the url switch as fast as possible.
No worries, but you don't want a small typo to mess up for too long.


Your custom rewriterules could be added this way, before the able2know rewriterules :
Code: Select all
# Custom RewriteRule
RewriteRule ^phpbb/ara-([0-9]*)-([0-9]*).html /phpbb/search.php?search_id=$1&start=$2 [QSA,L]
RewriteRule ^phpbb/arama-yazar-([a-zA-Z0-9_-]*).html /phpbb/search.php?&search_author=$1 [QSA,L]
RewriteRule ^phpbb/cevapsiz.html /phpbb/search.php?search_id=$1 [QSA,L]
RewriteRule ^phpbb/yeni-kayit.html /phpbb/profile.php?mode=register&agreed=true [QSA,L]
RewriteRule ^phpbb/kayit-coppa.html /phpbb/profile.php?mode=register&agreed=true&coppa=true [QSA,L]
RewriteRule ^phpbb/kayit.html /phpbb/profile.php?&mode=register [QSA,L]
RewriteRule ^phpbb/bilgiduzenle.html /phpbb/profile.php?mode=editprofile [QSA,L]
RewriteRule ^phpbb/uye-([0-9]*).html /phpbb/profile.php?mode=viewprofile&u=$1 [QSA,L]
RewriteRule ^phpbb/kayipsifre.html /phpbb/profile.php?mode=sendpassword [QSA,L]
RewriteRule ^phpbb/kategori-([0-9]*).html /phpbb/index.php\?c=$1 [QSA,L]
RewriteRule ^phpbb/uyelistesi-([a-zA-Z0-9]*)-([a-zA-Z]*)-([0-9]*).html /phpbb/memberlist.php\?mode=$1&order=$2&start=$3 [QSA,L]
RewriteRule ^phpbb/uyelistesi.html /phpbb/memberlist.php [QSA,L]
RewriteRule ^phpbb/sss-([a-zA-Z0-9]*).html /phpbb/faq.php\?mode=$1 [QSA,L]
RewriteRule ^phpbb/sss.html /phpbb/faq.php [QSA,L]
RewriteRule ^phpbb/arama.htm /phpbb/search.php [QSA,L]


With the same thing about the phpbb/ folder and the slashes ("/") than above.

++
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: 19911
Joined: Fri Apr 28, 2006 9:03 pm

Postby lavinya » Wed Jan 31, 2007 3:27 pm

:shock:
Million thanks dcz :lol:
very happy. :)
User avatar
lavinya
PR1
PR1
 
Posts: 166
Joined: Mon Jul 24, 2006 9:05 am
Location: Turkey

Postby lavinya » Wed Jan 31, 2007 8:14 pm

hello dcz. I installed above code. but
click to /phpBB2/about2147.html
ok work.
but not rewrite to /phpBB2/13-yas-sinirlamasi-hakkinda-t2147.html
click to /phpBB2/13-yas-sinirlamasi-hakkinda-t2147.html
ok work.
(duplicate content)

and

click to any topic link example:
phpBB2/13-yas-sinirlamasi-hakkinda-t2147.html
category link display:
/phpBB2/viewforum.php?f=4

how to fix?
thanks
here my .htaccess
Code: Select all
RewriteEngine On
RewriteBase /phpBB2/
#########################################################
# 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]
# FORUM PROTECTION RULE
# RewriteRule ^.*/([^/]+\.html)$ index.php [R=301,L]
# CATEGORIES
RewriteRule ^.*-c([0-9]+)\.html$ index.php?c=$1 [QSA,L]
# PAGINATED FORUM
RewriteRule ^.*-f([0-9]+)-([0-9]+)\.html$ viewforum.php?f=$1&start=$2 [QSA,L]
# FORUM
RewriteRule ^.*-f([0-9]+)\.html$ viewforum.php?f=$1 [QSA,L]
# PAGINATED TOPIC
RewriteRule ^.*-t([0-9]+)-([0-9]+)\.html$ viewtopic.php?t=$1&start=$2 [QSA,L]
# TOPIC
RewriteRule ^.*-t([0-9]+)\.html$ viewtopic.php?t=$1 [QSA,L]
# POST
RewriteRule ^post([0-9]+)\.html$ viewtopic.php?p=$1 [QSA,L]
#PROFILES
RewriteRule ^member([0-9]+)\.html$ profile.php?mode=viewprofile&u=$1 [QSA,L]
# END PHPBB PAGES
###################################################### # able2know rewriterules
#we keep them to kill them ;-)
RewriteRule ^forums.* index.php [L,NC]
RewriteRule ^post-([0-9]*).html&highlight=([a-zA-Z0-9]*) viewtopic.php?p=$1&highlight=$2 [L,NC]
RewriteRule ^post-([0-9]*).* viewtopic.php?p=$1 [L,NC]
RewriteRule ^view-poll([0-9]*)-([0-9]*)-([a-zA-Z]*).* viewtopic.php?t=$1&postdays=$2&postorder=$3&vote=viewresult [L,NC]
RewriteRule ^about([0-9]*).html&highlight=([a-zA-Z0-9]*) viewtopic.php?t=$1&highlight=$2 [L,NC]
RewriteRule ^about([0-9]*).html&view=newest viewtopic.php?t=$1&view=newest [L,NC]
RewriteRule ^about([0-9]*)-([0-9]*)-([a-zA-Z]*)-([0-9]*).* viewtopic.php?t=$1&postdays=$2&postorder=$3&start=$4 [L,NC]
RewriteRule ^about([0-9]*)-([0-9]*).* viewtopic.php?t=$1&start=$2 [L,NC]
RewriteRule ^about([0-9]*).* viewtopic.php?t=$1 [L,NC]
RewriteRule ^about([0-9]*).html viewtopic.php?t=$1&start=$2&postdays=$3&postorder=$4&highlight=$5 [L,NC]
RewriteRule ^mark-forum([0-9]*).html* viewforum.php?f=$1&mark=topics [L,NC]
RewriteRule ^updates-topic([0-9]*).html* viewtopic.php?t=$1&watch=topic [L,NC]
RewriteRule ^stop-updates-topic([0-9]*).html* viewtopic.php?t=$1&unwatch=topic [L,NC]
RewriteRule ^forum-([0-9]*).html viewforum.php?f=$1 [L,NC]
RewriteRule ^forum-([0-9]*).* viewforum.php?f=$1 [L,NC]
RewriteRule ^topic-([0-9]*)-([0-9]*)-([0-9]*).* viewforum.php?f=$1&topicdays=$2&start=$3 [L,NC]
RewriteRule ^ptopic([0-9]*).* viewtopic.php?t=$1&view=previous [L,NC]
RewriteRule ^ntopic([0-9]*).* viewtopic.php?t=$1&view=next [L,NC]
# Custom RewriteRule
RewriteRule ^ara-([0-9]*)-([0-9]*).html search.php?search_id=$1&start=$2 [QSA,L]
RewriteRule ^arama-yazar-([a-zA-Z0-9_-]*).html search.php?&search_author=$1 [QSA,L]
RewriteRule ^cevapsiz.html search.php?search_id=$1 [QSA,L]
RewriteRule ^yeni-kayit.html profile.php?mode=register&agreed=true [QSA,L]
RewriteRule ^kayit-coppa.html profile.php?mode=register&agreed=true&coppa=true [QSA,L]
RewriteRule ^kayit.html profile.php?&mode=register [QSA,L]
RewriteRule ^bilgiduzenle.html profile.php?mode=editprofile [QSA,L]
RewriteRule ^uye-([0-9]*).html profile.php?mode=viewprofile&u=$1 [QSA,L]
RewriteRule ^kayipsifre.html profile.php?mode=sendpassword [QSA,L]
RewriteRule ^kategori-([0-9]*).html index.php\?c=$1 [QSA,L]
RewriteRule ^uyelistesi-([a-zA-Z0-9]*)-([a-zA-Z]*)-([0-9]*).html memberlist.php\?mode=$1&order=$2&start=$3 [QSA,L]
RewriteRule ^uyelistesi.html memberlist.php [QSA,L]
RewriteRule ^sss-([a-zA-Z0-9]*).html faq.php\?mode=$1 [QSA,L]
RewriteRule ^sss.html faq.php [QSA,L]
RewriteRule ^arama.htm search.php [QSA,L]
User avatar
lavinya
PR1
PR1
 
Posts: 166
Joined: Mon Jul 24, 2006 9:05 am
Location: Turkey

Postby dcz » Wed Jan 31, 2007 9:29 pm

Well, you've reached the point when you need to install the phpBB SEO mod rewrite after you've uninstalled the able2know one.

The zero dupe will in the end reduce all duplicates.

I cannot test your current .htaccess without a link, but if a rewritten forum url works it's ok.

++
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: 19911
Joined: Fri Apr 28, 2006 9:03 pm

Postby lavinya » Wed Jan 31, 2007 9:38 pm

thanks reply
dcz already uninstalled phpBB static URLs mod _rewrite 1.0.0.txt ?
but no uninstall this file: Able2Know.com Search Engine Optimization 2.0.0.txt
User avatar
lavinya
PR1
PR1
 
Posts: 166
Joined: Mon Jul 24, 2006 9:05 am
Location: Turkey

Postby dcz » Wed Jan 31, 2007 9:40 pm

You've reached step 2) ;)

dcz wrote:1) undo all code changes from "phpBB static URLs mod _rewrite 1.0.0.txt",
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: 19911
Joined: Fri Apr 28, 2006 9:03 pm

Postby lavinya » Wed Jan 31, 2007 9:56 pm

ok dcz.
now: Able2Know.com Search Engine Optimization 2.0.0.txt
and phpBB static URLs mod _rewrite 1.0.0.txt uninstalled.
but result: again same :(

and click to user profile example
http://localhost/phpBB2/member1271.html
redirect http://localhost/phpBB2/member.html 404 not found.
User avatar
lavinya
PR1
PR1
 
Posts: 166
Joined: Mon Jul 24, 2006 9:05 am
Location: Turkey

Postby dcz » Wed Jan 31, 2007 10:08 pm

Well, this is only an .htaccess issue, are other links working ?
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: 19911
Joined: Fri Apr 28, 2006 9:03 pm

Postby lavinya » Thu Feb 01, 2007 10:37 am

thanks for reply dcz. :)

dcz I don't understand :(

all links working.(member profile excluding)
But duplicate content.

example:
Click to /phpBB2/about2990.html ok working.(but not redirect to /phpBB2/13-yas-sinirlamasi-hakkinda-t2147.html)

Click to /phpBB2/13-yas-sinirlamasi-hakkinda-t2147.html ok working

category link display: http://localhost/phpBB2/viewforum.php?f=4
but click redirect to: /phpBB2/duyuru-f4.html ok working

click to any topic link example:
http://localhost/phpBB2/erkin-koray-t1113.html
click to page number (page 1-2-...)display link: /phpBB2/viewtopic.php?t=1113&postdays=0&postorder=asc&start=15
ok click working.(but display viewtopic)

Click to member profile example:
/phpBB2/member2.html
redirect to /phpBB2/member.html 404 not found.

sorry dcz little english. and very sad. :(
please help me.
User avatar
lavinya
PR1
PR1
 
Posts: 166
Joined: Mon Jul 24, 2006 9:05 am
Location: Turkey

Postby dcz » Thu Feb 01, 2007 11:28 am

There is one thing I don't get, did you install the phpBB SEO mod rewrite ?

Are the links rewritten on the phpBB pages ?

The principle is, until you implement the zero dupe, there will be possible duplicates. That's what we want, both older ad newer url to work, so that we can use the zero dupe to take care of them.

It looks like you've managed to implement it on viewforum, but not on other files, if it's working there, it should work everywhere.

What about if you try an ole forum url like forum-x.html ?

++
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: 19911
Joined: Fri Apr 28, 2006 9:03 pm

Postby lavinya » Thu Feb 01, 2007 5:08 pm

dcz I fresh install phpbb
this directory /phpbb/
and after install
phpBB SEO Advanced mod Rewrite 0.2.0
Cyber Alien guest session mod

my php.ini value output_buffering = on
phpBB SEO Zero dupilcate - phpBB SEO Advanced mod Rewrite version 0.2.0

all link ok working.
but some links wrong display.

example:
"View previous topic" link display: http://localhost/phpbb/viewtopic.php?t=2&view=previous
and "View next topic" link display:
http://localhost/phpbb/viewtopic.php?t=1&view=next

"Last Post" url display:
http://localhost/phpbb/post2.html#2

Search author post:
Search found 2 matches
"Subject link display": http://localhost/phpbb/post2.html?highlight=#2

"Mark all topics read" link display:
http://localhost/phpbb/viewforum.php?f=1&mark=topics

source page:
<link rel="top" href="http://localhost/phpbb/" title="yourdomain.com Forum Index" />
<link rel="search" href="./search.php" title="Search" />
<link rel="help" href="./faq.php" title="FAQ" />
<link rel="author" href="./memberlist.php" title="Memberlist" />
<link rel="prev" href="viewtopic.php?t=1&amp;view=previous" title="View previous topic" />
<link rel="next" href="viewtopic.php?t=1&amp;view=next" title="View next topic" />
<link rel="up" href="test-forum-1-f1.html" title="Test Forum 1" />
<link rel="chapter forum" href="test-forum-1-f1.html" title="Test Forum 1" />

:roll:
User avatar
lavinya
PR1
PR1
 
Posts: 166
Joined: Mon Jul 24, 2006 9:05 am
Location: Turkey

Postby dcz » Thu Feb 01, 2007 11:47 pm

For the next / prev and mark links, this is on purpose.

And these are redirected for guests, so they won't create dupes.

The other links are as well redirected. Some more code changes are required to get rid of post urls, this will be a new mod, real soon ;)

++
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: 19911
Joined: Fri Apr 28, 2006 9:03 pm

Postby lavinya » Fri Feb 02, 2007 1:01 pm

ok dcz thanks. :)
User avatar
lavinya
PR1
PR1
 
Posts: 166
Joined: Mon Jul 24, 2006 9:05 am
Location: Turkey


Return to phpBB2 Advanced mod Rewrite

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 6 guests


 
cron