ricmetal Posted August 10, 2011 Share Posted August 10, 2011 hi guys i just want to remove a folder from an url on the url window in the browser url bar i don't want to redirect anything, just make website.com/folder/file.php appear as website.com/file.php but with no redirections. i'm new to mod_rewrite and have been reading up a bit. my question is do i need to do a redirection or a simple replace will suffice? Link to comment https://forums.phpfreaks.com/topic/244379-removing-folder-from-url/ Share on other sites More sharing options...
trq Posted August 10, 2011 Share Posted August 10, 2011 You can do this with a rewrite not a redirect. Link to comment https://forums.phpfreaks.com/topic/244379-removing-folder-from-url/#findComment-1255158 Share on other sites More sharing options...
ricmetal Posted August 10, 2011 Author Share Posted August 10, 2011 ok, thanks Link to comment https://forums.phpfreaks.com/topic/244379-removing-folder-from-url/#findComment-1255163 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.