Rewriting the Geeklog Story Submit urls - Mod Rewrite Geeklog Monday, May 12 2008 @ 12:33 AM  
contribute |  web resources |  past polls |  calendar |  advanced search |  site statistics |   
Topics
Home
General News (5/0)
Articles (1/3)
CommentArticle (1/0)
Display (1/0)
LinksCategory (1/0)
Linksportal (1/0)
Pollbooth (1/0)
Print (1/0)
ProfilesEmail (1/0)
SearchAuthor (1/0)
SearchTopic (1/0)
Submit (1/1)
Topics (2/0)
UserAdmin (1/0)
UserProfile (1/0)

User Functions
Username:

Password:

Don't have an account yet? Sign up as a New User

Events
There are no upcoming events

Geeklog Sites Using Mod Rewrite
Childrens Books
Gardening Tips
Natural Health Treatments
UK Pubs and Clubs
Wireless Phones
Webmasters


Rewriting the Geeklog Story Submit urls   
Saturday, September 11 2004 @ 01:30 PM
Contributed by: Admin

There are 2 different urls that are used for users to contribute articles, so i hacked every mention of "/submit.php?type=story" and "/submit.php?type=story&topic=topicname"
into
/submit/story/
and
/submit/story/topicname/
Then created a new folder called submit and then created a .htaccess document in this new folder. the Mod_Rewrite rules in this doc are:

RewriteBase /submit/
RewriteEngine on
RewriteRule ^(.*)/(.*)/$ /submit.php?type=$1&topic=$2 [NC,L]
RewriteRule ^(.*)/$ /submit.php?type=$1 [NC,L]

  [ Views: 611 ]  


Rewriting the Geeklog Story Submit urls | 0 comments | Create New Account
The following comments are owned by whomever posted them. This site is not responsible for what they say.
What's Related
  • More by Admin
  • More from Submit

  • Story Options
  • Mail Story to a Friend
  • Printable Story Format


  • Created this page in 0.14 seconds


    Geeklog 1.3.9.1 Rewritten by Mod Rewrite Gldir

     Copyright © 2008 Mod Rewrite Geeklog
     All trademarks and copyrights on this page are owned by their respective owners.

    Powered By