Support » Fixing WordPress » Page urls: getting friendly names

  • Hi,

    Here is my question. I’m using the following system:

    Apache: 2.2.11
    Php: 5.3
    Mysql: 5.1.3.6

    Issue:
    I don’t use WordPress for blogging purposes. I only use it to build a website. I’m not getting how to generate friendly urls for my site.

    I have already gone through the whole Permalinks set of instructions but it doesn’t make sense to me. It looks like it only refers to things such as category, date or author but as I said I’m not using it for blog purposes so I was wondering if there is a way to make this work in another way.

    Thanks

Viewing 10 replies - 1 through 10 (of 10 total)
  • esmi

    (@esmi)

    Forum Moderator

    If you only intend to publish Pages, you don’t need to worry to much about custom permalink structures. Just choose one of the standard settings (e.g Numeric) and by default, WordPress will construct friendly urls for Pages based on their titles

    Hi esmi
    Thanks for getting back. I followed your suggestion but it didn’t work. I have created 3 different pages: Home, PageOne, PageTwo.

    They all appear from the top navigation but every time I click on one of the PageOne or PageTwo a 404 is generated:

    “The requested URL /wordpress/pagetwo/ was not found on this server.”

    I have got the my wordpress folder installed locally on the following path of my machine:

    C:\dev\www\wordpress

    I hope this will help to solve this scenario. Thanks in advance.

    esmi

    (@esmi)

    Forum Moderator

    Edit either PageOne or PageTwo. What is appearing in the page permalink line (immediately below the page title input box)?

    I I set the permalink to the numeric value, in this case the PageOne and PageTwo are showing the friendly name following the path to the page:

    “Permalink: http://localhost/wordpress/pagetwo” Next to this url there are two buttons, to preview the page and save changes made to the url.

    esmi

    (@esmi)

    Forum Moderator

    The permalink suggests that page link is, indeed, correct. Perhaps you have a problem with rewrites on your local server?

    Any idea how should I do to change it? Any post or reading that you could suggest?

    Thanks

    esmi

    (@esmi)

    Forum Moderator

    I found the solution for this. I needed to set the mod_rewrite under my Apache server to ON.

    Simple.

    Thank again for ypur help esmi.

    Antonio

    If you are only using static pages, you can use /title as your permalink structure, then your urls would be:

    domain.com/title whatever you enter as your page title, “about us” for example would show up as:

    domain.com/about-us

    NOTE: This causes issues if you later add a blog as this type of custom structure doesn’t seem to support blog entry titles.

    Hi – samboll provided the perfect fix if you want pretty permalinks for static pages and blog posts. use /%postname%/ as your custom permalink structure.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Page urls: getting friendly names’ is closed to new replies.