The absolute (and wrong) paths are in the content generated by WordPress - there's no way to rewrite them with Apache (how would Apache know which blog is meant when a client asks for /wp-content
?).
Modifying the site URL in the WordPress config is the correct path.
For the blog1 instance:
define('WP_SITEURL', 'http://example.com/blog');
For the blog2 instance:
define('WP_SITEURL', 'http://example.com/other-blog');
What have you tried, and what behavior did you see?
Для решения этой проблемы вам может потребоваться переместить ваши установки Wordpress в подкаталог. Сделав это, отредактируйте свои правила перезаписи примерно так:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog1/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog1/index.php [L]
</IfModule>