![]() |
Need a little htaccess help..
How can i redirect all nonexisting directories to /index.html?
for example www.mydomain.com/asubdirectory and www.mydomain.com/sub2 dont exist. www.mydomain.com/realdirectory does. how can i redirect /asubdirectory and /sub2 to /, and leave /realdirectory requests alone? ps: if they can be redirected to /index.php?subdomainrequested=$thesubdomain that would be even better :) |
this is a job you should pay someone to figure out.... a man who has skills deserves compensation for his time...
|
i figured this would be a simple error document line in htaccess or redirectmatch
|
well,
ErrorDocument 404 /index.html sorry i was thinking you wanted some crazy mod rewrite |
thanks much
|
can you redirect the request internally so the url doesnt appear to change for the surfer?
|
|
|
All times are GMT -7. The time now is 04:00 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123