Forums

[resolved] Pretty Permalinks - Why don't they work? Help!! (7 posts)

  1. robert.b.bruce
    Member
    Posted 2 years ago #

    I have just installed WordPress 2.8 on a smartyhost linux server. When I run an info.php file, it says that the mod_rewrite module is installed. I have also uploaded a .htaccess file in the root directory with the following:

    ># BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress<

    When I enable permalinks (numbers) I cannot access the posts at all. It also appears that wordpress hasn't changed the .htaccess file even though the permissions are set to do so. Help! What else can be done?
    Also the codex offers the following suggestions:

    * In WordPress's home directory,
    o The FollowSymLinks option enabled
    o FileInfo directives allowed (e.g. AllowOverride FileInfo, AllowOverride All)

    What does this mean to us uneducated? Any smart cookie that could help would be greatly appreciated....

  2. Samuel B
    moderator
    Posted 2 years ago #

  3. jennybeaumont
    Member
    Posted 2 years ago #

    two things i have run into:
    1) changing the directory when uploading: if you use a subdirectory, then the htaccess needs to be updated.
    2) php version - for a client using godaddy i had to add a line to the htaccess to "convert" from php4 to php5...

    good luck!

  4. robert.b.bruce
    Member
    Posted 2 years ago #

    Thanks Jenny,
    I am running php Ver 5.1, do you mind me asking what the line is to convert to php5?

  5. wearitwell
    Member
    Posted 2 years ago #

    You need Mod_rewrite enabled. Is it?

  6. robert.b.bruce
    Member
    Posted 2 years ago #

    Yes, thanks to all... I contacted host & whilst the htaccess file is in the root & accessible, they changed something server end to enable the htaccess file to override?! everything now working...

  7. andimac
    Member
    Posted 2 years ago #

    what is Mod-rewrite and where is it to enable it... so I can check this. Thanks! - Andi

Topic Closed

This topic has been closed to new replies.

About this Topic