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 |
06-09-2016, 10:33 PM | #1 |
Confirmed User
Join Date: Jan 2005
Location: Stockton
Posts: 4,365
|
Anyone know How to mod rewrite this
I have some urls like
Code:
http://sitename.com/folder1/?timestamp=3456789354 Code:
http://sitename.com/folder2/?timestamp=3456789354 Code:
http://sitename.com/folder3/?timestamp=3456789354 I want to remove all /folder#/ so it looks like Code:
http://sitename.com/?timestamp=3456789354 Thanks
__________________
ICQ:268731675 |
06-10-2016, 03:45 AM | #2 |
Too lazy to wipe my ass
Industry Role:
Join Date: Aug 2002
Location: A Public Bathroom
Posts: 38,210
|
Mods + Writing = Bump 4 U... |
06-10-2016, 03:47 AM | #3 |
StraightBro
Industry Role:
Join Date: Aug 2003
Location: Monarch Beach, CA USA
Posts: 56,232
|
<IfModule mod_rewrite.c>
RewriteEngine on RewriteRule ^folder(\d{4}/.*|)$ $1 [L,NC] </IfModule> |