Found this old mod-rewrite code. Placed here in case anyone ever decides to upgrade it or use it for their xmb forum. Could be useful base code if
updated to work with 1.9.11 especially if url friendly like
xmbforum2.com/xmb-seo
instead of
xmbforum2.com/viewthread.php?tid=776852
XMB SEO from an old archive:
http://web.archive.org/web/20061208075800/http://www.doriat....
http://web.archive.org/web/20061011121006/http://www.doriat....
*****
From
http://web.archive.org/web/20061208075800/http://www.doriat....
mod_rewrite [N] Mod_Rewrite Tutorials
Author Message
mrkredo
Mod_Rewrite Grown-Up
Joined: 18 Apr 2005
Posts: 32
mod_rewritePosted: Wed Jun 01, 2005 3:29 am Post subject: mod_rewrite for XMB Forum 1.9.1 Nexus Final :: DEVELOPMENT
Doriat, wonderful job on your site and tutorials! Here is very popular forum i found very useful and free...
http://www.xmbforum.com/ Is it possible? Thanks. Mr.
Back to top
mod_rewrite mod_rewrite
mod_rewrite
Doriat
Mod_Rewrite Admin
mod_rewrite
Joined: 16 Mar 2005
Posts: 323
mod_rewritePosted: Wed Jun 01, 2005 9:06 am Post subject:
thank you, looks pretty nice. I will do mod_rewrite for xbm forum 1.9.1 Nexus Final with my pleasure. Smile
_________________
Register to request mod_rewrite help
P.S. pay attention to Richard's signature Smile
Back to top
mod_rewrite mod_rewrite
mod_rewrite
Doriat
Mod_Rewrite Admin
mod_rewrite
Joined: 16 Mar 2005
Posts: 323
mod_rewritePosted: Wed Jun 01, 2005 3:44 pm Post subject: mod_rewrite for XMB Forum 1.9.1 Nexus Final :: DEVELOPMENT
Here is my mod_rewrite instructions for XMB Forum
See this for Pagination code
http://www.doriat.com/mod_rewrite245.html
##############################################
## Tutorial Title: Mod_Rewrite Tutorial for XMB Forum l
## Tutorial Author: Doriat
http://www.doriat.com
##
## Tutorial Description: Give instructions on how to optimize URLs of
## XMB Forum 1.9.1 Nexus to make them search engine friendly.
##
## Tutorial Version: 1.0.0
##
## Files To Edit: (5)
## - header.php
## - forumdisplay.php
## - viewthread.php
## - today.php
## - functions.php
##
## Templates to Edit: (via admin panel) (6)
## - header
## - index_forum
## - forumdisplay_subforum
## - today2
## - index_category
## - forumdisplay_thread
##
## Included Files: (1)
## - .htaccess
## ##############################################
## Author Notes: None
##############################################
## Tutorials History:
##
## date ( 2005/06/01 ) - 1.0.0
## - First Release
## date (2006/02/02) - 1.0.1
## - Pagination code added
## - Tested on xmb 1.9.3
##
#############################################
## Before Following Instructions of This Tutorial,
## You Should Back Up All Files Related To It
#############################################
.htaccess
Code:
RewriteEngine On
RewriteRule ^forum([0-9]*).html forumdisplay.php?fid=$1 [L]
RewriteRule ^topic([0-9]*).html viewthread.php?tid=$1 [L]
RewriteRule ^cat([0-9]*) index.php?gid=$1 [L]
#
#get rid of index.php
#
OPEN header.php
FIND
Code:
$logo = '<a href="index.php"><img src="'.$boardimg.'" alt="'.$bbname.'" border="0" /></a>';
REPLACE WITH
Code:
$logo = '<a href="/path-to-folder-with-forum/"><img src="'.$boardimg.'" alt="'.$bbname.'" border="0" /></a>';
OPEN header template
FIND
Code:
<td class="nav"> <a href="index.php">$bbname</a> $navigation</td>
REPLACE WITH
Code:
<td class="nav"> <a href="/path-to-folder-with-forum/">$bbname</a> $navigation</td>
#
# make forumdisplay.php as forum.html
#
OPEN index_forum template
FIND
Code:
<a href="./forumdisplay.php?fid=$forum[fid]"><strong>$forum[name]</strong></a>
REPLACE WITH
Code:
<a href="./forum$forum[fid].html"><strong>$forum[name]</strong></a>
OPEN forumdisplay_subforum template
FIND
Code:
<a href="forumdisplay.php?fid=$forum[fid]">$forum[name]</a>
REPLACE WITH
Code:
<a href="forum$forum[fid].html">$forum[name]</a>
OPEN today2 template
FIND
Code:
<a href="forumdisplay.php?fid=$thread[fid]">$forum[name]</a>
REPLACE WITH
Code:
<a href="forum$thread[fid].html">$forum[name]</a>
#
# make category as cat.html
#
OPEN index_category template
FIND
Code:
<tr>
<td colspan="6" class="category"><a href="index.php?gid=$thing[cat_fid]"><font
color="$cattext"><strong>$thing[cat_name]</strong></font></a></td>
</tr>
REPLACE WITH
Code:
<tr>
<td colspan="6" class="category"><a href="cat$thing[cat_fid].html"><font
color="$cattext"><strong>$thing[cat_name]</strong></font></a></td>
</tr>
#
# make viewthread.php like topic.html
#
OPEN today2 template
FIND
Code:
<a href="viewthread.php?tid=$thread[tid]">$thread[subject]</a> $multipage2</font>
REPLACE WITH
Code:
<a href="topic$thread[tid].html">$thread[subject]</a> $multipage2</font>
OPEN forumdisplay_thread template
FIND
Code:
<a href="viewthread.php?tid=$thread[tid]">$thread[subject]</a>
REPLACE WITH
Code:
<a href="topic$thread[tid].html">$thread[subject]</a>
#
#remove 'powered by XMB 1.9.1'
#
OPEN header
FIND
Code:
<title>$bbname - $versionlong</title>
REPLACE WITH
Code:
<title>$bbname</title>
#to have original title#
Code:
<title>$thread[subject] $forum[name] $bbname</title>
#
# make links on navigation like .html
#
OPEN forumdisplay.php
FIND
Code:
nav('<a href="forumdisplay.php?fid='.$fup['fid'].'">'.stripslashes($fup['name']).'</a>');
REPLACE WITH
Code:
nav('<a href="forum'.$fup['fid'].'.html">'.stripslashes($fup['name']).'</a>');
OPEN viewthread.php
FIND
Code:
nav('<a href="forumdisplay.php?fid='.$fid.'"> '.$ssForumName.'</a>');
REPLACE WITH
Code:
nav('<a href="forum'.$fid.'.html"> '.$ssForumName.'</a>');
FIND
Code:
nav('<a href="forumdisplay.php?fid='.$fup['fid'].'">'.stripslashes($fup['name']).'</a>');
nav('<a href="forumdisplay.php?fid='.$fid.'">'.$ssForumName.'</a>');
REPLACE WITH
Code:
nav('<a href="forum'.$fup['fid'].'.html">'.stripslashes($fup['name']).'</a>');
nav('<a href="forum'.$fid.'.html">'.$ssForumName.'</a>');
UPDATE
#
# .htaccess file - upload it to the directory where xmb forum is installed
#
ADD to .htaccess
Code:
RewriteRule ^forum([0-9]*)-([0-9]*).html forumdisplay.php?fid=$1&page=$2 [L]
RewriteRule ^post([0-9]*)-([0-9]*).html viewthread.php?tid=$1&page=$2 [L]
#
# long awaited pagination Smile
#
OPEN forumdisplay.php
FIND
Code:
$mpurl = "forumdisplay.php?fid=$fid";
REPLACE WITH
Code:
$mpurl = "forum$fid";
FIND
Code:
$pagelinks = multi($postnum, $ppp, 0, 'viewthread.php?tid='.$thread['tid']);
REPLACE WITH
Code:
$pagelinks = multi($postnum, $ppp, 0, 'post'.$thread['tid']);
OPEN functions.php
FIND
Code:
$multipage .= ' <a href="'.$mpurl.$string.'page='.$pages.'">'.$pages.'</a>';
REPLACE WITH
Code:
$multipage .= ' <a href="'.$mpurl.'-'.$pages.'.html">'.$pages.'</a>';
FIND
Code:
$multipage .= ' <a href="'.$mpurl.$string.'page=1">1</a>';
REPLACE WITH
Code:
$multipage .= ' <a href="'.$mpurl.'-1.html">1</a>';
FIND
Code:
$multipage .= ' <a href="'.$mpurl.$string.'page='.$i.'">'.$i.'</a>';
REPLACE WITH
Code:
$multipage .= ' <a href="'.$mpurl.'-'.$i.'.html">'.$i.'</a>';
OPEN viewthread.php
FIND
Code:
$mpurl = "viewthread.php?tid=$tid";
REPLACE WITH
Code:
$mpurl = "post$tid";
OPEN today.php
FIND
Code:
$pagelinks = multi($thread['posts'], $ppp, 0, 'viewthread.php?tid='.$thread['tid']);
REPLACE WITH
Code:
$pagelinks = multi($thread['posts'], $ppp, 0, 'post'.$thread['tid']);
--------------------END--------------------------
See also discussion on this at request for mod rewrite of XMB 1.9.3 forum
If you have any problems applying this code feel free to post them here. Note that this code should remain here. If you want to share it with others
then share a link to this code in
html code
Code:
<a href=http://www.doriat.com/mod_rewrite103.html>Doriat's XMB Forums mod_rewrite Tutorial</a>
or in BB code (to post on forums)
Code:
Doriat's XMB Forums mod_rewrite Tutorial
_________________
Register to request mod_rewrite help
P.S. pay attention to Richard's signature Smile
Last edited by Doriat on Fri Apr 28, 2006 7:55 am; edited 5 times in total
Back to top
mod_rewrite mod_rewrite
mod_rewrite
Doriat
Mod_Rewrite Admin
mod_rewrite
Joined: 16 Mar 2005
Posts: 323
mod_rewritePosted: Wed Jun 01, 2005 3:51 pm Post subject: mod rewrite for XMB Forum 1.9.1 Nexus Final :: DEVELOPMENT
this mod_rewrite tutorial for xbm forum is missing pagination mod_rewrite and code changes. I will post them soon.
_________________
Register to request mod_rewrite help
P.S. pay attention to Richard's signature Smile
Last edited by Doriat on Thu Jun 02, 2005 11:36 am; edited 1 time in total
Back to top
mod_rewrite mod_rewrite
mod_rewrite
mrkredo
Mod_Rewrite Grown-Up
Joined: 18 Apr 2005
Posts: 32
mod_rewritePosted: Wed Jun 01, 2005 6:51 pm Post subject: mod rewrite for XMB Forum 1.9.1 Nexus Final :: DEVELOPMENT
Wow, you do mod rewrite faster than i think!
Back to top
mod_rewrite mod_rewrite
mod_rewrite
Doriat
Mod_Rewrite Admin
mod_rewrite
Joined: 16 Mar 2005
Posts: 323
mod_rewritePosted: Thu Jun 02, 2005 3:06 am Post subject: mod rewrite for XMB Forum 1.9.1 Nexus Final :: DEVELOPMENT
thanks, but sometimes not fast enough. Smile
_________________
Register to request mod_rewrite help
P.S. pay attention to Richard's signature Smile
Back to top
mod_rewrite mod_rewrite
mod_rewrite
mrkredo
Mod_Rewrite Grown-Up
Joined: 18 Apr 2005
Posts: 32
mod_rewritePosted: Sat Jun 04, 2005 5:13 am Post subject:
Oh man, let me try it... Its friday june 4th...
Back to top
mod_rewrite mod_rewrite
mod_rewrite
mrkredo
Mod_Rewrite Grown-Up
Joined: 18 Apr 2005
Posts: 32
mod_rewritePosted: Sat Jun 04, 2005 6:02 am Post subject:
Cool
Is it possible for viewthread.php???
Check this-
http://forumnyc.com Smile
Update: works on firefox but not on ie Wink let me clear my cache, man...
Update#2: Ok, i see the problem, i was logged as admin, cleared all cache/
cookies
For some reason user logged as admin/moder not showing up as .html which
really dont matter, as we are doing this for our dear frieng google most of the time. Dont even waste your time fixing that... Admin will not care if
it appears as. .php or .html Smile
Doriat, do you have a plain text link i can post on this site? I hate button links as they do not do any good, you know what i mean. Let me go tru
your site, i might find reference there. Dont forget, city never sleeps, but i was able to do this update on a live site-
http://forumnyc.com . Smile
Update#3: pagination is not working, wich is not a big deal, and link from main site to the latest topic.
Thank you so so much!!!! I guess yo ucan fill your last blank spot on your left navigation now? You are good!
Talk later.
Mr.
Back to top
mod_rewrite mod_rewrite
mod_rewrite
Doriat
Mod_Rewrite Admin
mod_rewrite
Joined: 16 Mar 2005
Posts: 323
mod_rewritePosted: Sat Jun 04, 2005 11:21 am Post subject:
1) in xmb there are codes separeted for viewthread.php for ordinary visitors, guests and admins. My mod_rewrite gives instructions to change it for
visitors and members as this is where se are.
2) i did not yet made pagination like i mentioned this in post right after instructions. I plan to finish it soon. Smile
P.S. submit your forum to my forums directory at
http://www.gandalfdir.com
_________________
Register to request mod_rewrite help
P.S. pay attention to Richard's signature Smile
Back to top
mod_rewrite mod_rewrite
mod_rewrite
mrkredo
Mod_Rewrite Grown-Up
Joined: 18 Apr 2005
Posts: 32
mod_rewritePosted: Sat Jun 04, 2005 7:01 pm Post subject:
Wow cool. Thank you.
Back to top
mod_rewrite mod_rewrite
mod_rewrite
mrkredo
Mod_Rewrite Grown-Up
Joined: 18 Apr 2005
Posts: 32
mod_rewritePosted: Wed Jul 13, 2005 8:42 pm Post subject:
I am lost. Doriat, did you modify the original topic or its still missing pagination?
Thanks!
Back to top
mod_rewrite mod_rewrite
mod_rewrite
netchicken
Mod_Rewrite Newbie
Joined: 23 Aug 2005
Posts: 3
mod_rewritePosted: Tue Aug 23, 2005 4:29 am Post subject:
This is wonderful!!!
Thanks for making something I had despaired of ever getting for my site.
Before I take the plunge and undertake this I need to get a few things clear from your code...
#
#get rid of index.php
#
This means delete index.php? .... its a big step ...
Where does it get an index.html from?
#
# make forumdisplay.php as forum.html
# make category as cat.html
# make viewthread.php like topic.html
#
save them all as *.html?
Can I just cut and paste it into a webpage and save it like that? What about extra tags <html> <head><body> leave them out?
If you just edit them via the admin panel I can't see how you save them with a different name. There is no option for that, only edit, backup and
delete.
Mod rewrite is like marriage you only need to do it once if you do it right Smile
But woe be the man who screws it up Smile
Back to top
mod_rewrite mod_rewrite
mod_rewrite
mrkredo
Mod_Rewrite Grown-Up
Joined: 18 Apr 2005
Posts: 32
mod_rewritePosted: Wed Sep 07, 2005 9:30 pm Post subject:
netchicken: you still need to keep all php files. Basically what mod rewrite does is telling browser to display it as html. Just follow the rules, its
all working:
http://forumnyc.com
Doriat, was you ever able to finish pagination?
Thanks.
Back to top
mod_rewrite mod_rewrite
mod_rewrite
fmosse
Mod_Rewrite Newbie
Joined: 25 Sep 2005
Posts: 1
mod_rewritePosted: Sun Sep 25, 2005 5:19 pm Post subject:
Hi,
I have made this changes in my forum but Google just indexes my home page... not the rest of the site. Do you have any ideas of how do I get my all
XMB site indexed by Google?
Yours,
Francisco
Back to top
mod_rewrite mod_rewrite
mod_rewrite
Doriat
Mod_Rewrite Admin
mod_rewrite
Joined: 16 Mar 2005
Posts: 323
mod_rewritePosted: Sat Oct 22, 2005 1:19 pm Post subject:
fmosse wrote:
Hi,
I have made this changes in my forum but Google just indexes my home page... not the rest of the site. Do you have any ideas of how do I get my all
XMB site indexed by Google?
Yours,
Francisco
Just wait Smile
_________________
Register to request mod_rewrite help
P.S. pay attention to Richard's signature Smile
Back to top
mod_rewrite mod_rewrite
mod_rewrite
Display posts from previous:
Mod_Rewrite [N] Mod_Rewrite Tutorials All times are GMT
Goto page 1, 2 Next
Page 1 of 2
mod_rewrite [N] Mod_Rewrite Tutorials
Author Message
Edmund
Mod_Rewrite Newbie
Joined: 02 Dec 2005
Posts: 1
mod_rewritePosted: Fri Dec 02, 2005 3:41 pm Post subject:
After applied this modification, there will be 2 versions for 1 identical page. (Because we are not totally modifiy all the related code)
E.g.: 1) ../forumdisplay.php?fid=231 and
2) ../forum231.html
If search engine found those 2 links with identical content, will it lower those links' PR or even treat them as spam pages and drop those pages form
SE?
Back to top
mod_rewrite mod_rewrite
mod_rewrite
richard
Mod_Rewrite Expert
Joined: 24 Nov 2005
Posts: 903
mod_rewritePosted: Tue Dec 06, 2005 10:40 pm Post subject:
If you're really that bothered, you could send a 301 permanent redirect if the page is not access via the mod_rewritten urls, this will tell the
search engines and people (browsers) using the old URLs that they should update to the new ones.
Add this to the VERY top of forumdisplay.php:
Code:
<?php
if(!preg_match('#forum([0-9]*)\.html$#',$_SERVER['REQUEST_URI']))
{
$_GET['fid'] = !isset($_GET['fid']) ? '' : $_GET['fid'];
header('Location: http://' . $_SERVER['HTTP_HOST'] . '/forum' . $_GET['fid'] . '.html', true, 301);
exit();
}
?>
Add this to the VERY top of viewthread.php:
Code:
<?php
if(!preg_match('#topic([0-9]*)\.html$#',$_SERVER['REQUEST_URI']))
{
$_GET['tid'] = !isset($_GET['tid']) ? '' : $_GET['tid'];
header('Location: http://' . $_SERVER['HTTP_HOST'] . '/topic' . $_GET['tid'] . '.html', true, 301);
exit();
}
?>
Add this to the VERY top of index.php:
Code:
<?php
if(!preg_match('#cat([0-9]*)#',$_SERVER['REQUEST_URI']))
{
$_GET['gid'] = !isset($_GET['gid']) ? '' : $_GET['gid'];
header('Location: http://' . $_SERVER['HTTP_HOST'] . '/cat' . $_GET['gid'], true, 301);
exit();
}
?>
Hope that helps.
_________________
Always backup your files before trying new code!
Code not guaranteed to work (if it doesn't, just tell me).
DO NOT PM me (unless it's sensitive data).
Back to top
mod_rewrite mod_rewrite
mod_rewrite
Doriat
Mod_Rewrite Admin
mod_rewrite
Joined: 16 Mar 2005
Posts: 323
mod_rewritePosted: Fri Feb 03, 2006 7:00 am Post subject:
I have finally updated code for PAGINATION and tested my code for 1.9.1 for XMB 1.9.3 - code works for both versions. If you have any problems feel
free to post here.
_________________
Register to request mod_rewrite help
P.S. pay attention to Richard's signature Smile
Back to top
mod_rewrite mod_rewrite
mod_rewrite
Doriat
Mod_Rewrite Admin
mod_rewrite
Joined: 16 Mar 2005
Posts: 323
mod_rewritePosted: Fri Apr 28, 2006 7:53 am Post subject:
Pagination code
http://www.doriat.com/mod_rewrite245.html
_________________
Register to request mod_rewrite help
P.S. pay attention to Richard's signature Smile
Back to top
mod_rewrite mod_rewrite
*****
From web.archive.org/web/20061011121006/http://www.doriat.com/mod_rewrite245.html
mod_rewrite [N] Mod_Rewrite Request
Author Message
Nenad
Mod_Rewrite Newbie
Joined: 29 Jan 2006
Posts: 10
mod_rewritePosted: Sun Jan 29, 2006 8:03 pm Post subject: request for mod rewrite of XMB 1.9.3 forum
First of all hello Smile
I am searching the net a month ago to find something like this.. Excellent great site
I am owner of, a little forum based on XMB forum, my xmb version is 1.9.3...
My question is :please Can You do The mod rewrite of this 1.9.3 version?, as you do with the previous 1.9.1...
Or tell me the proved solution for Thoing this (maybe to install 1.9.1 do the mod rewrite and then go to the upgrade process... )
I tried to change my forum based on your XMB 1.9.1 tutorial but as I expected code is different...
Back to top
mod_rewrite mod_rewrite
mod_rewrite
Doriat
Mod_Rewrite Admin
mod_rewrite
Joined: 16 Mar 2005
Posts: 323
mod_rewritePosted: Thu Feb 02, 2006 11:00 am Post subject:
Greetings Nenad. I will do that for you give me a week. Ok?
_________________
Register to request mod_rewrite help
P.S. pay attention to Richard's signature Smile
Back to top
mod_rewrite mod_rewrite
mod_rewrite
Doriat
Mod_Rewrite Admin
mod_rewrite
Joined: 16 Mar 2005
Posts: 323
mod_rewritePosted: Thu Feb 02, 2006 11:02 am Post subject:
I figured that they have 1.9.2 Final and 1.9.3 Alpha which one are you using?
_________________
Register to request mod_rewrite help
P.S. pay attention to Richard's signature Smile
Back to top
mod_rewrite mod_rewrite
mod_rewrite
Nenad
Mod_Rewrite Newbie
Joined: 29 Jan 2006
Posts: 10
mod_rewritePosted: Thu Feb 02, 2006 9:22 pm Post subject:
Thanks for help&reply Doriat. Take enough time, do not hurry. I do not want to be wage.
my version of xmb is 1.9.3 final
Regards Nenad
Back to top
mod_rewrite mod_rewrite
mod_rewrite
Doriat
Mod_Rewrite Admin
mod_rewrite
Joined: 16 Mar 2005
Posts: 323
mod_rewritePosted: Fri Feb 03, 2006 4:55 am Post subject:
I tested my code for xmb 1.9.1 and it fully applies to new version. So you need to follow all the instructions mentioned at mod_rewrite for XMB Forum
1.9.1 Nexus Final :: DEVELOPMENT
The following is the addition to my previous code related to PAGINATION for XMB forum software
#
# .htaccess file - upload it to the directory where xmb forum is installed
#
ADD to .htaccess
Code:
RewriteRule ^forum([0-9]*)-([0-9]*).html forumdisplay.php?fid=$1&page=$2 [L]
RewriteRule ^post([0-9]*)-([0-9]*).html viewthread.php?tid=$1&page=$2 [L]
#
# long awaited pagination Smile
#
OPEN forumdisplay.php
FIND
Code:
$mpurl = "forumdisplay.php?fid=$fid";
REPLACE WITH
Code:
$mpurl = "forum$fid";
FIND
Code:
$pagelinks = multi($postnum, $ppp, 0, 'viewthread.php?tid='.$thread['tid']);
REPLACE WITH
Code:
$pagelinks = multi($postnum, $ppp, 0, 'post'.$thread['tid']);
OPEN functions.php
FIND
Code:
$multipage .= ' <a href="'.$mpurl.$string.'page='.$pages.'">'.$pages.'</a>';
REPLACE WITH
Code:
$multipage .= ' <a href="'.$mpurl.'-'.$pages.'.html">'.$pages.'</a>';
FIND
Code:
$multipage .= ' <a href="'.$mpurl.$string.'page=1">1</a>';
REPLACE WITH
Code:
$multipage .= ' <a href="'.$mpurl.'-1.html">1</a>';
FIND
Code:
$multipage .= ' <a href="'.$mpurl.$string.'page='.$i.'">'.$i.'</a>';
REPLACE WITH
Code:
$multipage .= ' <a href="'.$mpurl.'-'.$i.'.html">'.$i.'</a>';
OPEN viewthread.php
FIND
Code:
$mpurl = "viewthread.php?tid=$tid";
REPLACE WITH
Code:
$mpurl = "post$tid";
--------------------END--------------------------
If you have problem with this code feel free to post here.
Note that this code should remain here. If you want to share it with others then share a link to this code in
html code
Code:
<a href=http://www.doriat.com/mod_rewrite103.html>Doriat's XMB Forums mod_rewrite Tutorial</a>
or in BB code (to post on forums)
Code:
Doriat's XMB Forums mod_rewrite Tutorial
OPEN today.php
FIND
Code:
$pagelinks = multi($thread['posts'], $ppp, 0, 'viewthread.php?tid='.$thread['tid']);
REPLACE WITH
Code:
$pagelinks = multi($thread['posts'], $ppp, 0, 'post'.$thread['tid']);
_________________
Register to request mod_rewrite help
P.S. pay attention to Richard's signature Smile
Last edited by Doriat on Tue Feb 07, 2006 11:47 am; edited 2 times in total
Back to top
mod_rewrite mod_rewrite
mod_rewrite
Nenad
Mod_Rewrite Newbie
Joined: 29 Jan 2006
Posts: 10
mod_rewritePosted: Fri Feb 03, 2006 4:38 pm Post subject:
Me So silly Sad... somethimes i am quick... I am sorry..
Ok I will try again... with care.. and tomorow i will post results.
Back to top
mod_rewrite mod_rewrite
mod_rewrite
Doriat
Mod_Rewrite Admin
mod_rewrite
Joined: 16 Mar 2005
Posts: 323
mod_rewritePosted: Sat Feb 04, 2006 4:40 am Post subject:
That's ok Smile let me if i can assist anyhow.
_________________
Register to request mod_rewrite help
P.S. pay attention to Richard's signature Smile
Back to top
mod_rewrite mod_rewrite
mod_rewrite
Nenad
Mod_Rewrite Newbie
Joined: 29 Jan 2006
Posts: 10
mod_rewritePosted: Sun Feb 05, 2006 1:48 pm Post subject:
Finaly i did it Smile...According to stats google bot is grabbing more bandwith/hits on my forum than ever before...
Maybe I miss something.. time will tell Smile
Thanks Again
Regards Nenad
Back to top
mod_rewrite mod_rewrite
mod_rewrite
Doriat
Mod_Rewrite Admin
mod_rewrite
Joined: 16 Mar 2005
Posts: 323
mod_rewritePosted: Mon Feb 06, 2006 4:57 am Post subject:
this is because there are more pages now to index for google. Smile good job
_________________
Register to request mod_rewrite help
P.S. pay attention to Richard's signature Smile
Back to top
mod_rewrite mod_rewrite
mod_rewrite
Nenad
Mod_Rewrite Newbie
Joined: 29 Jan 2006
Posts: 10
mod_rewritePosted: Mon Feb 06, 2006 4:24 pm Post subject:
Yes i know Wink but I really think tht i miss something..
My opinion is not based on google bandwith boost.. Smile
here is the adress of my forum
http://forum.nacionalnaklasa.net
when i click on new today (novo danas)
http://forum.nacionalnaklasa.net/today.php
and point&click on topic with more than one page (not on page 1 but on page 2,3,4)
url is not changed
example
link to topic
http://forum.nacionalnaklasa.net/topic781.html
link to second page of that topic
http://forum.nacionalnaklasa.net/viewthread.php?tid=781-2.ht...
click on that link results in error...
Back to top
mod_rewrite mod_rewrite
mod_rewrite
Doriat
Mod_Rewrite Admin
mod_rewrite
Joined: 16 Mar 2005
Posts: 323
mod_rewritePosted: Tue Feb 07, 2006 11:35 am Post subject:
oi i see this is pagination - let me fix it - i will post code later.
_________________
Register to request mod_rewrite help
P.S. pay attention to Richard's signature Smile
Back to top
mod_rewrite mod_rewrite
mod_rewrite
Doriat
Mod_Rewrite Admin
mod_rewrite
Joined: 16 Mar 2005
Posts: 323
mod_rewritePosted: Tue Feb 07, 2006 11:46 am Post subject:
Here is the code change you need to do to fix your problem.
OPEN today.php
FIND
Code:
$pagelinks = multi($thread['posts'], $ppp, 0, 'viewthread.php?tid='.$thread['tid']);
REPLACE WITH
Code:
$pagelinks = multi($thread['posts'], $ppp, 0, 'post'.$thread['tid']);
_________________
Register to request mod_rewrite help
P.S. pay attention to Richard's signature Smile
Back to top
mod_rewrite mod_rewrite
mod_rewrite
Nenad
Mod_Rewrite Newbie
Joined: 29 Jan 2006
Posts: 10
mod_rewritePosted: Wed Feb 08, 2006 7:11 pm Post subject:
Wow thanks... I will thry this and tomorrow will post..
Regards Nenad
Back to top
mod_rewrite mod_rewrite
mod_rewrite
Nenad
Mod_Rewrite Newbie
Joined: 29 Jan 2006
Posts: 10
mod_rewritePosted: Thu Feb 09, 2006 5:35 pm Post subject:
Great Job Doriat
Excellent...
I did it Wink now it's ok..
If i Found something else I will post it here (is this ok)
Regards Nenad
Back to top
mod_rewrite mod_rewrite
mod_rewrite
Nenad
Mod_Rewrite Newbie
Joined: 29 Jan 2006
Posts: 10
mod_rewritePosted: Sat Mar 04, 2006 9:50 am Post subject:
Hi again Smile forum works fine... google and other crawlers are usual visitors Smile ....
But I have one problem... Problem that come up in last two days.. revealeed to me by one of members..
description
when i click on Lista Clanova (member list)
http://forum.nacionalnaklasa.net/misc.php?action=list
And try to click on second page for instance...
http://forum.nacionalnaklasa.net/misc.php?action=list&de...
This aint working
it is the same result if i click on other page
for instance page 3
http://forum.nacionalnaklasa.net/misc.php?action=list&de...
It is Maybe related to rewrite of multipage system.. but i do not know how to fix it
old link for second in memberlist area is (for page 2)...
http://forums.nacionalnaklasa.net/misc.php?action=list&d...
and this link works perfectly.....
but only when copy&pasted into the adress bar of my browser (or clicked on it here Smile )
it is the same with page 3
http://forums.nacionalnaklasa.net/misc.php?action=list&d...
Everything else is ok....
Regards Nenad
Back to top
mod_rewrite mod_rewrite
mod_rewrite
Display posts from previous:
Mod_Rewrite [N] Mod_Rewrite Request All times are GMT
Page 1 of 1