g1smd

msg:3898819 | 5:26 pm on Apr 23, 2009 (gmt 0) |
Keep the same URLs 'used on the web' by setting up a rewrite instead of a redirect. That is, when someone requests the URL example.com/folder/somepage your server gets the content from the file at /ext/folder/somepage 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.
|
mayest

msg:3898820 | 5:28 pm on Apr 23, 2009 (gmt 0) |
Check out the Library for the Apache forum [webmasterworld.com] where there are several posts on beginning mod rewrite. 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.
|
dailypress

msg:3898958 | 8:14 pm on Apr 23, 2009 (gmt 0) |
| Keep the same URLs 'used on the web' by setting up a rewrite instead of a redirect. |
| Whats the advantage of doing a rewrite? The disadvantage to that is people may still use the old URL as a backlink. Right?
|
|