Re: [PHP] Re: UrlRewrite htaccess confusion

2009-10-29 Thread Ashley Sheridan
On Thu, 2009-10-29 at 11:26 -0400, Rob Gould wrote: You are indeed correct! Absolute URLs for everything, images, css, javascript, and links fixed the issue. Took me forever to change every link in the whole site, but it's happy now. Seems like there ought to be an easier way.

Re: [PHP] Re: UrlRewrite htaccess confusion

2009-10-29 Thread Martin Scotta
You can use a regexp for search and replace in your files. packages.php?category=([^]+)year=([^]+)title=([^]+) The problem is those values are variables on the code. As Shawn said, it is easier to provide some function to create links.If you need to change all links you only change the function

Re: [PHP] Re: UrlRewrite htaccess confusion

2009-10-29 Thread Paul M Foster
On Thu, Oct 29, 2009 at 12:26:10PM -0500, Shawn McKenzie wrote: Rob Gould wrote: You are indeed correct! Absolute URLs for everything, images, css, javascript, and links fixed the issue. Took me forever to change every link in the whole site, but it's happy now. Seems like there ought