Friendly Urls und title

Discuss practical ways rearrange URLs using mod_rewrite.

Friendly Urls und title

Postby Sessiz » Wed Jul 02, 2008 3:02 am

hallo...
ich möchte Friendly URLs

meine site .. portal Php_Nuke 7.6

normal link...


Code: Select all
www.site.com/modules.php?name=Forums&file=viewforum&f=33


ich möcte soo

Code: Select all
www.site.com/forum-f/kurulum-ve-guncelleme.html


Code: Select all
www.site.com/modules.php?name=Forums&file=viewtopic&t=38


Code: Select all
www.site.com/forum-t/admin-panel-sorunu.html


Code: Select all
www.site.com/modules.php?name=Forums&file=viewtopic&p=22


Code: Select all
www.site.com/forum-p/block-yukari-nasil-yapilir.html
Last edited by Sessiz on Fri Jul 04, 2008 10:42 pm, edited 1 time in total.
Sessiz
 
Posts: 6
Joined: Wed Jul 02, 2008 2:55 am

Postby richardk » Wed Jul 02, 2008 7:23 am

FAQ: How to change a numeric ID into a name/title.

It might be easier asking at the PHP_Nuke site. They have probably already done this.
richardk
 
Posts: 8800
Joined: Wed Dec 21, 2005 7:50 am

Postby Sessiz » Wed Jul 02, 2008 10:26 am

No make :(
purely mod_rewrite kode .. ich brauche auch Php_Nuke kode bitte

example mod_rewrite und Php-Nuke kod bitte...

Mod_Rewrite ok .htaccess writer

Php-Nuke kode where writer ?


Code: Select all
'/(?<!\/)modules.php\?name=Search&amp;topic=([0-9]+)/e',
"'(?<!/)modules.php\?name=(Forums\")'",
'/(?<!\/)modules.php\?name=Forums&file=index&c=([0-9]+)([^>]+>)(.*?)<\/a>/e',
'/(?<!\/)modules.php\?name=Forums&file=search&search_id=egosearch/e',
'/(?<!\/)modules.php\?name=Forums&file=search&search_id=unanswered/e',
'/(?<!\/)modules.php\?name=Forums&file=search&search_id=newposts/e',
'/(?<!\/)modules.php\?name=Forums&file=viewforum&f=([0-9]+)((&amp;)|(&)){0,1}topicdays=([0-9]+)((&amp;)|(&)){0,1}start=([0-9]+)/',
'/(?<!\/)modules.php\?name=Forums&file=viewforum&f=([0-9]+)((&amp;)|(&)){0,1}mark=topics/',
'/(?<!\/)modules.php\?name=Forums&file=viewforum&f=([0-9]+)((&amp;)|(&)){0,1}([^>]+>)(.*?)<\/a>/e',
'/(?<!\/)modules.php\?name=Forums&file=viewtopic&p=([0-9]+)((&amp;)|(&)){0,1}([^>]+>)(.*?)<\/a>/e', 
'/(?<!\/)modules.php\?name=Forums&file=viewtopic&t=([0-9]+)((&amp;)|(&)){0,1}postdays=([0-9]+)((&amp;)|(&)){0,1}postorder=(asc|desc)((&amp;)|(&)){0,1}start=([0-9]+)/',
'/(?<!\/)modules.php\?name=Forums&file=viewtopic&t=([0-9]+)((&amp;)|(&)){0,1}start=([0-9]+)((&amp;)|(&)){0,1}postdays=([0-9]+)((&amp;)|(&)){0,1}postorder=(asc|desc)((&amp;)|(&)){0,1}highlight=([À-ÿa-zA-Z0-9_-]*)/',
'/(?<!\/)modules.php\?name=Forums&file=viewtopic&t=([0-9]+)((&amp;)|(&)){0,1}start=([0-9]+)/',
'/(?<!\/)modules.php\?name=Forums&file=viewtopic&t=([0-9]+)((&amp;)|(&)){0,1}([^>]+>)(.*?)<\/a>/e',
'/(?<!\/)modules.php\?name=Forums&file=profile((&amp;)|(&)){0,1}mode=viewprofile((&amp;)|(&)){0,1}u=([À-ÿa-zA-Z0-9_-]*)([^>]+>)(.*?)<\/a>/e',
'/(?<!\/)modules.php\?name=Forums&file=profile((&amp;)|(&)){0,1}mode=editprofile/e',);
Sessiz
 
Posts: 6
Joined: Wed Jul 02, 2008 2:55 am

Postby richardk » Fri Jul 04, 2008 2:09 pm

That isn't mod_rewrite. There is no pure mod_rewrite solution; it will require editing PHP_Nuke.
richardk
 
Posts: 8800
Joined: Wed Dec 21, 2005 7:50 am

Postby Sessiz » Wed Jul 09, 2008 6:26 pm

:(
which page *.php make.. help me

meine page purely Php-Nuke 7.6 make...


whic kode add und where ?

this kode Google Tap kode...

Code: Select all
'/(?<!\/)modules.php\?name=Search&amp;topic=([0-9]+)/e',
"'(?<!/)modules.php\?name=(Forums\")'",
'/(?<!\/)modules.php\?name=Forums&file=index&c=([0-9]+)([^>]+>)(.*?)<\/a>/e',
'/(?<!\/)modules.php\?name=Forums&file=search&search_id=egosearch/e',
'/(?<!\/)modules.php\?name=Forums&file=search&search_id=unanswered/e',
'/(?<!\/)modules.php\?name=Forums&file=search&search_id=newposts/e',
'/(?<!\/)modules.php\?name=Forums&file=viewforum&f=([0-9]+)((&amp;)|(&)){0,1}topicdays=([0-9]+)((&amp;)|(&)){0,1}start=([0-9]+)/',
'/(?<!\/)modules.php\?name=Forums&file=viewforum&f=([0-9]+)((&amp;)|(&)){0,1}mark=topics/',
'/(?<!\/)modules.php\?name=Forums&file=viewforum&f=([0-9]+)((&amp;)|(&)){0,1}([^>]+>)(.*?)<\/a>/e',
'/(?<!\/)modules.php\?name=Forums&file=viewtopic&p=([0-9]+)((&amp;)|(&)){0,1}([^>]+>)(.*?)<\/a>/e', 
'/(?<!\/)modules.php\?name=Forums&file=viewtopic&t=([0-9]+)((&amp;)|(&)){0,1}postdays=([0-9]+)((&amp;)|(&)){0,1}postorder=(asc|desc)((&amp;)|(&)){0,1}start=([0-9]+)/',
'/(?<!\/)modules.php\?name=Forums&file=viewtopic&t=([0-9]+)((&amp;)|(&)){0,1}start=([0-9]+)((&amp;)|(&)){0,1}postdays=([0-9]+)((&amp;)|(&)){0,1}postorder=(asc|desc)((&amp;)|(&)){0,1}highlight=([À-ÿa-zA-Z0-9_-]*)/',
'/(?<!\/)modules.php\?name=Forums&file=viewtopic&t=([0-9]+)((&amp;)|(&)){0,1}start=([0-9]+)/',
'/(?<!\/)modules.php\?name=Forums&file=viewtopic&t=([0-9]+)((&amp;)|(&)){0,1}([^>]+>)(.*?)<\/a>/e',
'/(?<!\/)modules.php\?name=Forums&file=profile((&amp;)|(&)){0,1}mode=viewprofile((&amp;)|(&)){0,1}u=([À-ÿa-zA-Z0-9_-]*)([^>]+>)(.*?)<\/a>/e',
'/(?<!\/)modules.php\?name=Forums&file=profile((&amp;)|(&)){0,1}mode=editprofile/e',)


.htaccess

Code: Select all
# deny most common except .php
<FilesMatch "\.(inc|tpl|h|ihtml|sql|ini|conf|class|bin|spd|theme|module)$">
deny from all
</FilesMatch>

<Limit GET PUT POST>
  Order Allow,Deny
  Allow from all
</Limit>

RewriteEngine on

RewriteRule ^index.html index.php [L]

#Articles
RewriteRule ^sivas-is-yerleri-([0-9]*)-([a-z]*)-([0-9]*)-([0-9]*).html modules.php?name=News&file=article&sid=$1&mode=$2&order=$3&thold=$4 [L]
RewriteRule ^sivas-is-yerleri-([0-9-]*)-([a-z]*)-([0-9]*)-([0-9]*).html([0-9#]*) modules.php?name=News&file=article&thold=$1&mode=$2&order=$3&sid=$4$5 [L]
RewriteRule ^sivas-is-yerleri-baslik([0-9]*)-sayfa([0-9]*).html modules.php?name=News&new_topic=$1&pagenum=$2 [L]
RewriteRule ^sivas-is-yerleri-kategori([0-9]*)-sayfa([0-9]*).html modules.php?name=News&file=categories&op=newindex&catid=$1&pagenum=$2 [L]
RewriteRule ^sivas-is-yerleri-kategori-([0-9]*).html modules.php?name=News&file=categories&op=newindex&catid=$1 [L]
RewriteRule ^sivas-is-yerleri-yazdir-([0-9]*).html modules.php?name=News&file=print&sid=$1 [L]
RewriteRule ^sivas-is-yerleri-arkadas-([0-9]*).html modules.php?name=News&file=friend&op=FriendSend&sid=$1 [L]
RewriteRule ^sivas-is-yerleri-sayfa-([0-9]*).html modules.php?name=News&pagenum=$1 [L]
RewriteRule ^sivas-is-yerleri([1-9][0-9]*).* modules.php?name=News&file=article&sid=$1 [L]
RewriteRule ^sivas-is-yerleri-baslik-([0-9]*).html modules.php?name=News&new_topic=$1 [L]
RewriteRule ^tum-sivas-is-yerleri.html modules.php?name=News&file=allindex [L]
RewriteRule ^sivas-is-yerleri.html modules.php?name=News [L]

#AvantGo
RewriteRule ^avantgo-print-([0-9]*).html modules.php?name=AvantGo&file=print&sid=$1 [L]
RewriteRule ^avantgo.html modules.php?name=AvantGo [L]

#Content
RewriteRule ^icerik_ekle.html modules.php?name=Content&pa=add_page [L]
RewriteRule ^icerik-([0-9]*)-page([0-9]*).html modules.php?name=Content&pa=showpage&pid=$1&page=$2 [L]
RewriteRule ^icerik-kategori-([0-9]*).html modules.php?name=Content&pa=list_pages_categories&cid=$1 [L]
RewriteRule ^icerik-([0-9]*).html modules.php?name=Content&pa=showpage&pid=$1 [L]
RewriteRule ^icerik.html modules.php?name=Content [L]

#Community
RewriteRule ^community-(go|goto|edit|edit_cool|delete|delete_cool)-([0-9]*).html modules.php?name=Community&op=$1&id=$2
RewriteRule ^community-(add_site|show)-([0-9]*).html modules.php?name=Community&op=$1&cid=$2
RewriteRule ^community-add_cool.html modules.php?name=Community&op=add_cool_site
RewriteRule ^community.html modules.php?name=Community

#Downloads
RewriteRule ^dosya-indir-get-([a-zA-Z0-9+]*).html modules.php?name=Downloads&d_op=gfx&random_num=$1 [L]
RewriteRule ^dosya-indir-(comments|details|editorial)-([0-9]*).html modules.php?name=Downloads&d_op=viewdownload$1&lid=$2 [L]
RewriteRule ^dosya-indir-mod-([0-9]*).html modules.php?name=Downloads&d_op=modifydownloadrequest&lid=$1 [L]
RewriteRule ^dosya-indir-broken-([0-9]*).html modules.php?name=Downloads&d_op=brokendownload&lid=$1 [L]
RewriteRule ^dosya-indir-shownew-([0-9]*).html modules.php?name=Downloads&d_op=NewDownloads&newdownloadshowdays=$1 [L]
RewriteRule ^dosya-indir-seldate-([a-zA-Z0-9+]*).html modules.php?name=Downloads&d_op=NewDownloadsDate&selectdate=$1 [L]
RewriteRule ^dosya-indir-file-([0-9]*).html modules.php?name=Downloads&d_op=getit&lid=$1 [L]
RewriteRule ^dosya-indir-rate-([0-9]*).html modules.php?name=Downloads&d_op=ratedownload&lid=$1 [L]
RewriteRule ^dosya-indir-(TopRated|LastUpdated|MostPopular)-([0-9]*)-(num|percent).html modules.php?name=Downloads&d_op=$1&ratenum=$2&ratetype=$3 [L]
RewriteRule ^dosya-indir-(AddDownload|NewDownloads|LastUpdated|MostPopular|TopRated).html modules.php?name=Downloads&d_op=$1 [L]
RewriteRule ^dosya-indir([0-9]*)-orderby([a-zA-Z0-9+]*).html modules.php?name=Downloads&d_op=viewdownload&cid=$1&orderby=$2 [L]
RewriteRule ^dosya-indir([0-9]*)-([0-9]*)-([a-zA-Z0-9+]*)-([0-9]*).html modules.php?name=Downloads&d_op=viewdownload&cid=$1&min=$2&orderby=$3&show=$4 [L]
RewriteRule ^dosya-indir-search-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=]*)-([0-9]*)-([a-zA-Z0-9+]*)-([0-9]*).html modules.php?name=Downloads&d_op=search&query=$1&min=$2&orderby=$3&show=$4 [L]
RewriteRule ^dosya-indir-search-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=]*)-([a-zA-Z0-9+]*).html modules.php?name=Downloads&d_op=search&query=$1&orderby=$2 [L]
RewriteRule ^dosya-indir-search-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=]*).html modules.php?name=Downloads&d_op=search&query=$1 [L]
RewriteRule ^dosya-indir-outside-([0-9]*).html modules.php?name=Downloads&d_op=outsidedownloadsetup&lid=$1 [L]
RewriteRule ^dosya-indir-cat([0-9]*).html modules.php?name=Downloads&d_op=viewdownload&cid=$1 [L]
RewriteRule ^dosya-indir.html modules.php?name=Downloads [L]

#Encyclopedia
RewriteRule ^encyclopedia-([0-9]*)-page([0-9]*)-([a-zA-Z0-9_-]*).html modules.php?name=Encyclopedia&op=content&tid=$1&page=$2&query=$3 [L]
RewriteRule ^encyclopedia-([0-9]*)-page([0-9]*).html modules.php?name=Encyclopedia&op=content&tid=$1&page=$2 [L]
RewriteRule ^encyclopedia-([0-9]*)-([a-zA-Z0-9_-]*).html modules.php?name=Encyclopedia&op=content&tid=$1&query=$2 [L]
RewriteRule ^encyclopedia-([0-9]*).html modules.php?name=Encyclopedia&op=content&tid=$1 [L]
RewriteRule ^encyclopedia-list-([0-9]*).html modules.php?name=Encyclopedia&op=list_content&eid=$1 [L]
RewriteRule ^encyclopedia-terms([0-9]*)-([A-Z]*).html modules.php?name=Encyclopedia&op=terms&eid=$1&ltr=$2 [L]
RewriteRule ^encyclopedia-search-([a-zA-Z0-9_-]*).html modules.php?name=Encyclopedia&file=search&query=$1 [L]
RewriteRule ^encyclopedia-search.html modules.php?name=Encyclopedia&file=search [L]
RewriteRule ^encyclopedia.html modules.php?name=Encyclopedia [L]

#Feedback
RewriteRule ^iletisim.html modules.php?name=Feedback [L]

#FAQ
RewriteRule ^sikca-sorulan-sorular-([0-9]*)-([a-zA-Z0-9\+\&\-\/%[:punct:]\.\;]*).html modules.php?name=FAQ&myfaq=yes&id_cat=$1&categories=$2 [L]
RewriteRule ^sikca-sorulan-sorular.html modules.php?name=FAQ [L]

#Forums

#Start GT-NExtGEn Print Topic Mod Hack Pack
RewriteRule ^forum-printtopic-([0-9]*)-([0-9]*)-([0-9]*)-([0-9]*)-([a-z]*)-([a-z]*)-([0-9]*).html modules.php?name=Forums&file=viewtopic&printertopic=$1&t=$2&start=$3&postdays=$4&postorder=$5&vote=$6&popup=$7
#End GT-NExtGEn Print Topic Mod Hack Pack

#Start of phpBB Photo Addon 2.0.51 Mod Hack Pack
RewriteRule ^falbum-cat-([0-9]*).html modules.php?name=Forums&file=album_cat&cat_id=$1
RewriteRule ^falbum-personal-([0-9]*).html modules.php?name=Forums&file=album_personal&user_id=$1
RewriteRule ^falbum-(edit|delete)-([0-9]*).html modules.php?name=Forums&file=album_$1&pic_id=$2
RewriteRule ^falbum-comment-(edit|delete)-([0-9]*).html modules.php?name=Forums&file=album_comment_$1&comment_id=$2
RewriteRule ^falbum-up-([0-9]*).html modules.php?name=Forums&file=album_upload&cat_id=$1
RewriteRule ^falbum_pic-([0-9]*)-(next|previous).html modules.php?name=Forums&file=album_pic&pic_id=$1&mode=$2
RewriteRule ^falbum-comment-([0-9]*).html([0-9#]*) modules.php?name=Forums&file=album_pic&comment_id=$1$2
RewriteRule ^falbum-pic-([0-9]*).html modules.php?name=Forums&file=album_pic&pic_id=$1
#End of phpBB Photo Addon Mod Hack Pack

#Start GT-NExtGEn Advanced MyCalendar Mod Hack Pack
RewriteRule ^ftopic-([0-9]*)-mycalendar-([0-9]*)_([0-9]*).html modules.php?name=Forums&file=viewtopic&t=$1&back_to_calendar=mycalendar.php&month=$2&year=$3
RewriteRule ^forums-mycalendar-([0-9]*)_([0-9]*)-f([0-9]*)e([0-9]*).html modules.php?name=Forums&file=mycalendar&month=$1&year=$2&forum_id=$3&event_type_id=$4
RewriteRule ^forums-mycalendar-([0-9]*)_([0-9]*).html modules.php?name=Forums&file=mycalendar&month=$1&year=$2
RewriteRule ^ftopic-delete-([0-9]*).html modules.php?name=Forums&file=posting&mode=delete&p=$1&back_to_calendar=
#End GT-NExtGEn Advanced MyCalendar Mod Hack Pack

# Start GT-NExtGEn Ignore Mod Hack Pack
RewriteRule ^forum-ignore-([a-z]*)-([a-zA-Z0-9_-]*)-([0-9]*).html modules.php?name=Forums&file=ignore&mode=$1&username=$2&topic=$3
RewriteRule ^forum-ignore-([a-z]*)-([0-9]*).html modules.php?name=Forums&file=ignore&mode=$1&ignore_id=$2
RewriteRule ^forum-ignore-([a-z]*).html modules.php?name=Forums&file=ignore&mode=$1
RewriteRUle ^forum-ignore.html modules.php?name=Forums&file=ignore
# End GT-NExtGEn Ignore Mod Hack Pack

# Start GT-NExtGEn Glance Mod Hack Pack
RewriteRule ^forum-glance-([0-9]*).html modules.php?name=Forums&file=index&glance_recent_offset=$1
# End GT-NExtGEn Ignore Mod Hack Pack

RewriteRule ^forum-glance-([0-9]*).html modules.php?name=Forums&file=index&glance_recent_offset=$1 [L]
RewriteRule ^ftopic-([0-9]*)-([0-9]*)-days([0-9]*)-order(desc|asc)-([A-Za-z0-9_-]*).html modules.php?name=Forums&file=viewtopic&t=$1&start=$2&postdays=$3&postorder=$4&highlight=$5 [L]
RewriteRule ^ftopic-([0-9]*)-days([0-9]*)-order(desc|asc)-([0-9]*).html modules.php?name=Forums&file=viewtopic&t=$1&postdays=$2&postorder=$3&start=$4 [L]
RewriteRule ^ftopic-([0-9]*)-([0-9]*).html modules.php?name=Forums&file=viewtopic&t=$1&start=$2 [L]
RewriteRule ^ftopic-([0-9]*)-(previous|next).html modules.php?name=Forums&file=viewtopic&t=$1&view=$2 [L]
RewriteRule ^ftopic(t|p)-([0-9]*)-([A-Za-z0-9_-]*).html modules.php?name=Forums&file=viewtopic&$1=$2&highlight=$3 [L]
RewriteRule ^ftopic-([0-9]*)-(watch|unwatch)-([0-9]*).html modules.php?name=Forums&file=viewtopic&t=$1&$2=topic&start=$3 [L]
RewriteRule ^ftopic(t|p)-([0-9]*).html modules.php?name=Forums&file=viewtopic&$1=$2 [L]
RewriteRule ^ftopic(t|p)-([0-9]*).html#([0-9]*) modules.php?name=Forums&file=viewtopic&$1=$2#$3 [L]
RewriteRule ^forum-editprofile.html modules.php?name=Forums&file=profile&mode=editprofile [L]
RewriteRule ^forum-userprofile-([0-9]*).html modules.php?name=Forums&file=profile&mode=viewprofile&u=$1 [L]
RewriteRule ^forum-register-new.html modules.php?name=Forums&file=profile&mode=register&agreed=true [L]
RewriteRule ^forum-register-coppa.html modules.php?name=Forums&file=profile&mode=register&agreed=true&coppa=true [L]
RewriteRule ^forum-register.html modules.php?name=Forums&file=profile&mode=register [L]
RewriteRule ^forums-posting.html modules.php?name=Forums&file=modules&name=Forums&file=posting [L]
RewriteRule ^forum-faq-bbcode.html modules.php?name=Forums&file=faq&mode=bbcode [L]
RewriteRule ^ftopic-post-([0-9]*).html modules.php?name=Forums&file=posting&t=$1 [L]
RewriteRule ^ftopic-vote-([0-9]*).html modules.php?name=Forums&file=posting&mode=vote&t=$1 [L]
RewriteRule ^ftopic-new-([0-9]*).html modules.php?name=Forums&file=posting&mode=newtopic&f=$1 [L]
RewriteRule ^ftopic-reply-([0-9]*).html modules.php?name=Forums&file=posting&mode=reply&t=$1 [L]
RewriteRule ^ftopic-edit-([0-9]*).html modules.php?name=Forums&file=posting&mode=editpost&p=$1 [L]
RewriteRule ^ftopic-smilies.html modules.php?name=Forums&file=posting&mode=smilies&popup=1 [L]
RewriteRule ^ftopic-quote-([0-9]*).html modules.php?name=Forums&file=posting&mode=quote&p=$1 [L]
RewriteRule ^forum-posting.html modules.php?name=Forums&file=posting [L]
RewriteRule ^forums-group([0-9]*).html modules.php?name=Forums&file=groupcp&g=$1 [L]
RewriteRule ^fsearch-author-([a-zA-Z0-9_-]*).html modules.php?name=Forums&file=search&search_author=$1 [L]
RewriteRule ^fsearch-([0-9]*)-([0-9]*).html modules.php?name=Forums&file=search&search_id=$1&start=$2 [L]
RewriteRule ^fsearch-(unanswered|egosearch|newposts).html modules.php?name=Forums&file=search&search_id=$1 [L]
RewriteRule ^fsearch-results.html modules.php?name=Forums&file=search&mode=results [L]
RewriteRule ^fsearch-recent-([0-9]*)days.html modules.php?name=Forums&file=recent&mode=lastXdays&amount_days=$1 [L]
RewriteRule ^fsearch-recent-([a-zA-Z0-9_-]*).html modules.php?name=Forums&file=recent&mode=$1 [L]
RewriteRule ^forums-([^index][a-zA-Z0-9_-]*).html modules.php?name=Forums&file=$1 [L]
RewriteRule ^forum-c([0-9]*).html modules.php?name=Forums&file=index&c=$1 [L]
RewriteRule ^forum-mark.html modules.php?name=Forums&file=index&mark=forums [L]
RewriteRule ^forums.html modules.php?name=Forums&file=index [L]
RewriteRule ^forum-viewonline.html modules.php?name=Forums&file=viewonline [L]
RewriteRule ^forum-([0-9]*)-days([0-9]*)-([0-9]*).html modules.php?name=Forums&file=viewforum&f=$1&topicdays=$2&start=$3 [L]
RewriteRule ^forum-([0-9]*)-([0-9]*).html modules.php?name=Forums&file=viewforum&f=$1&start=$2 [L]
RewriteRule ^forum-([0-9]*)-mark.html modules.php?name=Forums&file=viewforum&f=$1&mark=topics [L]
RewriteRule ^forum-([0-9]*).html modules.php?name=Forums&file=viewforum&f=$1 [L]
RewriteRule ^forums.html modules.php?name=Forums [L]

#ForumNews
RewriteRule ^forumnews.html modules.php?name=ForumNews
RewriteRule ^forumnews-page([0-9]*)-news_id([0-9]*).html modules.php?name=ForumNews&page=$1&news_id=$2
RewriteRule ^forumnews-page([0-9]*).html modules.php?name=ForumNews&page=$1
RewriteRule ^forumnews-id([0-9]*).html modules.php?name=ForumNews&id=$1
RewriteRule ^forumnews-news_id([0-9]*).html modules.php?name=ForumNews&news_id=$1

#Forums_Archive
RewriteRule ^forums_archive.html modules.php?name=Forums_Archive
RewriteRule ^forums_archive-showall.html modules.php?name=Forums_Archive&sa=show_all
RewriteRule ^forums_archive-([0-9]*)-([0-9]*)-([a-zA-Z]*).* modules.php?name=Forums_Archive&sa=show_month&year=$1&month=$2&month_l=$3

#ForumTopics
RewriteRule ^forumtopics.html modules.php?name=ForumTopics

#Gallery
RewriteRule ^gallery-photo_([a-zA-Z0-9_-]*)-([a-zA-Z0-9_-]*).html modules.php?set_albumName=$1&id=$2&op=modload&name=gallery&file=index&include=view_photo.php
RewriteRule ^gallery-album_([a-zA-Z0-9_-]*)-page([0-9]*).html modules.php?set_albumName=$1&op=modload&name=gallery&file=index&include=view_album.php&page=$2
RewriteRule ^gallery-album_([a-zA-Z0-9_-]*).html modules.php?set_albumName=$1&op=modload&name=gallery&file=index&include=view_album.php
RewriteRule ^gallery-page([0-9]*).html modules.php?op=modload&name=gallery&file=index&include=albums.php&set_albumListPage=$1
RewriteRule ^gallery.html modules.php?op=modload&name=gallery&file=index&include=albums.php
RewriteRule ^gallery.html modules.php?name=gallery

#Journal
RewriteRule ^journal-search-([a-zA-Z0-9]*).html modules.php?name=Journal&file=search&bywhat=aid&exact=1&forwhat=$1 [L]
RewriteRule ^journal(search|delete|commentkill)-(bywhat|jid|onwhat)([a-zA-Z0-9]*)-(forwhat|ref)([a-zA-Z0-9]*).html modules.php?name=Journal&file=$1&$2=$3&$4=$5 [L]
RewriteRule ^journal-search-([0-9]*)-([a-zA-Z0-9_-]*).html modules.php?name=Journal&file=search&bywhat=$1&forwhat=$2 [L]
RewriteRule ^journal-([a-zA-Z0-9+]*)-(jid|onwhat|disp|op|disp)-([a-zA-Z0-9+]*).html modules.php?name=Journal&file=$1&$2=$3 [L]
RewriteRule ^journal-edit.html modules.php?name=Journal&file=edit [L]
RewriteRule ^journal(file|op)-([a-zA-Z0-9]*).html modules.php?name=Journal&$1=$2 [L]
RewriteRule ^journal.html modules.php?name=Journal [L]

#Members List
RewriteRule ^uye-listesi.html modules.php?name=Members_List [L]

#NukeC
RewriteRule ^account-logout.html modules.php?name=Your_Account&op=logout
RewriteRule ^account.html modules.php?name=Your_Account
RewriteRule ^messages-post-([0-9]*).html modules.php?name=Private_Messages&file=index&mode=post&u=$1
RewriteRule ^messages.html modules.php?name=Private_Messages
RewriteRule ^send-ad-([0-9]*).html modules.php?name=NukeC&file=friend&id=$1
RewriteRule ^save-ad-([0-9]*).html modules.php?name=NukeC&file=adsbox&op=SaveAds&id_ads=$1
RewriteRule ^edit-ad-([0-9]*).html modules.php?name=NukeC&file=adsbox&op=editposted&id=$1
RewriteRule ^delete-ad-([0-9]*).html modules.php?name=NukeC&file=adsbox&op=deleteads&id=$1
RewriteRule ^email-member-ad-([0-9]*).html modules.php?name=NukeC&file=contact&id=$1
RewriteRule ^advert-disclaimer-([0-9]*).html modules.php?name=NukeC&op=Disclaimer&no=$1
RewriteRule ^advert-view-ads-([0-9]*).html modules.php?name=NukeC&op=ViewAds&id_catg=$1
RewriteRule ^advert-view-category-([0-9]*).html modules.php?name=NukeC&op=ViewCatg&id_catg=$1
RewriteRule ^advert-view-details-([0-9]*).html modules.php?name=NukeC&op=ViewDetail&id_ads=$1
RewriteRule ^advert-comment.html modules.php?name=NukeC&op=SubmitComment
RewriteRule ^view-adverts.html modules.php?name=NukeC&op=viewads
RewriteRule ^popular-adverts.html modules.php?name=NukeC&op=mostpop
RewriteRule ^search-adverts.html modules.php?name=NukeC&file=search
RewriteRule ^adverts-box.html modules.php?name=NukeC&file=adsbox
RewriteRule ^post-advert.html modules.php?name=NukeC&file=postads
RewriteRule ^adverts.html modules.php?name=NukeC

#Private Messages
RewriteRule ^mesaj-yaz-([0-9]*).html modules.php?name=Private_Messages&file=index&mode=post&u=$1 [L]
RewriteRule ^mesaj-yaz-([0-9]*).html modules.php?name=Private_Messages&mode=post&u=$1 [L]
RewriteRule ^mesajlar-yeni.html modules.php?name=Private_Messages&file=index&mode=post [L]
RewriteRule ^mesajlar-(sentbox|inbox|savebox|outbox).html modules.php?name=Private_Messages&file=index&folder=$1 [L]
RewriteRule ^mesajlar.html modules.php?name=Private_Messages [L]

#Recommend Us
RewriteRule ^bizi-onerin.html modules.php?name=Recommend_Us [L]

#Reviews
RewriteRule ^reviews-new.html modules.php?name=Reviews&rop=write_review [L]
RewriteRule ^reviews-preview.html modules.php?name=Reviews&rop=preview_review [L]
RewriteRule ^reviews-([0-9]*)-page([0-9]*).html modules.php?name=Reviews&rop=showcontent&id=$1&page=$2 [L]
RewriteRule ^reviews-([0-9]*).html modules.php?name=Reviews&rop=showcontent&id=$1 [L]
RewriteRule ^reviews-comment-([0-9]*)-([[:punct:]?/:\-\'{}()._&a-zA-Z0-9+=\%]*).* modules.php?name=Reviews&rop=postcomment&id=$1&title=$2 [L]
RewriteRule ^reviews-([0-9]*)-delete.html modules.php?name=Reviews&rop=del_review&id_del=$1 [L]
RewriteRule ^reviews-([0-9]*)-edit.html modules.php?name=Reviews&rop=mod_review&id=$1 [L]
RewriteRule ^reviews-([0-9]*)-delcomment-([0-9]*).html modules.php?name=Reviews&rop=del_comment&cid=$1&id=$2 [L]
RewriteRule ^reviews-([a-zA-Z0-9]*)-orderby-([a-z]*)-([a-zA-Z]*).html modules.php?name=Reviews&rop=$1&field=$2&order=$3 [L]
RewriteRule ^reviews-sortby-([a-zA-Z0-9]*).html modules.php?name=Reviews&rop=$1 [L]
RewriteRule ^reviews.html modules.php?name=Reviews [L]

#Search
RewriteRule ^ara-([a-zA-Z0-9]*)-([0-9]*)-([0-9]*)-([a-zA-Z0-9]*)-([a-zA-Z]*)-([0-9]*).html modules.php?name=Search&author=$1&topic=$2&min=$3&query=$4&type=$5&category=$6 [L]
RewriteRule ^ara-([a-zA-Z0-9]*)-([0-9]*)-([0-9]*)-([a-zA-Z0-9]*)-([a-zA-Z]*).html modules.php?name=Search&author=$1&topic=$2&min=$3&query=$4&type=$5 [L]
RewriteRule ^ara-yazar-([a-zA-Z0-9]*).html modules.php?name=Search&author=$1 [L]
RewriteRule ^ara-([a-zA-Z0-9_-]*)-([a-zA-Z0-9_-]*).html modules.php?name=Search&query=$1&author=$2 [L]
RewriteRule ^ara-([0-9]*).html modules.php?name=Search&query=&topic=$1 [L]
RewriteRule ^ara-kullanici.html modules.php?name=Search&type=users [L]
RewriteRule ^ara.html* modules.php?name=Search [L]

#Sections
RewriteRule ^incelemeler-viewarticle([0-9]*)-page([0-9]*).html modules.php?name=Sections&op=viewarticle&artid=$1&page=$2 [L]
RewriteRule ^incelemeler-(printpage|viewarticle)-([0-9]*).html modules.php?name=Sections&op=$1&artid=$2 [L]
RewriteRule ^incelemeler-listarticles-([0-9]*).html modules.php?name=Sections&op=listarticles&secid=$1 [L]
RewriteRule ^incelemeler.html modules.php?name=Sections [L]

#Statistics
RewriteRule ^istatistikler-([0-9]*)-([0-9]*)-([0-9]*).html modules.php?name=Statistics&op=DailyStats&year=$1&month=$2&date=$3 [L]
RewriteRule ^istatistikler-([0-9]*)-([0-9]*).html modules.php?name=Statistics&op=MonthlyStats&year=$1&month=$2 [L]
RewriteRule ^istatistikler-([0-9]*).html modules.php?name=Statistics&op=YearlyStats&year=$1 [L]
RewriteRule ^sayac.html modules.php?name=Statistics&op=Stats [L]
RewriteRule ^istatistikler.html modules.php?name=Statistics [L]

#Stories Archive
RewriteRule ^is-yeri-arsivi.html modules.php?name=Stories_Archive [L]
RewriteRule ^is-yeri-arsivi-tamamini-goster.html modules.php?name=Stories_Archive&sa=show_all [L]
RewriteRule ^is-yeri-arsivi-([0-9]*)-([0-9]*)-([a-zA-Z]*).* modules.php?name=Stories_Archive&sa=show_month&year=$1&month=$2&month_l=$3 [L]

#Surveys
RewriteRule ^anket-sonuclar-([0-9]*)-([a-z]*)-([0-9]*)-([0-9\-]*).html modules.php?name=Surveys&op=results&pollID=$1&mode=$2&order=$3&thold=$4 [L]
RewriteRule ^anket-sonuclar-([0-9]*).html modules.php?name=Surveys&op=results&pollID=$1 [L]
RewriteRule ^anket-([0-9]*).html modules.php?name=Surveys&pollID=$1 [L]
RewriteRule ^anket-yorum-([0-9]*)-(tid|pid)-([0-9]*)-([a-z]*)-([0-9]*)-([0-9\-]*).html modules.php?name=Surveys&file=comments&pollID=$1&$2=$3&mode=$4&order=$5&thold=$6 [L]
RewriteRule ^anket-yorumu-cevapla-([0-9]*)-([0-9]*)-([a-z]*)-([0-9]*)-([0-9\-]*).html modules.php?name=Surveys&file=comments&op=Reply&pid=$1&pollID=$2&mode=$3&order=$4&thold=$5 [L]
RewriteRule ^anket-cevapla-([0-9]*)-([0-9]*)-([0-9]*)-([a-z]*)-([0-9]*)-([0-9\-]*).html modules.php?name=Surveys&file=comments&op=showreply&tid=$1&pollID=$2&pid=$3&mode=$4&order=$5&thold=$6 [L]
RewriteRule ^anket-cevapla-([0-9]*)-([a-z]*)-([0-9]*)-([0-9\-]*).html modules.php?name=Surveys&file=comments&op=showreply&tid=$1&mode=$2&order=$3&thold=$4 [L]
RewriteRule ^anket-yorumlar.html modules.php?name=Surveys&file=comments [L]
RewriteRule ^anketler.html modules.php?name=Surveys [L]

#Submit_News
RewriteRule ^gonder.html modules.php?name=Submit_News [L]

#Topics
RewriteRule ^kategoriler.html modules.php?name=Topics [L]

#Top10
RewriteRule ^downloadview-details-([0-9]*)-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=]*) modules.php?name=Downloads&d_op=viewdownloaddetails&lid=$1&ttitle=$2
RewriteRule ^kullanici-temasi-([a-zA-Z0-9_-]*).html modules.php?name=Your_Account&amp;theme=$1
RewriteRule ^en-iyi-([a-zA-Z0-9]*).html modules.php?name=Top&amp;zx=$1
RewriteRule ^en-iyi.html modules.php?name=Top

#WebLinks
RewriteRule ^viewlinkcomments-([0-9]+)-([[:punct:]/:\-\'(){}.&=_a-zA-Z0-9\ ]*).html modules.php?name=Web_Links&l_op=viewlinkcomments&lid=$1&ttitle=$2 [L]
RewriteRule ^viewlinkdetails-([0-9]+)-([[:punct:]/:\-\'(){}.&=_a-zA-Z0-9\ ]*).html modules.php?name=Web_Links&l_op=viewlinkdetails&lid=$1&ttitle=$2 [L]
RewriteRule ^vieweditorial-([0-9]+)-([[:punct:]/:\-\'(){}.&=_a-zA-Z0-9\ ]*).html modules.php?name=Web_Links&l_op=viewlinkeditorial&lid=$1&ttitle=$2 [L]
RewriteRule ^modifylink-([0-9]+).html modules.php?name=Web_Links&l_op=modifylinkrequest&lid=$1 [L]
RewriteRule ^brokenlink-([0-9]+).html modules.php?name=Web_Links&l_op=brokenlink&lid=$1 [L]
RewriteRule ^outsidelink-([0-9]+).html modules.php?name=Web_Links&l_op=outsidelinksetup&lid=$1 [L]
RewriteRule ^linkop-(MostPopular|TopRated)-([0-9]+)-(num|percent).html modules.php?name=Web_Links&l_op=$1&ratenum=$2&ratetype=$3 [L]
RewriteRule ^newlinks-([0-9]+).html modules.php\?name=Web_Links&l_op=NewLinks&newlinkshowdays=$1 [L]
RewriteRule ^linksnew-([0-9]+).html modules.php?op=modload&name=Web_Links&file=index&l_op=NewLinksDate&selectdate=$1 [L]
RewriteRule ^linkop-(AddLink|MostPopular|NewLinks|RandomLink|TopRated).html modules.php?op=modload&name=Web_Links&file=index&l_op=$1 [L]
RewriteRule ^ratelink-([0-9]*)-([[:punct:]/:\-\'(){}.&=_a-zA-Z0-9\ ]*).html modules.php?op=modload&name=Web_Links&file=index&l_op=ratelink&lid=$1&ttitle=$2 [L]
RewriteRule ^viewlink-([0-9]*).html modules.php?name=Web_Links&l_op=visit&lid=$1 [L]
RewriteRule ^links-([0-9]*)-([a-zA-Z0-9]*).html modules.php?name=Web_Links&file=index&l_op=viewlink&cid=$1&orderby=$2 [L]
RewriteRule ^links-([0-9]*)-([0-9]*)-([a-zA-Z0-9]*)-([0-9]*).html modules.php?name=Web_Links&file=index&l_op=viewlink&cid=$1&min=$2&orderby=$3&show=$4 [L]
RewriteRule ^link-([0-9]*).html modules.php?name=Web_Links&l_op=viewlink&cid=$1 [L]
RewriteRule ^links-search-([a-zA-Z0-9]*)-([0-9]*)-orderby-([a-zA-Z]*)-([0-9]*) modules.php?name=Web_Links&l_op=search&query=$1&min=$2&orderby=$3&show=$4 [L]
RewriteRule ^links-search-([a-zA-Z0-9_-]*)-orderby-([a-zA-Z]*).html modules.php?name=Web_Links&l_op=search&query=$1&orderby=$2 [L]
RewriteRule ^links-search-([a-zA-Z0-9_-]*).html modules.php?name=Web_Links&l_op=search&query=$1 [L]
RewriteRule ^links.html modules.php?name=Web_Links [L]

#Your Account
RewriteRule ^kullanici-bilgisi-([a-zA-Z0-9_-]*).html modules.php?name=Your_Account&op=userinfo&username=$1 [L]
RewriteRule ^kullanici-hesabi-dur.html modules.php?name=Your_Account&stop=1 [L]
RewriteRule ^hesabiniz-([a-z_]*).html modules.php?name=Your_Account&op=$1 [L]
RewriteRule ^hesabiniz.html modules.php?name=Your_Account [L]

#Script Depository
RewriteRule ^depository.html modules.php?name=Script_Depository [L]

#Classifieds
RewriteRule ^account-logout.html modules.php?name=Your_Account&op=logout [L]
RewriteRule ^account.html modules.php?name=Your_Account [L]
RewriteRule ^messages-post-([0-9]*).html modules.php?name=Private_Messages&file=index&mode=post&u=$1 [L]
RewriteRule ^messages.html modules.php?name=Private_Messages [L]
RewriteRule ^send-ad-([0-9]*).html modules.php?name=Classifieds&file=friend&id=$1 [L]
RewriteRule ^save-ad-([0-9]*).html modules.php?name=Classifieds&file=adsbox&op=SaveAds&id_ads=$1 [L]
RewriteRule ^edit-ad-([0-9]*).html modules.php?name=Classifieds&file=adsbox&op=editposted&id=$1 [L]
RewriteRule ^delete-ad-([0-9]*).html modules.php?name=Classifieds&file=adsbox&op=deleteads&id=$1 [L]
RewriteRule ^email-member-ad-([0-9]*).html modules.php?name=Classifieds&file=contact&id=$1 [L]
RewriteRule ^advert-disclaimer-([0-9]*).html modules.php?name=Classifieds&op=Disclaimer&no=$1 [L]
RewriteRule ^advert-view-ads-([0-9]*).html modules.php?name=Classifieds&op=ViewAds&id_catg=$1 [L]
RewriteRule ^advert-view-category-([0-9]*).html modules.php?name=Classifieds&op=ViewCatg&id_catg=$1 [L]
RewriteRule ^advert-view-details-([0-9]*).html modules.php?name=Classifieds&op=ViewDetail&id_ads=$1 [L]
RewriteRule ^advert-comment.html modules.php?name=Classifieds&op=SubmitComment [L]
RewriteRule ^view-adverts.html modules.php?name=Classifieds&op=viewads [L]
RewriteRule ^popular-adverts.html modules.php?name=Classifieds&op=mostpop [L]
RewriteRule ^search-adverts.html modules.php?name=Classifieds&file=search [L]
RewriteRule ^adverts-box.html modules.php?name=Classifieds&file=adsbox [L]
RewriteRule ^post-advert.html modules.php?name=Classifieds&file=postads [L]
RewriteRule ^adverts.html modules.php?name=Classifieds [L]

#Universal Module
RewriteRule ^universal-id([0-9]*)-sort-([A-Z0-9]*)-([a-zA-Z]*)-page([0-9]*).html modules.php?name=Universal&op=CatIndex&cid=$1&sortletter=$2&orderby=$3&page=$4 [L]
RewriteRule ^universal-id([0-9]*)-order-([a-zA-Z]*)-([A-Z0-9]*).html modules.php?name=Universal&op=CatIndex&cid=$1&orderby=$2&sortletter=$3 [L]
RewriteRule ^universal-id([0-9]*)-order([a-zA-Z]*)-page-([0-9]*).html modules.php?name=Universal&op=CatIndex&cid=$1&orderby=$2&page=$3 [L]
RewriteRule ^universal-id([0-9]*)-order-([a-zA-Z]*).html modules.php?name=Universal&op=CatIndex&cid=$1&orderby=$2 [L]
RewriteRule ^universal-id([0-9]*).html modules.php?name=Universal&op=CatIndex&cid=$1 [L]
RewriteRule ^universal-viewid([0-9]*)-page([0-9]*).html modules.php?name=Universal&op=ViewItems&vid=$1&viewed=1&page=$2 [L]
RewriteRule ^universal-viewed-([0-9]*).html modules.php?name=Universal&op=ViewItems&vid=$1&viewed=1 [L]
RewriteRule ^universal-viewid([0-9]*).html modules.php?name=Universal&op=ViewItems&vid=$1 [L]
RewriteRule ^universal-friend-([a-zA-Z0-9_]*)-([a-zA-Z0-9_\@\.\-]*).html modules.php?name=Universal&file=friend&op=mailsent&fname=$1&femail=$2 [L]
RewriteRule ^universal-friend-([0-9]*).html modules.php?name=Universal&file=friend&op=FriendSend&sid=$1 [L]
RewriteRule ^universal-MostWanted-([0-9]*).html modules.php?name=Universal&op=MostWanted&page=$1 [L]
RewriteRule ^universal-add.html modules.php?name=Universal&file=add&op=request [L]
RewriteRule ^universal-print-id([0-9]*).html modules.php?name=Universal&file=print&sid=$1 [L]
RewriteRule ^universal-modify-id([0-9]*).html modules.php?name=Universal&file=modify&id=$1 [L]
RewriteRule ^universal-(op|file)-(search|TopRated|Random|MostWanted|add|friend|comments|modify)-id([0-9]*).html modules.php?name=Universal&$1=$2&(sid|id)=$3 [L]
RewriteRule ^universal-(op|file)-(search|TopRated|Random|MostWanted|add|friend|comments|modify).html modules.php?name=Universal&$1=$2 [L]
RewriteRule ^universal.html modules.php?name=Universal [L]


example GT-Forums.php

Code: Select all
<?php

$urlin = array(

//Start GT-NExtGEn Print Topic Mod Hack Pack
"'(?<!/)modules.php\?name=Forums&amp;file=viewtopic&amp;printertopic=([0-9]*)&amp;t=([0-9]*)&amp;start=([0-9]*)&amp;postdays=([0-9]*)&amp;postorder=([a-z]*)&amp;vote=([a-z]*)&amp;popup=([0-9]*)'",
//End GT-NExtGEn Print Topic Mod Hack Pack

//Start of phpBB Photo Addon 2.0.51 Mod Hack Pack
"'(?<!/)modules.php\?name=Forums&amp;file=album_cat&amp;cat_id=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=album_personal&amp;user_id=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=album_(edit|delete)&amp;pic_id=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=album_comment_(edit|delete)&amp;comment_id=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=album_upload&amp;cat_id=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=album_pic&amp;pic_id=([0-9]*)&amp;mode=(next|previous)'",
"'(?<!/)modules.php\?name=Forums&amp;file=album_pic&amp;comment_id=([0-9]*)([0-9#]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=album_pic&amp;pic_id=([0-9]*)'",
//End of phpBB Photo Addon Mod Hack Pack

//Start GT-NExtGEn Advanced MyCalendar Mod Hack Pack
"'(?<!/)modules.php\?name=Forums&amp;file=viewtopic&amp;t=([0-9]*)&amp;back_to_calendar=mycalendar.php&amp;month=([0-9]*)&amp;year=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=mycalendar&amp;month=([0-9]*)&amp;year=([0-9]*)&amp;forum_id=([0-9]*)&amp;event_type_id=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=mycalendar&amp;month=([0-9]*)&amp;year=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=posting&amp;mode=quote&amp;p=([0-9]*)&amp;back_to_calendar='",
"'(?<!/)modules.php\?name=Forums&amp;file=posting&amp;mode=editpost&amp;p=([0-9]*)&amp;back_to_calendar='",
"'(?<!/)modules.php\?name=Forums&amp;file=posting&amp;mode=delete&amp;p=([0-9]*)&amp;back_to_calendar='",
//End GT-NExtGEn Advanced MyCalendar Mod Hack Pack

//Start GT-NExtGEn Ignore Mod Hack Pack
"'(?<!/)modules.php\?name=Forums&amp;file=ignore&amp;mode=([a-z]*)&amp;username=([a-zA-Z0-9_-]*)&amp;topic=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=ignore&amp;mode=([a-z]*)&amp;ignore_id=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=ignore&amp;mode=([a-z]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=ignore'",
//End GT-NExtGEn Ignore Mod Hack Pack

//Start GT-NExtGEn Glance Mod Hack Pack
"'(?<!/)modules.php\?name=Forums&amp;file=index&amp;glance_recent_offset=([0-9]*)'",
//End GT-NExtGEn Glance Mod Hack Pack

"'(?<!/)modules.php\?name=Forums&amp;file=index&amp;glance_recent_offset=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=viewtopic&amp;t=([0-9]*)&amp;start=([0-9]*)&amp;postdays=([0-9]*)&amp;postorder=(desc|asc)&amp;highlight=([A-Za-z0-9_-]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=viewtopic&amp;t=([0-9]*)&amp;postdays=([0-9]*)&amp;postorder=(desc|asc)&amp;start=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=viewtopic&amp;t=([0-9]*)&amp;start=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=viewtopic&amp;t=([0-9]*)&amp;view=(previous|next)'",
"'(?<!/)modules.php\?name=Forums&amp;file=viewtopic&amp;(t|p)=([0-9]*)&amp;highlight=([A-Za-z0-9_-]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=viewtopic&amp;t=([0-9]*)&amp;(watch|unwatch)=topic&amp;start=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=viewtopic&amp;(t|p)=([0-9]*)((\")|(&amp;sid=[a-zA-Z0-9]*))'",
"'(?<!/)modules.php\?name=Forums&amp;file=viewtopic&amp;(t|p)=([0-9]*)#([0-9]*)((\")|(&amp;sid=[a-zA-Z0-9]*))'",
"'(?<!/)modules.php\?name=Forums&amp;file=profile&amp;mode=editprofile'",
"'(?<!/)modules.php\?name=Forums&amp;file=profile&amp;mode=viewprofile&amp;u=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=profile&amp;mode=register&amp;agreed=true&amp;coppa=true'",
"'(?<!/)modules.php\?name=Forums&amp;file=profile&amp;mode=register&amp;agreed=true'",
"'(?<!/)modules.php\?name=Forums&amp;file=profile&amp;mode=register'",
"'(?<!/)modules.php\?name=Forums&amp;file=modules&amp;name=Forums&amp;file=posting'",
"'(?<!/)modules.php\?name=Forums&amp;file=faq&amp;mode=bbcode'",
"'(?<!/)modules.php\?name=Forums&amp;file=posting&amp;t=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=posting&amp;mode=vote&amp;t=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=posting&amp;mode=newtopic&amp;f=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=posting&amp;mode=reply&amp;t=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=posting&amp;mode=editpost&amp;p=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=posting&amp;mode=smilies&amp;popup=1'",
"'(?<!/)modules.php\?name=Forums&amp;file=posting&amp;mode=quote&amp;p=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=posting((\")|(&amp;sid=[a-zA-Z0-9]*))'",
"'(?<!/)modules.php\?name=Forums&amp;file=groupcp&amp;g=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=search&amp;search_author=([a-zA-Z0-9_-]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=search&amp;search_id=([0-9]*)&amp;start=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=search&amp;search_id=(unanswered|egosearch|newposts)'",
"'(?<!/)modules.php\?name=Forums&amp;file=search&amp;mode=results'",
"'(?<!/)modules.php\?name=Forums&amp;file=index&amp;c=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=index&amp;mark=forums'",
"'(?<!/)modules.php\?name=Forums&amp;file=viewonline'",
"'(?<!/)modules.php\?name=Forums&amp;file=viewforum&amp;f=([0-9]*)&amp;topicdays=([0-9]*)&amp;start=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=viewforum&amp;f=([0-9]*)&amp;start=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=viewforum&amp;f=([0-9]*)&amp;mark=topics'",
"'(?<!/)modules.php\?name=Forums&amp;file=viewforum&amp;f=([0-9]*)((\")|(&amp;sid=[a-zA-Z0-9]*))'",
"'(?<!/)modules.php\?name=Forums&amp;file=([^index][^recent][a-zA-Z0-9_-]*)((\")|(&amp;sid=[a-zA-Z0-9]*))'",
"'(?<!/)modules.php\?name=Forums&amp;file=index((\")|(&amp;sid=[a-zA-Z0-9]*))'",
"'(?<!/)modules.php\?name=Forums(?!&)'",
"'(?<!/)modules.php\?name=Members_List&amp;file=index((\")|(&amp;sid=[a-zA-Z0-9]*))'",
"'(?<!/)modules.php\?name=Private_Messages&amp;file=index&amp;folder=(savebox|inbox|outbox|sentbox)((\")|(&amp;sid=[a-zA-Z0-9]*))'",
"'(?<!/)modules.php\?name=Private_Messages&amp;file=index&amp;mode=post&amp;u=([0-9]*)'",
"'(?<!/)modules.php\?name=Private_Messages&amp;mode=post&amp;u=([0-9]*)'",
"'(?<!/)modules.php\?name=Your_Account&amp;op=([a-z]*)\"'",
);

$urlout = array(

//Start GT-NExtGEn Print Topic Mod Hack Pack
"forum-printtopic-\\1-\\2-\\3-\\4-\\5-\\6-\\7.html",
//End GT-NExtGEn Print Topic Mod Hack Pack

//Start of phpBB Photo Addon 2.0.51 Mod Hack Pack
"falbum-cat-\\1.html",
"falbum-personal-\\1.html",
"falbum-\\1-\\2.html",
"falbum-comment-\\1-\\2.html",
"falbum-up-\\1.html",
"falbum_pic-\\1-\\2.html",
"falbum-comment-\\1.html\\2",
"falbum-pic-\\1.html",
//End of phpBB Photo Addon Mod Hack Pack

//Start GT-NExtGEn Advanced MyCalendar Mod Hack Pack
"ftopic-\\1-mycalendar-\\2_\\3.html",
"forums-mycalendar-\\1_\\2-f\\3e\\4.html",
"forums-mycalendar-\\1_\\2.html",
"ftopic-quote-\\1.html",
"ftopic-edit-\\1.html",
"ftopic-delete-\\1.html",
//End GT-NExtGEn Advanced MyCalendar Mod Hack Pack

//Start GT-NExtGEn Ignore Mod Hack Pack
"forum-ignore-\\1-\\2-\\3.html",
"forum-ignore-\\1-\\2.html",
"forum-ignore-\\1.html",
"forum-ignore.html",
//End GT-NExtGEn Ignore Mod Hack Pack

//Start GT-NExtGEn Glance Mod Hack Pack
"forum-glance-\\1.html",
//End GT-NExtGEn Glance Mod Hack Pack

"forum-glance-\\1.html",
"ftopic-\\1-\\2-days\\3-order\\4-\\5.html",
"ftopic-\\1-days\\2-order\\3-\\4.html",
"ftopic-\\1-\\2.html",
"ftopic-\\1-\\2.html",
"ftopic\\1-\\2-\\3.html",
"ftopic-\\1-\\2-\\3.html",
"ftopic\\1-\\2.html\\3",
"ftopic\\1-\\2.html#\\3\\4",
"forum-editprofile.html",
"forum-userprofile-\\1.html",
"forum-register-coppa.html",
"forum-register-new.html",
"forum-register.html",
"forums-posting.html",
"forum-faq-bbcode.html",
"ftopic-post-\\1.html",
"ftopic-vote-\\1.html",
"ftopic-new-\\1.html",
"ftopic-reply-\\1.html",
"ftopic-edit-\\1.html",
"ftopic-smilies.html",
"ftopic-quote-\\1.html",
"forum-posting.html\\1",
"forums-group\\1.html",
"fsearch-author-\\1.html",
"fsearch-\\1-\\2.html",
"fsearch-\\1.html",
"fsearch-results.html",
"forum-c\\1.html",
"forum-mark.html",
"forum-viewonline.html",
"forum-\\1-days\\2-\\3.html",
"forum-\\1-\\2.html",
"forum-\\1-mark.html",
"forum-\\1.html\\2",
"forums-\\1.html\\2",
"forums.html\\1",
"forums.html",
"members.html\\1",
"messages-\\1.html\\2",
"messages-post-\\1.html",
"messages-post-\\1.html",
"account-\\1.html\"",
);

?>


so title page..

Code: Select all
www.page.com/Forums-file-viewtopic-t-3.html



ich will soo

Code: Select all
www.page.com/forum-t/bla.bla.html
Sessiz
 
Posts: 6
Joined: Wed Jul 02, 2008 2:55 am


Return to Friendly URLs with Mod_Rewrite

Who is online

Users browsing this forum: No registered users and 124 guests

cron