GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   .htaccess redirects? (https://gfy.com/showthread.php?t=840764)

d-null 07-11-2008 01:13 PM

.htaccess redirects?
 
is it possible to use htaccess to redirect all subdomain requests to the main domain?

example: anyrandomlettersandnumbers.mydomain.com

redirect to: mydomain.com/anyrandomlettersandnumbers/

so in other words, there is no subdomain set up in dns or anything, just the main domain, but I want it so that if someone enters any possible subdomain that it will accept the request and redirect it to a folder in the maindomain of the same name


is that possible?

payd2purv 07-11-2008 01:17 PM

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

Zuzana Designs 07-11-2008 02:40 PM

Hey Jet shot me an e-mail ...

d-null 07-11-2008 03:31 PM

email sent :)

I'm jetjet though, no relation to Jet :1orglaugh

payd2purv 07-11-2008 03:37 PM

Quote:

Originally Posted by jetjet (Post 14450015)
email sent :)

I'm jetjet though, no relation to Jet :1orglaugh

You are never going to live it down.

You might want to think up a name more personal :)

just a punk 07-11-2008 04:04 PM

http://www.htaccesstools.com/


All times are GMT -7. The time now is 03:21 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123