Kayako logo
Developers & Code Interested in customizing your Kayako products? Discuss modifications and develop your own mods with the community.

Kayako develops robust helpdesk software, live chat and real-time visitor monitoring software.
Kayako is trusted by more than 30,000 organizations, including a number of Fortune 500 companies and government institutions.
Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  (#1) Old
Carl Silver Offline
Member
 
Carl Silver's Avatar
 
Posts: 131
Join Date: May 2007
Location: UK
mod_rewrite - 07-02-2008, 12:17 PM

Just wondered how easy it would be to make one for support suite?

I hate having to send out ugly URL's on emails and tickets to customers

Perhaps take this:
Quote:
http://www.domain.com/support/index.php?_m=downloads&_a=viewdownload&downloadite mid=68&nav=0
and turn it into this:
Quote:
http://www.domain.com/support/download/68/
or
Quote:
http://www.domain.com/support/download/name-of-file/


Leapfrog AVIT Ltd - http://hosting.leapfrogavit.com
Shared Linux Hosting, Virtual Servers, Dedicated Servers, Domain Registration
MSN: carl.silver[AT]leapfrogavit[DOT]com

Last edited by Carl Silver; 07-02-2008 at 12:19 PM.
   
Reply With Quote
  (#2) Old
craigbrass Offline
Senior Member
 
Posts: 7,541
Join Date: Jun 2005
Location: Cumbria, UK
07-02-2008, 01:10 PM

I think this is planned for V4.


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Click here for Kayako Software Development

My Addons: BlackBerry Ticket Client for Kayako - Windows Mobile Live Support Client for Kayako
   
Reply With Quote
  (#3) Old
Carl Silver Offline
Member
 
Carl Silver's Avatar
 
Posts: 131
Join Date: May 2007
Location: UK
07-02-2008, 01:18 PM

any chance of getting this of v3 ?


Leapfrog AVIT Ltd - http://hosting.leapfrogavit.com
Shared Linux Hosting, Virtual Servers, Dedicated Servers, Domain Registration
MSN: carl.silver[AT]leapfrogavit[DOT]com
   
Reply With Quote
  (#4) Old
Carl Silver Offline
Member
 
Carl Silver's Avatar
 
Posts: 131
Join Date: May 2007
Location: UK
07-02-2008, 03:37 PM

i thought i would take a bash at this myself, here is what i got:

Quote:
RewriteEngine On
RewriteRule ^([^/]*)/([^/]*)\.html$ /support/index.php?_m=downloads&_a=$1&downloaditemid=$2 [L]
but my URL's are still showing as: /support/index.php?_m=downloads&_a=viewdownload&downloadite mid=1

any ideas?

i have the .htaccess in my site root


Leapfrog AVIT Ltd - http://hosting.leapfrogavit.com
Shared Linux Hosting, Virtual Servers, Dedicated Servers, Domain Registration
MSN: carl.silver[AT]leapfrogavit[DOT]com

Last edited by Carl Silver; 07-02-2008 at 03:39 PM.
   
Reply With Quote
  (#5) Old
Jamie Edwards Offline
Operations Manager
 
Jamie Edwards's Avatar
 
Posts: 7,362
Join Date: Jan 2006
Location: England, UK
07-02-2008, 03:39 PM

Hi Carl,

Mod_Rewrite doesn't go and change all of the URLs on your site. What happens is, when someone tries:

support.yoursite/downloads/1

It mod_rewrites the URL to:

support.yoursite/index.php?_m=downloads&_a=viewdownload&1


Jamie Edwards (jamie.edwards ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
  (#6) Old
craigbrass Offline
Senior Member
 
Posts: 7,541
Join Date: Jun 2005
Location: Cumbria, UK
07-02-2008, 03:48 PM

Yes, you will need to manually change the code in some areas of Kayako to link to the rewritten URL.


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Click here for Kayako Software Development

My Addons: BlackBerry Ticket Client for Kayako - Windows Mobile Live Support Client for Kayako
   
Reply With Quote
  (#7) Old
Carl Silver Offline
Member
 
Carl Silver's Avatar
 
Posts: 131
Join Date: May 2007
Location: UK
07-02-2008, 03:50 PM

aaah i see. but how have kayako done it then?

Quote:
http://forums.kayako.com/f48/mod_rewrite-15558-post71539/
basically i want this:
Quote:
/support/index.php?_m=downloads&_a=viewdownload&downloadite mid=3&nav=0,1,2
to turn into this:
Quote:
/support/downloads/3.html
EDIT:
Quote:
Originally Posted by craigbrass View Post
Yes, you will need to manually change the code in some areas of Kayako to link to the rewritten URL.
ah i see - any pointers?


Leapfrog AVIT Ltd - http://hosting.leapfrogavit.com
Shared Linux Hosting, Virtual Servers, Dedicated Servers, Domain Registration
MSN: carl.silver[AT]leapfrogavit[DOT]com

Last edited by Carl Silver; 07-02-2008 at 03:53 PM.
   
Reply With Quote
  (#8) Old
craigbrass Offline
Senior Member
 
Posts: 7,541
Join Date: Jun 2005
Location: Cumbria, UK
07-02-2008, 03:57 PM

The forum (vBulletin) has a plugin installed to do this.

Unfortunatly it would be no easy task, especially if you wish to do it for tickets. I suggest you get something like PS Pad and then use the search files / folders tool to find files that contain what the old url contained so you can then change it.


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Click here for Kayako Software Development

My Addons: BlackBerry Ticket Client for Kayako - Windows Mobile Live Support Client for Kayako
   
Reply With Quote
  (#9) Old
Jamie Edwards Offline
Operations Manager
 
Jamie Edwards's Avatar
 
Posts: 7,362
Join Date: Jan 2006
Location: England, UK
08-02-2008, 12:35 PM

Hi Carl,

You may be interested in this thread, where someone is offering to sell the module to do this:
http://forums.kayako.com/f52/paid-search-engine-optimization-module-esupport-support-suite-11627/

And this thread, which is the current feature request thread for the functionality:
http://forums.kayako.com/f120/system...ly-urls-11098/


Jamie Edwards (jamie.edwards ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
  (#10) Old
Carl Silver Offline
Member
 
Carl Silver's Avatar
 
Posts: 131
Join Date: May 2007
Location: UK
17-03-2008, 04:57 PM

Thanks Jamie


Leapfrog AVIT Ltd - http://hosting.leapfrogavit.com
Shared Linux Hosting, Virtual Servers, Dedicated Servers, Domain Registration
MSN: carl.silver[AT]leapfrogavit[DOT]com
   
Reply With Quote
Reply

Tags
modrewrite

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78