Support » Everything else WordPress » .htaccess perhaps?

  • I’m upgrading to WP 1.5 and I have installed WP-StatTraq. However, that runs in /wp-stattraq. I would like to have a link in my pages listing that links to it, but links as like /statistics. So I’m looking for the best way of doing that masking. .htaccess perhaps? Something else?

Viewing 4 replies - 1 through 4 (of 4 total)
  • I would use a simple rewrite rule in .htaccess:


    EDIT: Actually, a better one:

    RewriteRule ^statistics/? /wp-stattraq/ [QSA]

    I added that in, but then links on the page don’t work. I’m not familiar enough with .htaccess to know how to make it all work.

    I don’t use StatTraq so I’m not sure what it requires, but is it hardcoded to use the /wp-stattraq directory?

    Turns out I can just rename the /wp-stattraq/ directory to /statistics/. I figured there was some relevance to the directory being named what it was, but all the links are just =”index.php?…” so it didn’t matter what directory it was in. I appreciate your help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘.htaccess perhaps?’ is closed to new replies.