In your example case, won't the absolute URLs (with the domain name) break also?
When moving to another domain there is a search and replace of some sort to be done anyways, or is my logic incorrect here?
But I also think that absolute URLs are better than the relative ones. Sometimes, for example, I want to find out which places refer to some page. Grepping for "index.php" is quite meaningless. Ok, in a dynamic environment with concatenated paths and so on it tricky also, but impossible with the relative URLs.
General developer forum
why is moodle storing full urls in the database
This discussion has been locked so you can no longer reply to it.