Original Message:<br>From: Ray Zimmerman <<a href="mailto:rz10@cornell.edu">rz10@cornell.edu</a>><br>...<br>Isn't this an issue for lots of people? I find I'm always making <br>copies of my site (throw my whole installation in a new directory and
<br>point it to a duplicate of the database) to play around with new <br>features. Doesn't everyone do this? :-) How can I do it without it <br>breaking all the internal links in my content?<br>=============================================
<br><br>Well, it was an issue for me, too. What I ended up doing was a combination of $base_url, .htaccess and relative addressing.<br><br>I found that $base_url was only 1/2 the issue. In addition, I needed a RewriteBase line in my .htaccess file.
<br><br>Finally, I made all of my links relative to the current displayed page. If the current page was <a href="http://www.mysite.com/level1/level2/mypage">www.mysite.com/level1/level2/mypage</a>, then I would crawl up to the root, and then use the other page's true url_alias.
<br><br>This does not work if you have direct links in specific content which shows up on multiple pages at different depths. Luckily, I don't have any of those (see Dashboard for an example of how one node might be used to build another).
<br><br><br>