![]() |
![]() |
![]() |
||||
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 |
![]() |
#1 |
Confirmed User
Join Date: Jun 2005
Location: Dutchie !!!
Posts: 2,119
|
Redirect help needed..
I want to make the following redirection:
www.mydomain/folder redirected to: www.mydomain/folder/folder2 But when I use a .htaccess Redirect /folder http://www.mydomain.com/folder/folder1 The server goes into an endless loop. I must be going nuts.. What am I doing wrong ? ![]()
__________________
OMGWTFBBQ |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Jun 2005
Location: Dutchie !!!
Posts: 2,119
|
Can anyone help me out here ?
__________________
OMGWTFBBQ |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: May 2005
Posts: 3,720
|
use meta redirect?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Apr 2002
Location: /root/
Posts: 4,997
|
heh, obviously.
Redirect /folder will redirect all requests, including /folder/folder2 You could redirect using mod_rewrite Code:
RewriteEngine On RewriteCond %{REQUEST_URI} !^/folder/folder2.*$ [NC] RewriteCond %{REQUEST_URI} ^/folder/.*$ [NC] RewriteRule ^(.*) http://www.domain.com/folder/folder2/$1 [R,L] |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
Confirmed User
Join Date: Jun 2005
Location: Dutchie !!!
Posts: 2,119
|
Quote:
![]()
__________________
OMGWTFBBQ |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Confirmed User
Join Date: Jun 2005
Location: Dutchie !!!
Posts: 2,119
|
Quote:
![]()
__________________
OMGWTFBBQ |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Too lazy to set a custom title
Join Date: Jan 2002
Location: Holland
Posts: 9,870
|
in the page < s c r i p t > window.location='the url'< / s c r i p t >
without the spaces
__________________
Don't let greediness blur your vision | You gotta let some shit slide icq - 441-456-888 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
Join Date: Jun 2005
Location: Dutchie !!!
Posts: 2,119
|
Thanks for all help, guys !
Gave Darksoul's option a try, and it worked great.
__________________
OMGWTFBBQ |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
I want an Adult.com Jacket
Industry Role:
Join Date: Jul 2005
Location: Philadelphia Morning
Posts: 318
|
http://www.mydomain/folder/index.php >>
<? header("Location: http://www.mydomain/folder/folder2"); ?> |
![]() |
![]() ![]() ![]() ![]() ![]() |