Drupal 7 multi site site specific theme is not working - php

I have created a multi site on Drupal 7. I have mapped it with two different domain namely tom.mydomain.com and jerry.mydomain.com.
Accordingly I have created two separate database namely tomdb and jerrydb and created a respective directory (folders) under the sites directory.
My Current folder structures are mentioned below
drupal/sites/all
drupal/sites/default
drupal/sites/tom.mydomain.com
drupal/sites/jerry.mydomain.com
I have changed the database connection details in the settings.php under the specific folders.
Everything works fine till now.
However, I wanted to use site specific theme and logo for both domain. So I created a theme folders under particular directory. But drupal is not considering the correct theme specific to that particular site. It is everywhere still using the theme from site/all folders.
Would you please suggest why it is not using theme i have created for particular domain?
Thanks in advance.

After you add a multi-site theme under the specific site's directory, for example, drupal/sites/tom.mydomain.com/themes/tom_theme, you need to set that theme as the default theme for your particular site.
This is done in the Admin area under Appearance. See detailed instructions here http://www.inmotionhosting.com/support/edu/drupal-7/customize-theme/change-default-theme
Also just checking you have configured the sites/sites.php file, which maps domains to the particular multisites.
See details here https://www.webwash.net/drupals-multi-site-aliasing-with-sites-php/

Related

Is it possible to use WordPress theme preview as main website source that will work all functions?

I'm new in WordPress
I misunderstand one thing about the theme use in WordPress
For example, I wanna create the as same website as this I purchased this template.
But when I installed the theme in WordPress it shows me the default Index.php file with little info, used my purchased theme
And when I purchased the theme there exist all src files of the above website.
How I can use my purchased src files of website that will work all function for ex: logins with db?
Thanks in advance!!!!
After you purchased the theme, you probably have just installed the theme and haven't created any pages or tweaked any settings. So if you want to get the same look as that of the preview website, you probably have to check whether the developer has provided any dummy data for importing.
Most of the themes listed in ThemeForest would have the option to import dummy data, so that customers would be able to install some pre-made posts, pages, config, etc. This might be there inside the custom settings page(as a single button to download the content) of the theme, or maybe they have provided it in separate XML files for you to import. If the files you have downloaded doesn't have it, make sure you downloaded All files & documentation. Here's a sample screenshot:
My guess is that you might have only downloaded using the Installable WordPress file only option.
If you are still unable to get the dummy data, probably you have to ping the support of that theme asking them to provide the dummy data.

Wordpress ReCapcha

I am currently trying to finish migrating a Wordpress site and have ran into an issue. The recapcha is not set on our temp domain and we currently cannot set it.
Is it possible to disable the invisible recapcha without going into the admin panel? I can't find anything in the database nor in the files.
So if you have use your theme that has template folder, you might get a file called form-template, inside your theme folder. Within the file, there are sets of Input tag that you can delete. But, it depends on what theme and plugin are you using in your WP. Because different theme and plugin has different way to retrieve the input tag template.

How to integrate a wordpress site with Joomla 3.0

I have an established wordpress with a members section and forum, the whole site is being redeveloped but with Joomla 3.0, A lot of the content will have to be just copied and pasted into the new site but the owner of the site wants to keep the old wordpress site up for a while and possible blend it into the newer joomla site with css and styling.
I've tried throwing one site on top of the other and the only two files that collide are the license.txt (that I won't worry about)and the index.php file.
Both sites will work fine if its their index.php but if it's wordpress's index.php the links on joomla will give an error, and if it's Joomla's index.php, any wordpress links will go to the joomla index page.
What is the best way to engineer this to the main index.php will be Joomla ?
Here is the wordpress index.php
<?php
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* #package WordPress
*/
/**
* Tells WordPress to load the WordPress theme and output it.
*
* #var bool
*/
define('WP_USE_THEMES', true);
/** Loads the WordPress Environment and Template */
require('./wp-blog-header.php')
Thanks
1st thing I want to mention here is having two separate cmss' in a directory is a bad idea. If had searched a bit on google you would find this helpful.
JConverter
As the name suggests, JConverter allows you to convert your WordPress
blog into a Joomla site. It can import users, blog posts, categories,
pages and even links from your WordPress blog to Joomla.
If you are not sure about the quality you can start reading the comments.
Advice
have a separate folder for two cmss and use a .htacess file to get the job done. You can find tons of articles explaining how it should be done.
After thinking about it here are the options I think I have
Option 1)
Both Wordpress and and Joomla can coexist on the same root folder, the only files where there is a conflict would be the index.php (and some license text file) and this could be engineered in such a way to work, but having 2 content management systems on the same domain root isn't a great idea in the long term as the root domain has loads of files there and updates and security patches in the future, it's open to something going wrong.
Option 2)
Put the new Joomla site on the root and then move the older site into another folder then use apache rewrite and an .htaccess file that would rewrite the location of the word press files and thus keep the original links
Option 3)
There is a component of Joomla called wordpress for Joomla which makes Wordpress a part of Joomla and would keep all the links of the original, But it's designed for people who have a Joomla site and want a dedicated blogging tool like Wordpress, not the other way round. I was talking to the developers and there unsure if this would work the other way round and then there's plugins ect to think about.
Option 4)
Leave the the current wordpress site in the same position and upload the new site to a new folder called /en/ (As in an english version)
Option 5)
JConverter still only in beta
I'm going with option 4:)
Why would you keep both sites? That just means duplicate content and is going to stop the new version of the site from ranking. The best option in my opinion is ditching your old site and making sure the URL either are the same (which can be achieved with a SEF component such as sh404sef) or use 301 redirects to your new URLs which will tell Google the URL has permanently changed.

wordpress multisite from exsiting 4 wordpress directory install

I need help in changing multiple wordpress instances installed in distinct subdirectories into a single wordpress installation with multisite activation. Let me explain my problem briefly:
example.com is my domain Hostgator shared hosting
example.com/ - Homepage as index.php my own designed php file
examole.com/university/ - wordpress 1st installation
example.com/school/ - wordpress 2nd installation
example.com/exam/ - wordpress 3rd installation
The reason why Idid this is I need different menus on each directory sites. I found no option t odo this in single wordpress.
Now I went through an article about wordpress multisite ; can I migrate all wordpress instances into a single wordpress with same folder having same site and contents ?
I currently have 200 posts on each wordpress and I don't want to lose the SERP results.
Is it possible to do without any effects and for all those sites ? I am the only admin.
Were I can have different menus and themes for each site on wordpress multisite ?
How to convert this in simple beginner level steps?
You can do it , but before you need to get backup for the all websites, also import all your posts from all the wordpress installation
Create a Network in your main domain , for your reference Create_Network
Then create your child website, based on the
Sub-domains — a domain-based network in which on-demand sites use subdomains
Sub-directories — a path-based network in which on-demand sites use paths
so your child website should be like
examole.com/university
example.com/school
example.com/exam
Once you have successfully created your child websites then there would be a separate wp-admin for each child websites in your Main wp-admin, once you get logged in as admin ,
At the left of your WordPress toolbar, My Sites is now the second item. There, all your sites are listed, with handy fly-out menus, as well as a Network Admin menu item. Under Network Admin you can use the Dashboard item to go to the Network Dashboard screen.
then you can import your posts (already exported from your old websites) on each child webistes as possible ,
Hope this is enough to do it

Wordpress and Mybb

Yes I know that there is a plug in to bridge the two, but I want to keep them separate. Basically I want the nav menu in wordpress to point to a sub domain or a folder with the mybb forums. Everyone keeps telling me to use the plug in. Also if you add folders to wordpress, will it not just give you errors that those pages do not exist? So is a subdomain the best choice?
It's completely fine to keep the two separate without using the bridge. If you want a link to MyBB from a Wordpress menu, you can add it in the Admin Panel -> Appearance -> Menus, add a Custom Link to your forum URL.
By default, the .htaccess file in Wordpress will not rewrite URLs any folders/files that exist on the server. So it is possible to have MyBB as a subfolder in your Wordpress installation. However, it may be cleaner and easier to maintain if you have it on a separate subdomain.

Categories