PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > How-to Forum

Reply
 
Thread Tools
Old 03-15-2005, 09:59 PM   #1
djavet
Orange Mole
 
Join Date: Jan 2005
Posts: 31
Exclue url variable

Hello

I wish to index my portfolio (4images) and when I index, I've the page (per ex.) detail.php?id=444 That's ok, but I've also detail.php?id=444&mode=search

How can I specify to exclue mode=search?
I use robots.txt but can't find the synthax and think it's not possible.
Couldsomeone help me?

A lot of thx for your replies and time.

Regards;D om

PS: I use phpdig 1.8.7 and can't upgrade.
djavet is offline   Reply With Quote
Old 03-15-2005, 10:04 PM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
In the config file, add mode to the PHPDIG_SESSID_VAR constant.
Code:
define('PHPDIG_SESSID_REMOVE',true);        // remove SIDS or vars from indexed URLS
define('PHPDIG_SESSID_VAR','PHPSESSID,s');  // name of SID or variable to remove
                                            // can be 's' or comma delimited 's,id,var,foo,etc'
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use variable in src tag ravi Coding & Tutorials 1 06-15-2006 07:58 AM
Undefined variable: user_agent noel Bug Tracker 6 10-30-2005 05:32 PM
Variable with the URL in it (in spider.php) link92 How-to Forum 1 08-19-2004 02:14 PM
Undefined Variable: $reg blackfeather Bug Tracker 2 05-01-2004 12:02 PM
Not recognising get variable pages BCVisin Troubleshooting 7 04-15-2004 11:42 PM


All times are GMT -8. The time now is 02:46 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.