In the Admin area go to Settings –> Permalinks. Choose the last option and in the box behind it fill in
/%category%/%postname%/
Your link looks like: domain.com/pools/postname/
that’s all? what happens to posts that were originally broadcast in the ugly format?
WordPress automatically handles the 301 (permanent) redirects involving the old URLs.
if i have several categories pools, stripmalls, skateparks, etc? can i create archive directories for these?
pardon the questions, i just need to understand this in laymans terms before embarking on this.
thanks.
I’m not sure what you mean by “archive directories”.
If you would like to be found in google news you can set your custome permalinks to /%year%%monthnum%%day%%hour%/%category%/%postname%-%post_id% as google news looks for the 3 digit ending.
Also if you do have trouble with “page not found 404 errors” I use plugins seo ultimate which tracks any 404 error then I use Redirection plugin and copy the dead link from the seo 404 and then place the new url both into redirection for 301. Also use webmaster tools so you can stay up on any 404s google may have and add those and their good links to your redirection plugin. Now you do not suffer any losses π
WP does have a built in 301 redirection but I have found it doesn’t work with many templates and themes.
@visual mechanics,
You can utilize the conditional tags in your archive.php to display information specific to each category.
Or you can create category-[x].php files for specific categories (where [x] is your category name).
@ macmanx, by directories i mean archives (or folders for lack of a better word) per category. the user wants the ability to be able to click on a category in the sidebar and load all of the posts related in full view, not just the links for each post as the default settings function.
this is an example of how the archives should load.
http://readymade.com/blogs/culture
inside this blog when you click on the music archives in the sidebar on the lower right of the page they roll out like this…
http://readymade.com/blogs/culture/category/music/
still trying to wrap my head around this, and concerned that when i switch the permalinks to to a new structure the blog is gonna get all messed up.
??thanks,
rob
can anyone advise how and what i need to do to get these permalinks reconfigured so my posts are archived into literal strings?
thanks
I guess I must be misunderstanding, because when I go to http://readymade.com/blogs/culture/category/music/ I see full posts, not “just the links for each post” that you mentioned. Were you able to resolve the issue?
No I haven’t been able to resolve this.
If you go to http://readymade.com/blogs/culture and scroll down to the archive links on the right hand side of the page click on any of the categories.
for instance the archive for “art”
http://readymade.com/blogs/culture/category/art/
in here all of the entries are previewed in full. this is what i am trying to resolve on my blog. when you click a category link on my blog it goes to a page the says “category archives: pools” with the entry titles. from there you have to click on a individual link rather than simply scrolling and previewing the entries in their entirety.
does this make sense?
thanks
Oh, so this is for a different blog. More than likely, your blog is using the_excerpt to display content in the category template. This only displays part of the post. You’ll want to use the_content instead. See these for more info:
http://codex.wordpress.org/Template_Tags/the_content
http://codex.wordpress.org/Template_Tags/the_excerpt
where do i put this code? correction…. is this the code i substitute for??
<?php the_content( $more_link_text, $strip_teaser, $more_file ); ?>
there was another detail regarding if need to display all of the content (which I want to do)
<?php
global $more; // Declare global $more (before the loop).
$more = 1; // Set (inside the loop) to display all content, including text below more.
the_content();
?>
am i on the right track, if so what php file do I swap this code into?
thanks
Look in your category template for a php tag that mentions “the_excerpt” and replace it with your tag.
Yes, you’re on the right track.
the categories.php file within the wp-admin folder? the only file i can find named such. however, no mention of a tag in there containing the_excerpt