Forum Moderators: coopster
ie. when a visitor views www.mysite.com/user125/ i want the visitor to be redirected to a different page, say www.mysite.com/index.php?user=125.
i would use .htaccess but my server is running ISS and i've been told it doesn't support .htaccess (i have given it a quick try as well).
i can't just use a php or meta redirect because i want each user to think they have their own subdirectory, and there may be a large number of users. is the only way to do this to create a directory in my site, containing a index.php file to redirect them, for each user on registration?
any helps would be gratefully received.
Could you not put a index.php file in each directory and use a meta refresh based on the value of the dir name?
So, in the 'user125' dir have:
<html>
<head>
<title>Redirecting...</title>
<meta http-equiv="refresh" content="0;URL=http://yoursite.com/index.php?user=125">
</head>
<body>
</body>
</html>
dc
well, that is the option if you can't get rewrite, there is a rewrite for IIS I believe it is called ISAPI Rewrite [google.com]