Part of the EllisLab Network
pMachine Pro has been replaced by ExpressionEngine, our full featured web publishing solution. Please consider upgrading.
You can download pMachine Pro here: Download pMachine Pro  |  Download Language Packs
   
 
Profile Recent Comments + Mod-Rewrite
Posted: 14 December 2005 12:20 PM   [ Ignore ]  
Summer Student
Total Posts:  3
Joined  2005-12-08

Hello,

So i’ve create a page (c_o_r_s_h_a_DOT_c_o_m/members/profile/1/) for example ...

Under the “Recent Comments” coluom there is the members most recent comments (well duh) =)

Anywho, those links are displaying like ‘http://www.website.com/tutorial?id=9_0_7_0_C’ and i need to edit that to make them display as ‘http://www.webpage.com/tutorial/9_0_7_0_C/’ - thats how my mod-rewrite is.

So, could someone be kind enough to tell me what file(s) i need to edit to do this? (pm/lib/file?)… Reason i ask is because i’ve spent the past 2 weeks trying to work this out and no-luck. But i belive the files i need to edit are in pm/lib/, and what i thought i would have had to do is simple change ‘?id=’ to ‘/’.

Thanks in advance,
Dan.

Profile
 
 
Posted: 30 December 2005 06:30 AM   [ Ignore ]   [ # 1 ]  
Summer Student
Total Posts:  12
Joined  2005-10-20

in you <root directory>/pm/config.php there is:

// URL REWRITING ------------------------------------------------------
// This variable turns on the search-engine friendly URL feature.
// This feature only works on Apache servers with the mod_mime module.
// In addition to setting this variable, several other steps must
// be taken. PLEASE CONSULT THE MANUAL BEFORE USING THIS FEATURE.
// 1 = on
// 0 = off
   $url_rewriting = 0;

edit

$url_rewriting = 1;

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 233, on December 18, 2007 12:04 AM
Total Registered Members: 61025 Total Logged-in Users: 0
Total Topics: 73808 Total Anonymous Users: 0
Total Replies: 398136 Total Guests: 36
Total Posts: 471944    
Members ( View Memberlist )
Newest Members:  alexwindb-rodMAIDENtreatstruckaungAdrian LeonP.T.Aoochoi2kfantomel
Active Members: