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.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 01-05-2008, 10:39 PM   #1
jOE :D
Confirmed User
 
Join Date: Jan 2007
Posts: 185
.htaccess question

I'm trying to rewrite some URL's.

I use this and it works fine:
RewriteRule ^page/(.+)$ index$1.php [nc]

But when I try to use this, it says page not found:
RewriteRule ^page/1$ index.php [nc]

Anyone know what I'm doing wrong?
__________________
Need design work or PHP coding? -> Offbeatideas - What's your idea?
Contact me for all your Predator integration needs!
----------------------------------
My Sites: SpeedySpank (70% ratio - Signup) - Liz Vicious Blog
AIM: practicetitoism | ICQ: 462598451
jOE :D is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-05-2008, 11:02 PM   #2
Malicious Biz
So Fucking Banned
 
Join Date: Mar 2005
Location: Put Shoe On Head Plz
Posts: 4,575
Bump
Malicious Biz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-05-2008, 11:29 PM   #3
jOE :D
Confirmed User
 
Join Date: Jan 2007
Posts: 185
bump for help!
__________________
Need design work or PHP coding? -> Offbeatideas - What's your idea?
Contact me for all your Predator integration needs!
----------------------------------
My Sites: SpeedySpank (70% ratio - Signup) - Liz Vicious Blog
AIM: practicetitoism | ICQ: 462598451
jOE :D is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-05-2008, 11:32 PM   #4
vending_machine
Confirmed User
 
Join Date: Jun 2002
Location: Seattle
Posts: 1,062
What are you trying to accomplish?

Quote:
RewriteRule ^page/1$ index.php [nc]
That will rewrite all reqests from http://yoursite.com/path/page/1 , to http://yoursite.com/path/page/index.php .

Last edited by vending_machine; 01-05-2008 at 11:33 PM.. Reason: typo..
vending_machine is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-05-2008, 11:44 PM   #5
pip
So Fucking Banned
 
Join Date: Nov 2005
Location: Netherlands
Posts: 468
Ya what are you trying to do?
pip is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-05-2008, 11:45 PM   #6
woj
<&(©¿©)&>
 
woj's Avatar
 
Industry Role:
Join Date: Jul 2002
Location: Chicago
Posts: 47,882
you need "RewriteEngine On"
you obviously have that?
__________________
Custom Software Development, email: woj#at#wojfun#.#com to discuss details or skype: wojl2000 or gchat: wojfun or telegram: wojl2000
Affiliate program tools: Hosted Galleries Manager Banner Manager Video Manager
Wordpress Affiliate Plugin Pic/Movie of the Day Fansign Generator Zip Manager
woj is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-05-2008, 11:49 PM   #7
yahoo-xxx-girls.com
Confirmed User
 
yahoo-xxx-girls.com's Avatar
 
Join Date: Jul 2006
Location: Canada
Posts: 3,143
Here you go jOE :D ...

http://www.webweaver.nu/html-tips/web-redirection.shtml

Later,

.
__________________
sig too big
yahoo-xxx-girls.com is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-06-2008, 12:01 AM   #8
jOE :D
Confirmed User
 
Join Date: Jan 2007
Posts: 185
Problem fixed!
__________________
Need design work or PHP coding? -> Offbeatideas - What's your idea?
Contact me for all your Predator integration needs!
----------------------------------
My Sites: SpeedySpank (70% ratio - Signup) - Liz Vicious Blog
AIM: practicetitoism | ICQ: 462598451
jOE :D is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-06-2008, 09:56 AM   #9
Steve Awesome
Confirmed User
 
Steve Awesome's Avatar
 
Industry Role:
Join Date: Jan 2007
Location: Mid-West!
Posts: 1,575
mod_rewrite is a great way to take ugly URLs and turn them into SE optimized friendly URLs. Good to see a thread like this on here.
Steve Awesome is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-06-2008, 10:02 AM   #10
VicD
ICQ: 304-611-162
 
VicD's Avatar
 
Join Date: Feb 2005
Location: Masterdam
Posts: 13,245
Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://xxxxxxxxx.com/$1 [R=301,L]

i use this, works perfect
VicD is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.