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 http://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 http://www.great-depression2.com/?p=6, not at MySite/World/Spain
Any tips? Thanks.
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:
http://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 http://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.
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 http://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.
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.