Prashant Tapase
Prashant Tapase

Reputation: 2147

how to changes url in wordpress from page id to postname?

i want to change url from

example.com/abc/?page_id=1 to

example.com/postname.

i tried different methods but there is some issue ....on screen error occurring which is not found url not found in server what should i do ..i change my permalink , .htaccess files etc. my htaccess file is

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

I tried permalink option also

Upvotes: -3

Views: 6222

Answers (1)

Ranjit
Ranjit

Reputation: 1724

You have to read more about wordpress. This is already available in wordpress setting.

  1. Go to Admin section -> Setting -> Permalinks.

  2. change the comman setting to Post name and save the changes.

Upvotes: 3

Related Questions