WordPress.org

Ready to get started?Download WordPress

Forums

mod_rewrite breaks site navigation (1 post)

  1. JohnP
    Member
    Posted 9 years ago #

    In WP1.2.2 I'm using the virtual site structure:
    /%year%/%monthnum%/%day%/%postname%/
    and the RewriteBase is: /weblog/

    My WP generated links seem to be working fine throughout, but on all blog pages EXCEPT the home page (ie: example.com/weblog/index.php), all the relative URLs in the site navigation gain an extra /weblog/ at the begining - instead of example.com/contact.htm I get:
    example.com/weblog/contact.htm

    If I use the calendar to go to the Jan 2005 page it gets worse - the URL becomes: example.com/weblog/2005/contact.htm

    I guess I could work-around this by using absolute URLS in the site nav, but if anyone can tell me how to fix the mod_rewrite rules it would be appreciated.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.