I downloaded an HTML template and did the necessary conversions to create a wordpress theme. The location of the template files is in /wp-content/themes
. When I look at my template and I go to my website, the URL is simple www.mysite.com
. However, initially when I clicked on any of the links, the URL was www.mysite.com/wp-content/themes/Template/mypage.html
instead of the desired www.mysite.com/mypage.html
. I using an FTP to put all of my template files in my root directory, however, in order to make changes to my theme it wants me to edit the header.php
file that is in my /wp-content/themes
folder.
Is there a way to delete the wp-content folder completely, and have wordpress look for your theme in your root directory? Or is this bad practice?
/
) in front of them, that way, the links are always gonna point to the root of your domain. E.g.<a href="/mypage.html">Link</a>
.header.php
in the root directory - only ones made to theheader.php
in wp-content/themes. Is there a way to either change the reference to the header file to be in the root directory? Or is there a way where I won't have to edit the header file at all? I was told to put my html for my nav bar in theheader.php
file