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
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 11-17-2006, 03:15 PM   #1
Juicy D. Links
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: N.Y. -Long Island --
Posts: 122,992
.htaccess

yo

I want to make it so that when users hit

http://www.lickmynuts.com they will be sent to

http://www.lickmynuts.com/testciles/itchy.php


hook it up
Juicy D. Links is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2006, 03:23 PM   #2
Cyber Fucker
Hmm
 
Cyber Fucker's Avatar
 
Industry Role:
Join Date: Sep 2005
Location: On an endless road around the world for rock and roll.
Posts: 12,642
Code:
redirect lickmynuts.com http://www.lickmynuts.com/testciles/itchy.php
But I'm not sure...
__________________
Cyber Fucker is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2006, 03:26 PM   #3
OG LennyT
Wall Street Pimp
 
OG LennyT's Avatar
 
Industry Role:
Join Date: Jun 2003
Location: Phoenix, AZ
Posts: 14,345
setup the redirect URL with your domain service
OG LennyT is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2006, 03:42 PM   #4
TheDoc
Too lazy to set a custom title
 
TheDoc's Avatar
 
Industry Role:
Join Date: Jul 2001
Location: Currently Incognito
Posts: 13,827
Here ya go Juicy

http://www.thedocblog.com/tutorials/...-301-htaccess/
__________________
~TheDoc - ICQ7765825
It's all disambiguation
TheDoc is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2006, 03:43 PM   #5
TheDoc
Too lazy to set a custom title
 
TheDoc's Avatar
 
Industry Role:
Join Date: Jul 2001
Location: Currently Incognito
Posts: 13,827
Or create an index.php file and put it in the root dir of the domain.

Code:
<?php
header("Location: http://www.lickmynuts.com/testciles/itchy.php");
exit;
?>
__________________
~TheDoc - ICQ7765825
It's all disambiguation
TheDoc is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2006, 03:46 PM   #6
StickyGreen
.
 
StickyGreen's Avatar
 
Industry Role:
Join Date: Oct 2003
Posts: 13,076
i use htaccess to block sites...
StickyGreen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2006, 03:48 PM   #7
squishypimp
PostMaster General
 
Join Date: Aug 2006
Posts: 10,781
juiiiccccy
__________________
squishypimp is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2006, 05:10 PM   #8
Kimo
...
 
Join Date: Jan 2006
Location: Maryland ICQ:87038677
Posts: 11,542
lol at that domain name
__________________
...
Kimo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2006, 05:53 PM   #9
_Lush_
Confirmed User
 
_Lush_'s Avatar
 
Industry Role:
Join Date: Jul 2005
Location: GDL Jal.
Posts: 536
or you can do this

Code:
alias index.html http://www.lickmynuts.com/testciles/itchy.php
if your index page is named something else then replace index.html with the proper name
__________________
IcQ 50611033
_Lush_ is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2006, 05:55 PM   #10
marko13
Confirmed User
 
Join Date: Apr 2004
Location: www.lvpshosting.com
Posts: 7,512
you are joking right....
__________________
We are responsible for your hosting ... Enjoy in your life.
Shared hosting from $3.95 Europe Linux VPS plans from $11.37
http://www.LVPSHosting.com
marko13 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2006, 05:58 PM   #11
_Lush_
Confirmed User
 
_Lush_'s Avatar
 
Industry Role:
Join Date: Jul 2005
Location: GDL Jal.
Posts: 536
Quote:
Originally Posted by lushy View Post
or you can do this

Code:
alias index.html http://www.lickmynuts.com/testciles/itchy.php
if your index page is named something else then replace index.html with the proper name

HAHA I meant

Code:
Redirect /index.html http://www.lickmynuts.com/testciles/itchy.php
copied the wrong line from one of my htaccess files
__________________
IcQ 50611033

Last edited by _Lush_; 11-17-2006 at 05:59 PM..
_Lush_ is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2006, 06:00 PM   #12
Cyber Fucker
Hmm
 
Cyber Fucker's Avatar
 
Industry Role:
Join Date: Sep 2005
Location: On an endless road around the world for rock and roll.
Posts: 12,642
Quote:
Originally Posted by lushy View Post
HAHA I meant

Code:
Redirect /index.html http://www.lickmynuts.com/testciles/itchy.php
copied the wrong line from one of my htaccess files
Yup, this should work
__________________
Cyber Fucker is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2006, 06:19 PM   #13
Scroto
Confirmed User
 
Scroto's Avatar
 
Join Date: Nov 2005
Posts: 2,804
why would you want to use htaccess for this?
Scroto is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2006, 07:50 PM   #14
pornpf69
Too lazy to set a custom title
 
pornpf69's Avatar
 
Join Date: Jun 2004
Location: Brasil
Posts: 15,778
Quote:
Originally Posted by TheDoc View Post
Or create an index.php file and put it in the root dir of the domain.

Code:
<?php
header("Location: http://www.lickmynuts.com/testciles/itchy.php");
exit;
?>
that is what I was going to suggest!
pornpf69 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2006, 08:02 PM   #15
StarkReality
Confirmed User
 
StarkReality's Avatar
 
Join Date: May 2004
Location: 4 8 15 16 23 42
Posts: 4,444
Quote:
Originally Posted by lushy View Post
HAHA I meant

Code:
Redirect /index.html http://www.lickmynuts.com/testciles/itchy.php
copied the wrong line from one of my htaccess files
That's the one, although without a status it's a 302 temporary, if you plan to move the page permanently, the code would be:

Code:
Redirect permanent /index.html http://www.lickmynuts.com/testciles/itchy.php
The advantage is that google and other search engines will count all ingoing links of the old index.html and PR towards the new URL...btw, the code below is handy if you want to move a whole site to a new domain:

Code:
Redirect permanent / http://www.newdomain.com/
Just in case google starts hating one of your domains...
StarkReality is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2006, 08:03 PM   #16
marketsmart
HOMICIDAL TROLL KILLER
 
Industry Role:
Join Date: Dec 2004
Location: Sunnybrook Institution for the Criminally Insane
Posts: 20,419
maybe just a meta refresh tag?
marketsmart is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2006, 08:05 PM   #17
StarkReality
Confirmed User
 
StarkReality's Avatar
 
Join Date: May 2004
Location: 4 8 15 16 23 42
Posts: 4,444
Quote:
Originally Posted by TheDoc View Post
Or create an index.php file and put it in the root dir of the domain.

Code:
<?php
header("Location: http://www.lickmynuts.com/testciles/itchy.php");
exit;
?>
Possible, but bad for search engines, they hate php/meta/javascript redirects
StarkReality is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2006, 08:28 PM   #18
gfx3
Confirmed User
 
Join Date: Nov 2005
Posts: 1,685
I think you can do this just from the admin panel your webhost gave you.
__________________
gfx3 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2006, 08:40 PM   #19
mikeet
this & that
 
Industry Role:
Join Date: May 2005
Location: Beer City
Posts: 5,326
Open up your .htaccess file and put this on the first line:

DirectoryIndex /testciles/itchy.php
mikeet is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2006, 08:51 PM   #20
fetishblog
Confirmed User
 
Join Date: Sep 2005
Location: Your mom is my favorite pornstar!#%
Posts: 5,995
Google safe redirect:

http://www.searchenginepromotionhelp...irect-safe.php
__________________

Fling.com doesn't steal your traffic and sales unlike some other dating companies. I promote them, and so should you!
fetishblog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2006, 10:07 PM   #21
TheDoc
Too lazy to set a custom title
 
TheDoc's Avatar
 
Industry Role:
Join Date: Jul 2001
Location: Currently Incognito
Posts: 13,827
I posted a 301 redirect link too, but the php redirect is fine to use for a domain that already redirects. And yes, I understand it may just have been an example site, but you never know.
__________________
~TheDoc - ICQ7765825
It's all disambiguation

Last edited by TheDoc; 11-17-2006 at 10:08 PM..
TheDoc is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2006, 10:11 PM   #22
mlove
the guy
 
mlove's Avatar
 
Industry Role:
Join Date: Apr 2005
Posts: 764
RewriteEngine On
RewriteRule / http://www.lickmynuts.com/testciles/itchy.php [R]

i think that might work but i haven't used mod_rewrite in a while.
__________________
If you won't feel as good, I won't feel as cheap.
mlove is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2006, 11:08 PM   #23
The Sultan Of Smut
Confirmed User
 
The Sultan Of Smut's Avatar
 
Join Date: Dec 2004
Location: Vancouver
Posts: 4,325
Quote:
Originally Posted by mlove View Post
RewriteEngine On
RewriteRule / http://www.lickmynuts.com/testciles/itchy.php [R]

i think that might work but i haven't used mod_rewrite in a while.
[R=301]?

crap 8 char
The Sultan Of Smut is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-18-2006, 01:08 AM   #24
Chariott
Confirmed User
 
Join Date: Nov 2006
Location: http://UUGallery.com http://UUGallery.com http://UUGallery.com http://UUGallery.com http://UUGallery.com http://UUGallery.com
Posts: 361
Never use meta/php/redirect!

Use mod_rewrite. It is only right way to do it all.
I can help you tune it up. I'm experianced in modrewrite.
Just hit my ICQ: 386-430-454 and we will do it in a minute.
Chariott 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



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.