Sign up ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I installed Ubuntu 10.4 then I installed Bitnami LAMP stack then I installed bitnami wordpress module then I tried to make the site into a multisite by following these instructions:


I can elaborate if needed: I enabled multisite in my wp-config.php file. Then I created a network using the wordpress dashboard. I was given two blocks of text to copy and paste 1 block into my wp-config.php file and one into my .htaccess file. I did that and now I get this:

When I go to my I get this (this was there before I switched to multisite):

before switch

If I go to I get this (this used to be a functioning wordpress theme):


If I click on "My Blog" it redirects to (where the "1" came from I have no idea)

If I try to login by going to I get this:


and if I enter my user and password it redirects me to and gives me "Not Found" The requested URL /wp-login.php was not found on this server.

NameVirtualHost *:80
    <VirtualHost *:80>
    DocumentRoot /opt/lampstack-5.3.16-0/apps/wordpress
share|improve this question

migrated from Sep 27 '12 at 0:49

This question came from our site for computer enthusiasts and power users.

1 Answer 1

I don't have experience with bitnami so I don't know how it changes the apache configuration but I would say the problem is the domain mapping. maps to lets say /var/www/mywebsite but your wordpress is installed in /var/www/mywebsite/wordpress so the url to it isn't but and when you login it redirects you to beacuse in the dashboard you set the site address as and not

I would say you have two options:

You can change the site address that you entered in dashboard throuhg mysql in table wp-options, the siteurl value (you can do that thorugh phpMyAdmin if it is installed on the machine)


Change the document root for in you Virtual host to the directory where wordpress is installed (you just add /wordpress to the end) (VirtualHost examples if you're begginer with them)

share|improve this answer
My wordpress folder is located in /opt/lampstack-5.3.16-0/apps/wordpress... I am going to try to follow this guide to fix it:… – piratepartypumpkin Sep 26 '12 at 19:59
Yes that changes the siteurl value in wp-options table – Alen Sep 26 '12 at 20:01
Well, I tried to follow those instructions from that website and it's telling me that 'mysql' is not installed. But when I run the command restart mysql, it does just that, it stops mysql, then starts it. So I'm pretty sure I have mysql installed. Furthermore, I have tried to do this through the wp-config.php file by changing define('WP_SITEURL','http://'.$_SERVER['HTTP_HOST'].'/wordpress'); and define('WP_HOME','http://.$_SERVER['HTTP_HOST'].'/wordpress'); to: define('WP_SITEURL',''); and define('WP_HOME',''); to no avail – piratepartypumpkin Sep 26 '12 at 20:14
I also tried to set define('WP_HOME',''); and define('WP_SITEURL',''); and that didn't work either. So basically, right now I am stuck at mysql not being recognized – piratepartypumpkin Sep 26 '12 at 20:17
wp-login.php i think redirects to siteurl values from mysql not the wp-config.php but I'm not sure about that. I suggest you put wp-config.php back to original values and try to change the virtual host for – Alen Sep 26 '12 at 20:20

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.