WebmasterSite.net

Register | Forgot Password

Tags aren't being rewritten

Version: 4.1.4
Example URL: http://www.packetsource.com/tags/dod/
Status: fixed
printPrint
locked


Tags aren't being rewritten
mrowton
Forum Regular
Avatar

Usergroup: Customer
Joined: Feb 19, 2004
Location: Michigan

Total Topics: 59
Total Posts: 189
Posted 10/07/07 - 03:53 PM:
quote post
#1
Edit: I also see the word "Array" in my tag cloud, don't think its supposed to be there

When I click a rewritten tag from the tag cloud on the demo page i get
"No such content exists. The link you are following seems to have been incorrect."

Mine doesn't seem to work either. Note that putting this in my browser does work
search.php?rewritten=1&filled=1&action=filter&whichtype=links&tagscondition=like&tagssearch=MYTAG
and putting this in my browser does NOT work
http://www.packetsource.com/index....laycat&catname=tags/MYTAG/
So i suspect it has to do with rewriting

Here is my htaccess

Options +FollowSymlinks
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+[^/])$ $1/ [R]

RewriteRule ^admin/?$ admin/index.php

RewriteRule ^members/([0-9]+)\.html?$ memberlist.php?rewritten=1&page=$1
RewriteRule ^members/([-_/\+A-Za-z0-9äüößèà ]+)-([0-9]+)-trader\.html?$ trader.php?rewritten=1&id=$2
RewriteRule ^members/([-_/\+A-Za-z0-9äüößèà ]+)-([0-9]+)\.html?$ memberlist.php?rewritten=1&action=profile&id=$2
RewriteRule ^members/?$ memberlist.php?rewritten=1
RewriteRule ^help/?$ help.php?rewritten=1
RewriteRule ^help/([-_/\+A-Za-z0-9äüößèà ]+)/?$ help.php?rewritten=1&action=showcat&name=$1
RewriteRule ^help/([-_/\+A-Za-z0-9äüößèà ]+)/([-_/\+A-Za-z0-9äüößèà ]+)-([0-9]+)\.html?$ help.php?rewritten=1&action=showitem&id=$3

RewriteRule ^[-_/\+A-Za-z0-9äüößèà ]+/[-_/\+A-Za-z0-9äüößèà ]+-([0-9]+)-([0-9]+)\.html$ comments.php?rewritten=1&id=$1&page=$2
RewriteRule ^[-_/\+A-Za-z0-9äüößèà ]+/[-_/\+A-Za-z0-9äüößèà ]+-([0-9]+)\.html$ comments.php?rewritten=1&id=$1
RewriteRule ^[-_/\+A-Za-z0-9äüößèà ]+/[-_/\+A-Za-z0-9äüößèà ]+-([0-9]+)\.html$ link.php?rewritten=1&action=detail&id=$1
RewriteRule ^([0-9]+)/?$ index.php?rewritten=1&action=displaycat&catid=$1
RewriteRule ^([0-9]+)/([0-9]+)/?$ index.php?rewritten=1&action=displaycat&catid=$1&page=$2
RewriteRule ^([0-9]+)/sp([0-9]+).htm$ index.php?rewritten=1&action=displaycat&catname=$1&subpage=$2
RewriteRule ^([-_/\+A-Za-z0-9äüößèà ]+)/?$ index.php?rewritten=1&action=displaycat&catname=$1
RewriteRule ^([-_/\+A-Za-z0-9äüößèà ]+)/([0-9]+)/?$ index.php?rewritten=1&action=displaycat&catname=$1&page=$2

RewriteRule ^tags/([a-zA-Z0-9äüößèà ])/?$ search.php?rewritten=1&filled=1&action=filter&whichtype=links&tagscondition=like&tagssearch=|$1|


Here is the mysql for the landing page:
Load time so far: 0.14 seconds.

Query 2: SELECT `name`,`value` FROM wsnlinks_switches WHERE id>0

Number of rows is 85

Load time so far: 0.14 seconds.

Query 3: SELECT `id`,`type`,`original`,`replacement`,`description`,`originalclose`,`replacementclose`,`sortorder` FROM wsnlinks_markup WHERE type='wsncode' ORDER BY sortorder

Number of rows is 22

Load time so far: 0.15 seconds.

Query 4: SELECT `id`,`title`,`caneditown`,`caneditall`,`canvote`,`isadmin`,`canpost`,`canemail`,`validatecats`,`validatecomments`,`validatelinks`,`validateedits`,`cansubmitlinks`,`cansubmitcategories`,`cansubmitcomments`,`caneditownlinks`,`caneditowncategories`,`caneditowncomments`,`caneditownprofile`,`caneditalllinks`,`caneditallcategories`,`caneditallcomments`,`caneditallprofiles`,`candownloadfiles`,`canupload`,`canviewip`,`limitlinks`,`canemailmembers`,`canusehtml`,`limitlinksdaily`,`canalias`,`cancopy`,`candeleteown`,`candeleteall`,`candofulledit`,`candeletecategories`,`candeletecomments`,`candeleteowncategories`,`candeleteowncomments`,`candeletemembers`,`candeleteownmembers`,`canaliascategories`,`canviewpages`,`caneditvotes`,`numaliases`,`canviewvotes`,`canhideownlinks`,`canhideowncategories`,`canhideowncomments`,`canhidealllinks`,`canhideallcategories`,`canhideallcomments`,`canratecomments`,`bytespermem`,`canpm`,`canim`,`canharddelete`,`limitpms`,`limitpmsdaily`,`canviewdeleted`,`cansubmitpolls`,`candeletepolls`,`candeleteownpolls`,`caneditpolls`,`caneditownpolls`,`attachperpost`,`attachperpm`,`canviewshouts`,`caneditshouts`,`caneditownshouts`,`candeleteshouts`,`candeleteownshouts`,`cansubmitshouts`,`canpollvote`,`customtitle`,`canviewinvisible`,`namestyle`,`canpmimportant`,`canviewmodlog`,`isleader`,`cansubmitquotes`,`validatequotes`,`candeletequotes`,`candeleteownquotes`,`canreport`,`canusesearch`,`attachperlink`,`validateattachments`,`caneditownquotes`,`caneditallquotes`,`canviewchat`,`caneditownevents`,`caneditallevents`,`candeleteownevents`,`candeleteevents`,`cansubmitevents`,`validateevents`,`bulkpms`,`issupermod`,`numinv`,`allowugspec`,`validateemails`,`validatesponsorlinks`,`cansubmittags`,`candeletetags`,`cansubmitfeeds`,`validatefeeds`,`validatefeeditems`,`numaliasestot`,`shoutsperday`,`validatetrader` FROM wsnlinks_membergroups WHERE id>0

Load time so far: 0.16 seconds.

Query 5: SELECT `id`,`name`,`links`,`comments`,`time`,`usergroup`,`password`,`ip`,`totalhits`,`totalhitsin`,`email`,`validated`,`template`,`language`,`lastattempt`,`allowemail`,`signature`,`avatarname`,`stylesheet`,`allowuseremail`,`albumid`,`failedattempts`,`totalbytes`,`funds`,`notifyoflinks`,`lastvisit`,`timezone`,`rating`,`pmfolders`,`notifyofpms`,`acceptpms`,`cookieduration`,`banned`,`location`,`homepage`,`occupation`,`bio`,`aim`,`icq`,`msn`,`yahoo`,`inactive`,`timeonline`,`totalpms`,`buddies`,`ignored`,`isonline`,`acceptims`,`adminpermissions`,`referrer`,`groupreverttime`,`grouprevertto`,`moderationpm`,`secondarygroups`,`linksperpage`,`commentsperpage`,`shouts`,`customtitle`,`shoutban`,`topicbans`,`forumbans`,`visibility`,`birthdate`,`lastsession`,`interests`,`posteditor`,`forumaccess`,`pmpopup`,`pmnotify`,`modnotes`,`guestnotes`,`salt`,`lastmodnote`,`newpms`,`imflag`,`orderalbums`,`lastguestnote`,`autosubscribe`,`notifymethod`,`showavatars`,`showsigs`,`warninglevel`,`topics`,`posts`,`chatcolor`,`traderrating`,`invitessent`,`validatedemail`,`calsub`,`macros`,`guestnotify`,`keychecktime`,`notifykeywords`,`autosubscribepost`,`newemail`,`blogrss`,`blogcache`,`watched`,`positivepct` FROM wsnlinks_members WHERE id=1 AND validated=1

Query 6: LOCK TABLES wsnlinks_email WRITE, wsnlinks_links WRITE, wsnlinks_categories WRITE, wsnlinks_members WRITE

Load time so far: 0.18 seconds.

Query 7: SELECT `id`,`to`,`subject`,`message`,`headers`,`replacement`,`mime` FROM wsnlinks_email WHERE timesent=0 ORDER BY id ASC LIMIT 0,10

Number of rows is 0

Query 8: UNLOCK TABLES

Load time so far: 0.18 seconds.

Query 9: SELECT `id`,`frequency`,`filename`,`nextrun` FROM wsnlinks_crons WHERE nextrun < 1191800133 ORDER BY id ASC LIMIT 0,1

Number of rows is 0

Load time so far: 0.19 seconds.

Query 10: SELECT `id` FROM wsnlinks_categories WHERE validated=1 AND deleted=0 AND name='dod' AND parentnames=', tags, '

Load time so far: 0.35 seconds.

Query 11: SELECT `id`,`memberid`,`location`,`time`,`ip`,`browser`,`starttime`,`catid`,`threadid`,`areaname`,`lastsearch`,`nopermission`,`inchat`,`name`,`isrobot`,`lastchat`,`groupnamestyle`,`acceptims`,`visibility`,`profileurl` FROM wsnlinks_sessions WHERE memberid=1

Number of rows is 1

Load time so far: 0.35 seconds.

Query 12: UPDATE wsnlinks_sessions SET starttime='1191794870', time='1191800133', location='http://www.packetsource.com/index.php?rewritten=1&action=displaycat&catname=tags/dod/', catid='', threadid='', areaname='index.php?rewritten=1&act', nopermission='0', inchat='0', ip='67.177.132.15' WHERE id=54


Edited by mrowton on 10/07/07 - 04:04 PM

http://www.securitypub.com/
Information security articles and papers
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California

Total Topics: 64
Total Posts: 7217
Posted 10/09/07 - 05:55 AM:
quote post
#2
Fixed for 4.1.5, you'll have to resubmit the seo page to get the htaccess regenerated.

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
Search thread for
Download thread as
locked


This thread is closed, so you cannot post a reply.

WSN Links WSN Gallery WSN Knowledge Base WSN Forum WSN Classifieds WSN Directory WSN Software Directory