AceDude Posted February 11, 2008 Share Posted February 11, 2008 At first - sorry for my english. It's hard to explain that I want to do... I have my main site content in a subfolder portal. What I want to do - in simpliest words: If I go to site something.com I will see something.com/portal/ Code that i've made: RewriteRule ^([^/]*)$ portal/$1 It's almost OK, but it redirect folders in wrong way - example: I have my images in folder img (its under folder portal), and when i go to something.com - it redirects me to something.com/portal/images, not to something.com/images. Can you help me? Link to comment https://forums.phpfreaks.com/topic/90486-really-hard-to-make-thing-root-contents-from-diff-directory/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.