View Full Version : Help with htaccess work-around

03-07-2007, 06:41 PM
Yahoo will not allow .htaccess files on their servers. I need to have the following htaccess string work, but I don't know how to accomplish this:

RewriteEngine On
RewriteRule ^([^/]{2})/(.*)$ websitetranslator/index.php?lang=$1&url=$2 [L]

websitetranslator is the folder that index.php is in.

I think that the "rewrite rule" is what is critical, but I am not a programmer and have no experience with php.

Can anyone please help me with this?:confused:

Len Whistler
03-07-2007, 09:14 PM
.htaccess has nothing to do with PHP. I would recommend changing your web host.

sir pannels
03-08-2007, 01:00 AM
not really a decent work around for this im afraid :(

if you are considering a fully functional php host, chuck me a pm and il point you in the right direction.