WordPress.org

Ready to get started?Download WordPress

Forums

clean URLs lead to 404s (9 posts)

  1. Zachariah
    Member
    Posted 9 years ago #

    I did search, but didn't find any solutions.

    I don't know what to do to troubleshoot the use of mod_rewrite for clean urls.

    I get a 404 when I try and go to the cleaned URL.

  2. Kafkaesqui

    Posted 9 years ago #

    First, link?

    Second, could you clarify what sort of permalink structure you're using?

    Finally, are you certain your host supports mod_rewrite fully?

  3. Zachariah
    Member
    Posted 9 years ago #

    1) If I really have to I'll give out the link, but I'd prefer not at this point.

    2) I just copied and pasted the example one from the page at /wp-admin/options-permalink.php
    which is:

    So for example a value like:
    /archives/%year%/%monthnum%/%day%/%postname%/
    would give you a permalink like:
    /archives/2003/05/23/my-cheese-sandwich/

    '/archives/%year%/%monthnum%/%day%/%postname%/' is the part I used

    3) I'm 99% sure, but I can always submit a trouble ticket and they'll get back to me in a few hours. They support every other weird feature I've evert tried to use, so I can't imagine that they wouldn't support this, but hey -- who knows?

  4. Fourth, did you add the rules to .htaccess?

    Fifth, Read through this, thoroughly:
    http://codex.wordpress.org/Using_Permalinks

  5. Zachariah
    Member
    Posted 9 years ago #

    4) yes -- I added it to .htaccess at the root of my domain, though I'm now wondering if I am supposed to put it in a .htaccess file in the root of the install instead.

    WordPress is installed at http://www.example.com/sc/classes/engl4319/journal/
    but .htaccess is at http://www.example.com/.htaccess
    should it be in the "/journal/" directory instead?

    5) yes I have read that and the 2 or 3 related pages in the wiki and elsewhere -- I'll re-read it though

    6) Thanks for all your help so far!!

  6. The .htaccess file should be installed at http://www.example.com/sc/classes/engl4319/journal/.htaccess

  7. Zachariah
    Member
    Posted 9 years ago #

    that's probably the problem then

    doh!

  8. Zachariah
    Member
    Posted 9 years ago #

    It was!

    thanks for asking the questions that needed to be asked to get me where I needed to get to!!

  9. No problem. Glad you got it working,

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.