• Hi there,
    I am having a bit of trouble setting up urls in my blog that have:
    https://myblog.com/title-of-the-entry
    It seems that when I paste the code that is given to me from the wordpress template (the rewrite rules) into a .htaccess file in the same directory as my blog, my weblog does not appear anymore, returning an error. It is only corrected when I remove the .htaccess file completely.
    What gives? Any ideas or suggestions are appreciated!
    -jarrett

Viewing 8 replies - 1 through 8 (of 8 total)
  • Ask your host if ‘mod_rewrite’ is enabled.
    It does not sound like it is.

    Thread Starter jarrett

    (@jarrett)

    How do I find out if mod_rewrite is enabled?
    And if it is not, how do I enable it?

    You can either ask your host, or create an info file and upload that:
    <?php infophp(); ?>
    Copy that. Paste into notepage. Save as ‘info.php’ Upload to server (anywhere) then go to the file location with your browser
    eg: https://www.myblog.com/info.php
    then search down the lists to see if it is enabled.
    If it’s not enabled, you will have to ask your host.
    One of my hosts deiberately does not enable it, another host does have it….

    Can you tell us what the error message is? Is it a 404 page not fonud message?
    This could suggest that the mod_rewite rule is not working. It would help if you post the error message you get.

    I’m not the original poster, but I am having a similar problem.
    I’ve got WP installed on Mac OS X 10.3.5, default Apache and PHP (from entropy.ch).
    When I set up the permalink templates and fill in the .htaccess file as instructed (cut-and-paste).
    When I click a link for either a category or a permalink, I get a 404 error.
    Any ideas?

    following up to myself…
    mod_rewrite is turned on in Apache (according to localhost/server-info)

    Hmm, I guess the next question is, can you share your rewrite rules?

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