Different site URL for each theme?
-
Use a different site URL for each theme that Jonradio Multiple Themes switches to without breaking admin bar?
Example: uk.blogpulse.co
Example: us.blogpulse.coFunctions used to create the effect in functions.php,
define(‘WP_HOME’, ‘http://m.blogpulse.co’);
define(‘WP_SITEURL’, ‘http://m.blogpulse.co’);.htaccess,
# BEGIN WordPress
<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{HTTP_HOST} !^blogpulse\.co$ [NC] RewriteRule ^(.*) http://blogpulse.co/$1?%{HTTP_HOST} [R=301,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule># END WordPress
# BEGIN WordPress
<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule># END WordPress
I am trying to recreate this effect with codecentral.org but am unable to do so without breaking the admin bar when Jonradio Multiple Themes switches to another theme.
Does anyone know how this could be done?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
The topic ‘Different site URL for each theme?’ is closed to new replies.