Welcome to WebmasterWorld Guest from 188.8.131.52
Forum Moderators: mack
Is there any easier way?
Now I have other files in my Exmaple.com/ directory and therefore dont want ALL files to be redirected.
Unfortunately moving to /ext/ folder was necessary or else I wouldnt have done it.
Could I list all the URL's in one htaccess?
Please let me know the best way. Any links or threads that I can read more about redirecting and what other people do?
That is, when someone requests the URL
your server gets the content from the file at
without revealing the internal location has changed.
The rewrite is just a couple of lines of code if you're using an Apache webserver.
In the case of using a rewrite, you keep the same URLs in the links on your pages, and people see and use the same URLs they have always used.
You shouldn't need 300 RewriteRule's if you can figure out the regular expressions to capture the file names that you need to rewrite.