Using Bitnami WordPress installer, I want to install WordPress in the root directory, instead of /wordpress directory.
(Or rather, move the WordPress website to the root directory after the installation.)
I attempted to follow somewhat dated instructions I found here:
http://bitnami.com/forums/forums/wordpress/topics/installing-to-root-folder-not-sub-folder
But I couldn't even complete the very first step because URL settings are grayed-out in the Settings panel. Also, the DocumentRoot value is very different from what is described. I think it's because the WordPress has greatly changed since 2010.
Could someone knowledgeable please help with this?
Wordpress hasn't changed much since it was initially released 10 years ago or whenever it was.
Currently: Wordpress is installed in var/www/html/wordpress/[all the wp files are in this folder]
You want: Wordpress to be installed var/www/html/[all the wp files are in this folder]
1: Via ssh or ftp copy the files
From: var/www/html/wordpress To: var/www/html
2: In phpmyadmin > wp_options > first row > remove wordpress from the url.
3: there is another entry of the url on the second page of the wp_options table. Change the url there too.
Related
I have an OpenLiteSpeed VPS WordPress install over at Vultr, and am trying to install a non-WordPress website into a sub-folder I created.
Ex.) https://example.com/test that is pointed to a new folder I created in the WordPress root install directory of /var/www/html/test
I created the directory and placed the files needed there that include an index.php file, however when I go to https://example.com/test, I receive a 404 Not Found error. I believe it has something to do with modifying the .htaccess file in the root of my WordPress install, but am unsure of what to modify 100%.
Any help is appreciated!
I tried modifying the Rewrite rules but am not confident in the options I chose. I since reverted the .htaccess file back to my default settings in which OpenLiteSpeed defines.
This can be closed out - I have it defined in my index.php file that resides in that folder point to a database I created in phpMyAdmin and I had the database field filled out incorrectly. Thank you to everyone who replied though. Oops!
I'm working on a wordpress site hosted on an AWS Lightsail instance (Bitnami) and i'd like to have version control to work on our site themes with a coworker.
I like the idea of just having to git pull to make changes to the site.
In the wordpress folder (that contains wp-admin, licences, wp-config.php, etc...), there is the wp-content folder but it's a symbolic link that points outside the wordpress folder to root/bitnami/wordpress/wp-content. I can't use git in the wordpress folder but I can set it up in the root/bitnami/wordpress/wp-content but it feels like bad practice since it asks me for admin privileges for every command line.
Is there a reason the wp-content folder is a symbolic link that points to outside the wordpress folder or is it just a mistake from the person who set things up?
Is it okay to use git to bypass an ftp client in this case?
So I just had this same issue today, and I resolved this by moving the directories for .../wp-content to the location of the symlinks and deleting the symlinks.
This was my process (though you could delete the symlinks first):
Move wp-content mv /bitnami/wordpress/wp-content /location/of/wordpress/temporary-directory-name
Delete symlinks rm -f /location/of/wordpress/
Rename temporary-directory-name using move mv /location/of/wordpress/temporary-directory-name /location/of/wordpress/wp-content
You can then repeat the same steps for the wp-config.php file. Once this was done I was able to verify Wordpress was still working on my LightSail instance. Hope this helps
Every time I'm trying to install wordpress from the address: localhost/wordpress
It's showing the "Parent Directory"
Apache/2.4.29 (Win32) OpenSSL/1.0.2l PHP/7.1.11 Server at localhost Port 80.
Can anybody give me a solution?
From your screenshot, it looks like you have no files in your localhost/wordpress directory. You can follow the steps on this Codex page - https://codex.wordpress.org/Installing_WordPress - to guide you through the install process. You first need to download and unzip the WordPress files from https://wordpress.org/download/ into your local folder. You also need to have PHP installed locally, set up a database and a user, and edit your wp-config.php file before you can access localhost/wordpress to run the install. It's all detailed in that Codex page.
Everything was going so well: installed XAMPP on Mac (OS 10.10.2). Installed Bitnami WordPress module. Imported existing WordPress site (this site is already live). Then imported/installed the theme I want to modify. All good up to that point.
Now I want to create a child theme. Following the instructions from Themify, which are great. BUT: I can't open the htdocs directory within the wordpress dir that was installed by the Bitnami module. No permissions.
There's a help page, but it's not helping me. Reason 1: I open FileZilla, I FTP to localhost, but the wordpress dir is nowhere to be found there. Reason 2: I try to follow their sudo chown instructions but the path is not valid for me. I tried:
$ sudo chown daemon:daemon Applications/XAMPP/xamppfiles/apps/wordpress/htdocs
... but no luck. "No such file or directory." I can find this folder in the Finder (see screencap), but I can't seem to access it from the command line. (Is that because XAMPP is in the Applications directory?)
In case it's not obvious, I am doing all this to muck around with my child theme offline. But I can't get my child theme folder into the wp-content/themes folder, because I can't FTP or access the folder directly through the Finder.
I was able to change permissions through the Mac "Get Info" panel. Doh!!
"Get Info" panel, unlocked
See screencap.
Try and put a Leading slash at the front of the directory listing so run this instead:
sudo chown daemon:daemon /Applications/XAMPP/xamppfiles/apps/wordpress/htdocs
Just go to /Applications/XAMPP/xamppfiles/htdocs/mysite/wp-content/themes/your-child theme and set permission of your child theme folder to writable to everyone.
Ok I know this has been answered a few times but as far as I can tell all answers are now outdated. Bitnami released a new installer. Instead of installing to xampp\htdocs\<name> it installs directly as xampp\apps\wordpress so I can't see a way of installing a new site.
I had stupidly renamed the folder and all instances of wordpress as a directory path to ezc only to find out that it didn't work. Turns out 4,300 files opening all at once isn't good for Notepad++...
For those of you aren't aware of the new file structure, it's as follows
xampp/
anonymous/
apache/
apps/
wordpress/
conf/
htdocs/
wp-admin/
wp-content/
wp-includes/
licenses/
tmp/
cgi-bin/
contrib/
[...]
How can I have multiple instances of WordPress hosted locally with XAMPP?
Just hopped onto the Bitnami community and found out how to create multiple sites.
Just pop the following into the command prompt (make sure you're in the same directory as installer)
bitnami-wordpress*.exe --wordpress_instance_name blog1
Replace the * with your version and blog1 with the name of your site.
Source: http://community.bitnami.com/t/installing-several-wp-sites-on-localhost/25924