Wordpress permal link

How to change permal link in Wordpress url to not include www.domain.com/index.php/some-page just clear url www.domain.com/some-page ?


RewriteRule ^/index\\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

Use these rewrite rules and set permalink from WordPress dashboard.

Thanks, this should be included in default install. Just a tip

Latest RC 1.7 has bug?
Rewrite rules was missing /.

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

END WordPress

Latest RC 1.7 has bug? Rewrite rules was missing /.
# BEGIN WordPress RewriteEngine On RewriteBase / RewriteRule ^index\\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L]

END WordPress

I’ve mentioned in the thread, that you don’t need forward slash from 1.7 onwards, you can simply copy Apache rules and they will work out of the box.

But it didn’t work for me, using 1.7 RC installation.
I use /%postname%/ permalinks.

Other than home page returns 404 without forward slash.

Ops, I just open my rewrite rules again now and it has no forward backslash.
Still works fine.

Thanks!