Welcome to Geeklog Tuesday, May 21 2013 @ 07:55 PM EDT
|
||||||||
![]() |
Forum Index > Extensions > Cool Hacks |
New Topic
|
Post Reply
|
url.class.php hack? |
|||
| Creator |
|
||||||
![]() ![]() ![]() ![]() ![]() Full Member ![]() Status: offline ![]() Registered: 07/11/02 Posts: 181 |
Hi - I was wondering if it was possible to hack the file url.class.php to slightly change the way GeekLog rewrite urls. For example, I don't want it to diplay the .php extension so that the following URL:
http://www.justrage.com/article.php/some_article Would instead be shown as: http://www.justrage.com/article/some_article And things like: http://www.justrage.com/index.php?topic=WorkWrath Would instead be like: http://www.justrage.com/index?topic=WorkWrath Or even better http://www.justrage.com/WorkWrath So is it possible, and if so, what is the code? :-) L. Whitworth |
||||||
|
|||||||
| Dirk |
|
||||||
![]() ![]() ![]() ![]() ![]() Admin ![]() Status: offline ![]() Registered: 01/12/02 Posts: 13027 |
No, that's not possible. You will have to use "real" server-side URL rewriting for this, e.g. in Apache.
bye, Dirk |
||||||
|
|||||||
| Creator |
|
||||||
![]() ![]() ![]() ![]() ![]() Full Member ![]() Status: offline ![]() Registered: 07/11/02 Posts: 181 |
And by that you mean .htaccess magic?
If so then what would the command line be? I've scoured the 'net but haven't found anything like it... L. Whitworth |
||||||
|
|||||||
| Dirk |
|
||||||
![]() ![]() ![]() ![]() ![]() Admin ![]() Status: offline ![]() Registered: 01/12/02 Posts: 13027 |
|||||||
|
|||||||
| Content generated in: 3.24 seconds |
|
|
|