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 06-10-2013, 12:38 AM   #1
globofun
Buk Lau
 
globofun's Avatar
 
Industry Role:
Join Date: Aug 2005
Location: Rangahan Titomangoyamteerumgae
Posts: 2,651
Redirecting a URL

I've been away from the game for too long and can't remember how to redirect a specific directory to another URL (I had a site with directories, but rebuilt from scratch with subdomains instead....)

from let's say www.mydomain.com/hardcore to www.hardcore.mydomain.com

Any help would be great......can't find anything on G
__________________
Wanna Make Huge Profits?

Listen to me carefully: I will not tell you how to make money in this business and I won't give you a Fucking Link to a sponsor so I can make 5% of nothing....get yourself a Fucking Plan, stick to it, don't be a Lazy Bitch, and you will make money!
globofun is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-10-2013, 12:57 AM   #2
Ferus
Bye - Left to do stuff
 
Industry Role:
Join Date: Feb 2013
Posts: 4,108
Use htaccess

http://stackoverflow.com/questions/1...-with-htaccess
Ferus is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-10-2013, 01:52 AM   #3
seeandsee
Check SIG!
 
seeandsee's Avatar
 
Industry Role:
Join Date: Mar 2006
Location: Europe (Skype: gojkoas)
Posts: 50,945
or redirect via cpanel
__________________
BUY MY SIG - 50$/Year

Contact here
seeandsee is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-10-2013, 02:05 AM   #4
Zeiss
Confirmed User
 
Industry Role:
Join Date: May 2012
Location: With your mom
Posts: 5,189
Depends what web server you run on your server and what kind of access you have to it. Specify that but either way, you basically need to tell your webserver which folder is the root folder for that subdomain. That would do.
__________________


Adult Webmasters Guides
Zeiss is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-10-2013, 07:29 AM   #5
globofun
Buk Lau
 
globofun's Avatar
 
Industry Role:
Join Date: Aug 2005
Location: Rangahan Titomangoyamteerumgae
Posts: 2,651
Tried a few things and still do not get it right......thanks guys
__________________
Wanna Make Huge Profits?

Listen to me carefully: I will not tell you how to make money in this business and I won't give you a Fucking Link to a sponsor so I can make 5% of nothing....get yourself a Fucking Plan, stick to it, don't be a Lazy Bitch, and you will make money!
globofun is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-10-2013, 07:43 AM   #6
Zeiss
Confirmed User
 
Industry Role:
Join Date: May 2012
Location: With your mom
Posts: 5,189
Do what i told you. Or ask your hosting support to do it for you.
__________________


Adult Webmasters Guides
Zeiss is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-10-2013, 09:24 AM   #7
alcstrategy
Confirmed User
 
Industry Role:
Join Date: May 2012
Posts: 124
example based on your example

RewriteRule ^hardcore$ http://hardcore.whatever.com [R]

would take the word "hardcore" in the uri and redirect .
^ is beginning of uri
$ stops
[R] is a forced redirect

http://httpd.apache.org/docs/current...d_rewrite.html mod rewrite docs for other flags, syntax, etc

and for using patterns look up regular expressions reference
alcstrategy 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.