WP Own Directory and Reference to Theme Content (2 posts)

  1. davedev
    Posted 6 years ago #

    I had my WordPress installation in a non-root directory like "http://www.mystite.com/wordpress". I've now moved the index.php and htaccess to the root and update things so most everything now works with index.php in the root and my wordpress install in mysite.com/wordpress.

    One thing that is not working, is an image link in the header. The link looks like this:

    /"><img src="wordpress/wp-content/themes/mytheme/images/logo.png" style="margin-top: 5px;" border="0">

    The image link tries to get the image from here:


    instead of here:


    How do I get it so "category" is not used in the reference to the image?

    Or, writing this I realize, how do I make the image link absolute or at least not relative to the current page as it is now?

  2. Rhand
    Posted 6 years ago #

    You need to change you blog url in your WordPress Dashboard under Configuration > General to the correct site location if you haven't already done this. Furthermore you need to change the link to the image to the correct one as it is no longer located in the wordpress sub directory.

Topic Closed

This topic has been closed to new replies.

About this Topic