Welcome to Geeklog, Anonymous Saturday, September 07 2024 @ 08:12 pm EDT
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?
ps. sory for language i can't english well - i hope you understend what i want
www.malach.org
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 Can someone help me](http://www.geeklog.net/images/smiles/help.gif)
ps. sory for language i can't english well - i hope you understend what i want
![Wink Wink](http://www.geeklog.net/images/smiles/icon_wink.gif)
www.malach.org
8
6
Quote
Status: offline
Spirit_of_Martin
Forum User
Newbie
Registered: 07/28/05
Posts: 7
enyone help with this problem ??
www.malach.org
![Smile Smile](http://www.geeklog.net/images/smiles/icon_smile.gif)
www.malach.org
6
8
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:
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
yourdomain.com/index.php?topic=blabla to yourdomain.com/topics/blabla:
Text Formatted Code
RewriteEngine OnRewriteRule ^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
10
9
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
www.malach.org
7
11
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
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
7
11
Quote
All times are EDT. The time is now 08:12 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