• I installed WordPress just an hour ago and am learning how to use it. I’ve created three categories:

    World
    Topics
    Blog

    I envision the URL’s for each category looking like this:

    MySite/World/Japan
    MySite/Topics/Economy
    MySite/Blog/08-02-09 (or however WordPress does dates)

    I created a sample post and checked the World category. The post appears at https://www.great-depression2.com/?p=3

    I’m now trying to modify it so that it displays at https://www.great-depression2.com/World/Japan However, I can’t figure out how to access the permalinks function.

    Also, am I going to have to modify each post’s permalink, or is there some way to automate it? For example, can I set it up so that if I check the World category while creating a post, it will automtically display at MySite/World + whatever name I assign that post (e.g. MySite/World/Japan)? Similarly, can I make every post assigned to the category Blog display at MySite/Blog + date (e.g. MySite/Blog/08-02-09)?

    Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter wordpressbear

    (@wordpressbear)

    I just discovered the PermaLinks page…but I haven’t figured it out. I keyed in on this section…

    If you like, you may enter custom structures for your category and tag URLs here. For example, using topics as your category base would make your category links like https://example.org/topics/uncategorized/. If you leave these blank the defaults will be used.

    I chose “World” for both Category base and Tag base…

    Category base = World
    Tag base = World

    But when I checked an article I posted in the World category, I discovered that the link remained unchanged. I made a new post, again checking the World category, and it displays at https://www.great-depression2.com/?p=6, not at MySite/World/Spain

    Any tips? Thanks.

    Thread Starter wordpressbear

    (@wordpressbear)

    In my latest experiment, I created an .htaccess file with the following code:

    # GREAT DEPRESSION
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    On the Permalinks page, I set Common Settings > Custom Structure = /%Category%

    Under Optional, I set Category Base and Tag Base both to equal World. Of course, this can’t be right, because it would work for the World section only, not Topics or Blog. But I decided to give it a try.

    Now when I click on a link to one my posts, it defaults to this non-working URL:

    https://www.great-depression2.com/%Category%

    I need to replace %Category% with World/Spain. And if the post was in my Topics section, it would be replaced by Topics/[Post Title]. If it was in the Blog section, the complete URL would be https://www.MySite.com/Blog/08-02-2009

    Can anyone direct me to step-by-step instructions for doing this? I’ve found some resources on the Internet, but none of them work for me.

    Thanks.

    Thread Starter wordpressbear

    (@wordpressbear)

    I’m getting closer. I changed Custom Structure to this:

    /%category%/%postname%

    And the URL correctly defaults to MySite/world/spain…however, I get the following error message in lieu of my post:

    Not Found
    The requested URL /world/spain was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
    Apache/1.3.34 Server at https://www.great-depression2.com Port 80

    Also, I get a message advising me to update my .htaccess file…but update it to what?

    Finally, is there a way to modify it so that instead of displaying at MySite/world/spain, it displays at MySite/World/Spain? For an article in the Topics Category, all words would be capitalized…

    MySite/Topics/Global_Economy

    Thanks.

    Finally, is there a way to modify it so that instead of displaying at MySite/world/spain, it displays at MySite/World/Spain? For an article in the Topics Category, all words would be capitalized…

    Not that I know of. WordPress uses lowercase URLs.

    Thread Starter wordpressbear

    (@wordpressbear)

    Please ignore this post; I just solved the .htaccess problem, and I’m going to start a new thread to address the other issue.

    Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Need help with Pretty Permalinks’ is closed to new replies.