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? Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.