Padgoi Posted July 27, 2007 Share Posted July 27, 2007 I want my homepage to redirect to a folder named Test. So when someone goes to my index.html page, it should automatically redirect them to /Test/new.html. I don't want to use a meta redirect. Can anyone please help me, I'm not sure the correct .htaccess URL rewrite to redirect to this, It's something like this: RewriteEngine on RewriteRule ^index\.html$ new.html But instead of redirecting to new.html, I want it to redirect to /Test/new.html. Any help please? Link to comment https://forums.phpfreaks.com/topic/61973-htaccess-url-rewriting-redirect-question/ Share on other sites More sharing options...
btherl Posted July 27, 2007 Share Posted July 27, 2007 Can you try this: RewriteEngine on RewriteRule ^index\.html$ Test/new.html Link to comment https://forums.phpfreaks.com/topic/61973-htaccess-url-rewriting-redirect-question/#findComment-308638 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.