Forums

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

  1. robert.b.bruce
    Member
    Posted 4 months 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. samboll
    moderator
    Posted 4 months ago #

  3. jennybeaumont
    Member
    Posted 4 months 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 4 months 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 4 months ago #

    You need Mod_rewrite enabled. Is it?

  6. robert.b.bruce
    Member
    Posted 4 months 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 months ago #

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

Reply

You must log in to post.

About this Topic