[Resolved] Please help me set up a network, redirect problems
The only reason I’m doing a network is because I want to share WordPress users and plugin data with a mobile version of my site. So if a user signs up on my mysite.com, they are also a member of mobile.mysite.com (and vice versa). And if they rate something on the .com, the rating will also be on the mobile site (using a rating plugin). Is a network the only way to achieve this? I’ve been pulling my hair out for 4 hours and I can’t get the multisite set up.
riptest.info (this is my test domain I’m testing this on)
Here are my steps:
1. Deleted all plugins
2. Changed to default Twenty Twelve theme
3. Changed the siteurl and home url in database to no “www”
4. Created a vhost.conf file in riptest.info/conf/ with this in it
ServerAlias "*.riptest.info" <Directory /var/www/vhosts/riptest.info/> AllowOverride FileInfo Options php_admin_flag safe_mode off </Directory>
5. Added *.riptest.info. CNAME riptest.info. to the DNS of riptest.info domain
define( 'WP_ALLOW_MULTISITE', true );to wp-config
Then I click “Install”, it does it’s thing for 15 seconds and the following page (network.php) is blank, when I view source I can see there is content but the area is white. So I click Tools>Network Setup again and it takes me to the page to copy/paste the stuff to wp-config and htaccess.
I copy and paste what it tells me to into wp-config and htaccess except I change
define('SUBDOMAIN_INSTALL', false);to TRUE. I upload the two files, click the log in button on WordPress and it takes me to “http://www.riptest.info/wp-signup.php?new=www.riptest.info” and I get a redirect loop.
I’m wondering if this is a problem with my httpd.conf file in my etc/httpd/conf/ folder, I open httpd.conf and the virtualhost is green (commented out). Could this be the problem?
# VirtualHost example: # Almost any Apache directive may go into a VirtualHost container. # The first VirtualHost section is used for requests without a known # server name. # #<VirtualHost *:80> # ServerAdmin email@example.com # DocumentRoot /www/docs/dummy-host.example.com # ServerName dummy-host.example.com # ErrorLog logs/dummy-host.example.com-error_log # CustomLog logs/dummy-host.example.com-access_log common #</VirtualHost>
- The topic ‘[Resolved] Please help me set up a network, redirect problems’ is closed to new replies.