kwek-kwek
kwek-kwek

Reputation: 1343

wordpress .htaccess with permalinks

I have a permalink working but as soon as I create a post it tells me that soory post not found permalink setting is to "/%pagename%/" and here is .htaccess:

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

Upvotes: 0

Views: 1123

Answers (4)

markratledge
markratledge

Reputation: 17561

Try clearing the permalink setting in wp_options in the database and then reset permalinks in Wordpress. It's usually option_id 30 and called permalink_structure.

Upvotes: 4

anstrangel0ver
anstrangel0ver

Reputation: 1073

Try %postname% in permalink setting rather than /%pagename%/

Upvotes: 0

Cninroh
Cninroh

Reputation: 1796

Check your apache configuration and verify that for the directory in which you store your Wordpress installation you have following settings enabled (probably you will have more configuration options for the specific directory, but these are the minimum required for Wordpress fancy permalinks):

<Directory var/www/>
FollowSymLinks
AllowOverride All
</Directory>

Upvotes: 1

code_burgar
code_burgar

Reputation: 12323

Do you have mod_rewrite installed on the server?

Upvotes: 0

Related Questions