Pretty permalinks on wordpress

I want to name pages on  wordpress with some meaningfull names.
For example, this page link
http://www.domain.com/?p=11
desired to be
http://www.domain.com/main

How it's stored in the internal, its own problem. The key point is fast navigation for user by address line.
This thing is absolutely important, however, WordPress kinda lives in parallel universe.
How to solve the problem?

Wordpress 4.1.1
Fedora 20
Apache/2.4.10
Nusrat NuriyevAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

axessJoshCommented:
Did you go to settings >> permalinks?

From there you choose postname or type custom %postname%

Is that what you're wanting?
0
Nusrat NuriyevAuthor Commented:
that does not work.

it gives "404 file not found" when i chose postname permalink. Only defauly ones work.

Why?
0
Nusrat NuriyevAuthor Commented:
ok, kinda solved the problem by adding changing custom to
/index.php/%postname%

Open in new window

Why I need to add that index.php?
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

axessJoshCommented:
what domain URI do you have setup in Settings >> General
0
Nusrat NuriyevAuthor Commented:
Web-site url: http://i-olimp.com

The problem that I have eliminated usage of index.php prefix before custom permalink on other site, but not this one.
0
Nusrat NuriyevAuthor Commented:
second time, the problem was in path of Directory tag of httpd.conf
0
Lucas BishopClick TrackerCommented:
Did you figure this out? You'll want to enable permalinks as axessJosh mentioned.

 If you receive a 404 error, then there are a few things to look at:

1.) Is your .htaccess file writable (666 permission)
2.) If your .htaccess is writable, does it allow symlinks at the top? It should:
Options +FollowSymlinks

Open in new window

3.) If .htaccess is writable, and has followsymlinks enabled, then you'll want to make sure that apache vhosts allows .htaccess to override the server settings:

<Directory "/path/to/website">
  Options FollowSymLinks
  AllowOverride All
  Order allow,deny
  Allow from all
</Directory>

Open in new window

0
Alicia St RoseOwner & Principle Developer/DesignerCommented:
Sometimes just hitting save again on the Edit Permalinks page in the admin does the trick. It refreshes everything.
0
axessJoshCommented:
I agree with laughhearty,

Sometimes WP just gets finicky and you have to do the exact same thing twice.
0
Nusrat NuriyevAuthor Commented:
Lucas, in your scenario we don't need to modify .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
~                   

Open in new window

0
Nusrat NuriyevAuthor Commented:
Lucas,
1.) Is your .htaccess file writable (666 permission)
Isn't that dangesours to make writable for other users?

axessJosh
laughhearty
That was not an issue.
The issue was on apache configuration file.
Everytime(for every web-site) I have to mention "index.php".
I don't know how to make it by default for all web-sites.
0
Lucas BishopClick TrackerCommented:
Nusrat, when you edit the permalink layout in the WP admin area, if the .htaccess file is not writable, then you'll see a message at the bottom with the rewrite structure that needs to go in the htaccess file. You'll have two options:

1.) Make htaccess writable 666. Update the permalink structure in WPadmin. Change htaccess permissions back to 644 (for security)

2.) Copy the rewrite rule specified in the WP Admin into the htaccess file manually, without changing any permissions
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Nusrat NuriyevAuthor Commented:
okay.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
WordPress

From novice to tech pro — start learning today.