March 11, 200917 yr Hi, does anyone know how to do a search engine friendly redirect, so i can redirect users automatically from www.website.com to www.website.com/en thanks ben
March 11, 200917 yr not sure if i am right, but you could use a .htaccess file to manage the redirect and/or create a subfolder called en and redirect your website to it. Sorry i cannot be of more help. .htaccess and redirects confuse me
March 11, 200917 yr Hi, How does this work for you? Create a file called .htaccess and add the following code into it and upload it into the root of your web folder. RewriteEngine on RewriteRule /$ /en/ [L,R=301] You could also try adding the full address instead of just slashes if that doesn't work.
March 11, 200917 yr the host server has to be apache driven for that to work. if the host server is windows based .htaccess won't work. check with your supplier first. ben is there a google friendly alternative to .htaccess for IIS users?
March 11, 200917 yr the host server has to be apache driven for that to work. if the host server is windows based .htaccess won't work. check with your supplier first. ben is there a google friendly alternative to .htaccess for IIS users? i think you just call it htaccess.txt instead of .htaccess
March 12, 200917 yr i think you just call it htaccess.txt instead of .htaccess no, .htaccess is an apache exclusive file. simply renaming it that way won't do anything. just found this, if your server does happen to be running IIS ISAPI Re-Write will allow you to do URL re-writes much the same as using a .htaccess file.
March 12, 200917 yr no, .htaccess is an apache exclusive file. simply renaming it that way won't do anything. just found this, if your server does happen to be running IIS ISAPI Re-Write will allow you to do URL re-writes much the same as using a .htaccess file. Thats cool, i just thought i saw somewhere yesterday that said do it that way. I learn something new everyday
Create an account or sign in to comment