Removing “/wordpress” from URL on Fedora Install
-
I performed a default localhost install on Fedora 33, where the default directory is /usr/share/wordpress. I’ve since updated the WordPress Address and Site URL to mysite.com/wordpress, and now I want to get rid of “wordpress” from the URL.
Everything I read states the most common way to accomplish this is to remove /wordpress from the Site URL, copy the .htaccess and index.php files to the root directory, and update index.php to contain
require( dirname( __FILE__ ) . '/wordpress/wp-blog-header.php' )
. The problem is the “root directory” would be /usr/share, a non-wordpress system directory, which doesn’t align with the setups in the tutorials I’ve been reading. Additionally, I can not even locate a .htaccess file, even after “saving changes” on the permalink settings as stated in some guides.Since so many things aren’t aligning with what I’ve been reading, I’m assuming I’m off target here–any suggestions?
- The topic ‘Removing “/wordpress” from URL on Fedora Install’ is closed to new replies.