Welcome to Geeklog, Anonymous Thursday, November 28 2024 @ 12:34 pm EST

Geeklog Forums

Mod rewrite and geek 1.3.11


Status: offline

Spirit_of_Martin

Forum User
Newbie
Registered: 07/28/05
Posts: 7
Like in topic, enyone traied to instal mod rewrite http://modrewrite.gldir.com/ in geeklog 1.3.11 ??

I now there is rewrite in config.php, but i want get rewrite exacly like in modrewrite.gldir.com - i test old version, not work in 1.3.11 - can you write how to instal property and paste valid files?
---------------------------------------------------------------------------
If this mod can't be use in geek 1.3.11, how to do rerwite url (example)
http://www.bleble.com/staticpages/index.php/media
to:
http://www.bleble.com/staticpages/media
for staticpages

http://www.bleble.com/index.php?topic=20050216160609693
to:
http://www.bleble.com/topic/media
for topics

and

http://www.bleble.com/article.php/aticle
to:
http://www.bleble.com/article/article
for topics?

Can someone help me

ps. sory for language i can't english well - i hope you understend what i want Wink
www.malach.org
 Quote

Status: offline

Spirit_of_Martin

Forum User
Newbie
Registered: 07/28/05
Posts: 7
enyone help with this problem ?? Smile
www.malach.org
 Quote

Status: offline

beewee

Forum User
Full Member
Registered: 08/05/03
Posts: 969
Location:The Netherlands, where else?
I've just put this in my .htaccess file in the public_html directory, it changes
yourdomain.com/index.php?topic=blabla to yourdomain.com/topics/blabla:

Text Formatted Code
RewriteEngine On
RewriteRule ^topics/(.*) index.php?topic=$1
 


Would that be of any help?
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
 Quote

Status: offline

Spirit_of_Martin

Forum User
Newbie
Registered: 07/28/05
Posts: 7
No in 1.3.11 this not work, perhaps i do something wrong


www.malach.org
 Quote

Status: offline

beewee

Forum User
Full Member
Registered: 08/05/03
Posts: 969
Location:The Netherlands, where else?
I did this .htaccess trick on 2 sites running GL1.3.11SR1 and they work fine. You can adapt the rewrite rule to something else of course.

I did NOT use the rewrite trick from http://modrewrite.gldir.com !

If you know how to rewrite things in a .htaccess file you can rewrite whatever you like. Also have a look at the rewrite guide at the Apache site.
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
 Quote

All times are EST. The time is now 12:34 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content