Forums

Dynamic Links Not Working... But Static Links Do... (1 post)

  1. empulse
    Member
    Posted 8 months ago #

    I posted yesterday that I couldn't get any dynamic links to work... When I would click on a dynamic link, it would redirect me to index.html, no matter what I clicked on. Still haven't figured that out... However, I managed to fix this by activating pretty permalinks, and now my content is pulling up properly.

    Because I switched from the default dynamic links ( ../?page_id=71 ) to pretty permalinks ( ../energy ) I'm having to recode all the links throughout my page (in headers, etc). This is where my current question comes into play... I can't get the shortened version of the link (../energy) to work... If I use http://www.website.com/wp/energy in my code, the link work properly. But if I use ../energy it gives me a 404.

    Doesn't Work:
    <a href="../energy" class="green">NEWS</a>

    Works:
    <a href="http://www.kn-enterprises.com/wpMarquis/energy" class="green">NEWS</a>

    I'm sure this boils down to me not fully understanding the way pretty permalinks work, but I'm hoping someone can give me some advice/guidance in regards to this.

    For reference sake, I've uploaded the site to a temp webserver where another HTML site exists (located in root). The html and the WP install for the site in question exists on this server at root/wpMarquis/.

    Thanks so much in advance!
    Brandon

Reply

You must log in to post.

About this Topic