Categories
ict

Promoting WordPress to /

Today, I promoted my WordPress site to be at the root of the jandejongh.eu site. In other words, instead of using https://jandejongh.eu/wordpress to reach the WordPress site, it is now simply https://jandejongh.eu. A major improvement, since this is the way I want to be reached.

How?

I’m using a Fedora-33 with stock-installed Apache httpd and wordpress (from Fedora repos). Here’s what worked for me:

  • Comment out all contents of /etc/httpd/conf.d/welcome.conf. This was still on my list; the welcome.conf file presents the default page hinting at further steps to populate an Apache deployment still without (other) content.

  • Enter the site’s top-level address (https://jandejongh.eu) in both fields in the WordPress Settings form:
  • Replace Alias /wordpress /usr/share/wordpress with Alias / /usr/share/wordpress/ in the top line (or thereabout) of /etc/httpd/conf.d/wordpress.conf. The final / appeared crucial in the alias statement.

  • Restart httpd.

Leave a Reply

Your email address will not be published. Required fields are marked *