• Installed wordpress and if I just install it and make no changes to httpd on rhel8, I can type in the server address and it works. Add in a wordpress.conf file under /etc/httpd/conf.d, and “Firefox has detected that the server is redirecting the request for this address in a way that will never complete.”

    I’ve tried removing the wordpress.conf, adding in the URLs in wordpress, and creating the wordpress.conf, and same problem.

    I’m going to need a wordpress.conf file, as when this is all done, there will be 4-5 wordpress sites on this server, with 1 of them being a network setup. And of course I’ll need to be able to change from http to https.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Note that the wordpress.conf file, as well as the content within the file, is something that is specific to your server. This is not something provided by WordPress — WordPress itself does not provide any web-server configuration files (other than the .htaccess riles generated for permalinks).

    And it’s clear something in this file is not correct, hence the redirect loop.

    If you CAN use Ubuntu, Debian or any Debian derivative, I’ll highly recommend you take a look at WordOps, a mean little script that makes creating and managing multiple WordPress sites on a LEMP server via the command line a walk in the park.

    (Want to install your 1st or 100th WordPress site with SSL cert from LetsEncrypt and Redis full-page in-memory caching? As simple as wo site create example.com --wpredis --le — and you’re done. Lots of other options available, and multisite supported.)

    Thread Starter schwende

    (@schwende)

    I did manage to create a vhost that is working. At least for 1 site. This server will be supporting 5 sites, so now I am onto how to do 1 vhost file for 5 sites.
    I am doing this on red hat, no option for ubuntu. But, I might still be able to make use of wordops.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘redirect issue after creating wordpress.conf’ is closed to new replies.