![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Aug 2002
Posts: 1,844
|
any mod rewrite experts around?
hi
just a quick query for any modrewrite experts around. i have this: RewriteEngine On RewriteBase / RewriteRule ^some-word-(.*)-(.*).htm /category.php?pagenum=$1&catid=$2 so that any urls like some-word-2-1.htm are transfered to the correct page. but what i want is to be able to have wildcards before the word "some". e.g. i want random pages like random-text-some-word-2-3.htm to be transfered correctly too. so in that example i want the random-text part of the url to be ignored because this could be lots of different things. so bascially i need to know how to put a wildcard in the rewrite rule before the word some. some-word-(.*)-(.*).htm anyone got any ideas? thanks in advance |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Aug 2002
Posts: 1,844
|
it's ok i've worked it thanks anyway.
|
![]() |
![]() ![]() ![]() ![]() ![]() |