• “almost pretty links” are a breeze to change to. I have not been able to get the htaccess file to work for “pretty links” and have tried for 3 days. Does it make any difference to search ranking? I am defeated in trying to activate htacess…

Viewing 4 replies - 1 through 4 (of 4 total)
  • Can you clarify what you have done?

    ie if you add the following permalink structure: /%category%/%postname%/ what happens? Does WordPress update the .htaccess file at all? Have you tried to manually create the .htaccess file? Be as descriptive as you can on what you have tried otherwise it’s hard to know what to suggest.

    Thread Starter graykitty

    (@graykitty)

    My .htaccess in my root dir —
    with this code
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    Set permissions to 777 (on.htaccess)

    Went back to my site and got this message

    Forbidden

    You don’t have permission to access /wp-admin/options-permalink.php on this server.
    Checked permissions were set to 755
    And on all site pages got errors saying could not fine the page.

    That error is htaccess, what happens if you set the permalink structure to:

    /%category%/%postname%/

    And add the following to your .htaccess:

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

    CHMOD should be 644

    Thread Starter graykitty

    (@graykitty)

    Thanks for trying but no go–exact same results. I read somewhere that it might be the rewriteBase / line. I am on a shared webhost and the absolute path is

    /home/w/a/mysite.com/html

    so I tried rewriteBase /html
    then rewriteBase /home/w/a/mysite.com/html

    same result–any more ideas?

    without htaccess the site works just fine–with it, it totally breaks–I haven’t a clue who to ask any more.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘pretty vs almost pretty links’ is closed to new replies.