WordPress.org

Ready to get started?Download WordPress

Forums

How do I get my URL rewritten so humans can read it instead of ?cat=7 (6 posts)

  1. bimple
    Member
    Posted 6 years ago #

    I have seen wordpress setups where the topic of the title is the URL, and was wondering how to get that to work on my wordpress install.

    For instance, If the title of the post was:
    I like to eat sweet candy
    the URL would be:
    hxxp://mysite.com/blog/i-like-to-eat-sweet-candy/

    On my blog when I make a post it comes out like this:
    hxxp://mysite.com.com//blog/?cat=7

    I installed a SEO plugin, but that did not rewrite the URL, it only made it so the post was seen once by a search engine.

    How can I make it so my URL is displayed as mentioned above?

  2. moshu
    Member
    Posted 6 years ago #

    And what did you find when you checked ALL the tabs in your admin interface? Just to learn about the tool you are using... e.g. Options > Permalinks?

  3. bimple
    Member
    Posted 6 years ago #

    I tried that, but when I chose a custom permalink:
    /%postname%/
    I received an error at the top of each page:

    WordPress database error: [Table 'user_wordpress.wp_categories' doesn't exist]
    SELECT cat_ID FROM wp_categories WHERE category_nicename = 'topics/foo_bar'

    The URL was rewritte, but every page had that error.

    I even tried:
    /%category%/%postname%/

    and still got the error mentioned above

    and I am using the classic theme

  4. moshu
    Member
    Posted 6 years ago #

    1. That's not enough.
    2. You are using a theme that is not compatible with 2.3

  5. bimple
    Member
    Posted 6 years ago #

    What do you mean it isn't enough? I also added:

    /%category%/%postname%/

    and still got the error. I also tried checking "Date and name based" and still received the error.

    Also, if it isn't compatible with 2.3 why is it included with the 2.3 install?

  6. moshu
    Member
    Posted 6 years ago #

    Postname (without some numeric tag like ID or date) is not enough to identify a post.
    more: Using_Permalinks

    The error you quoted let me think there is some code in the theme you are using that is NOT for WP 2.3.
    Was this s brand new install or an upgrade?

Topic Closed

This topic has been closed to new replies.

About this Topic