Mod_rewrite messing up relative paths
My current URLs look like this:
what I want to start using is:
the rewrite rule I have is:
mod_rewrite isn't the solution. You can brute-force it and make it work, same way you could use pliers to hammer a nail, but really you should fix the links to use absolute URLs.
But I'm surprised: you haven't changed the page "depth", in that it used to be foo.com/1/2 and it's now foo.com/1/2, so that shouldn't have changed anything. Did the old URL use trailing slashes?
The URLs didn't have trailing slashes before, and the page depth thing is what has been puzzling me as well. Guess I'll switch to universal paths.
Have you figured out why they don't work? What URLs does your browser try to fetch?