• Next, move the extracted files to the Apache web root directory: sudo cp -avr wordpress/* /var/www/html/

    After this step, we had to do a:

    restorecon -r /var/www/html
    

    Prior to this, all the files that were copied into the /var/www/html directory would yield 403 errors when we tried pulling them up in our web browser.

    Solution Source

    Aside from that, excellent guide, thank you!

  • I successfully installed all component for my own home web server. Centos7/Apache/phpmyadmin/mariadb/Wordpress. When I type localhost in browser, it shows Testing 123 which means apache is running. I created wordpress website. When I type in my browser localhost/wordpress, I see my wordpress website. when I type my public ip address, I see testing 123, not my wordpress website. I want to see my website from outside world. I guess I need to do something more. For now I want to type ip address of my web server instead of domain name. please help with this issue. Thanks a lot

  • First, edit the following file:

    sudo nano /etc/httpd/conf.d/welcome.conf
    

    Remove the following lines:

    <LocationMatch "^/+$">
       Options -Indexes
       ErrorDocument 403 /error/noindex.html
    </LocationMatch>
    

    Then, restart apache web server.

    Or

    Delete /etc/httpd/conf.d/welcome.conf file:

    sudo rm -rf  /etc/httpd/conf.d/welcome.conf
    

    Then, restart apache web server.

  • Thank you so much for the expert answer.

  • and new plugin and theme error

    Plugins extend and expand the functionality of WordPress. You may automatically install plugins from the WordPress Plugin Directory or upload a plugin in .zip format by clicking the button at the top of this page.

    Plugins list An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums. Try again http://s20.pixxxels.org/dn042stwt/Capture.4674567_PNG.png

  • I followed these steps and do not get the select language page but get the apache confirmation page. What did I miss?

  • I saw previous person had similar issue and I followed step to delete the welcome.conf file. Now I get this Forbidden You don't have permission to access / on this server. I am using MySQL itself with 'user' as the user.

  • installed wordpress on centos 7 when i try to add new plugins and themes i am getting this error message

    Error : Plugins extend and expand the functionality of WordPress. You may automatically install plugins from the WordPress Plugin Directory or upload a plugin in .zip format by clicking the button at the top of this page.

    Plugins list An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums. Try again

    image kink >> http://s20.pixxxels.org/dn042stwt/Capture.4674567_PNG.png

  • I did every commend accordingly but when i browse my ip it say Error establishing a database connection. What I missed? What should I do now?

  • @btshamol You probably forgot to create virtual host (vhost) configuration files and add DNS record (to bind domain name to ip address). Try google how to create vhost configuration files for domain name on apache centos7 and how to add DNS A record. But if you dont have domain name, you only need to configure Vhost (google how to create vhost for ip apache centos 7), no need to add DNS record.

Log In, Add a Comment