Go to Presentation >> Theme Editor and open up Header. The way to change the page titles (stuff in the title
tags) and this should also have all of your navigation.
As for removing index.php
from your permalinks, go to Options >> Permalinks and remove index.php
from the permalink structure. If you don’t see it, just make your own custom structure, like /%year%/%monthnum%/%postname%/
.
Thanks for the tips. I got the name of “Home” changed to “Blog” and even added a title tag. Unfortunately, the other pages aren’t listed there. It looks like the php is calling it from somewhere, but I don’t know php well enough. After the link for the home page, it shows this:
<?php bloginfo('name'); ?>
My guess is that once I find those pages, or at least the links, I can also edit the title tags so that every page doesn’t have the exact same ones as the home page.
As for removing index.php from the permalink structure, it seems to already be gone (on the page Options>>Permalinks). Then I tried just about every other combination, with and without a .htaccess file. My pages are still showing up as http://usedcargold.com/index.php/tools No matter what I do, I can’t get rid of index.php.
Any ideas what I could be doing wrong?
So if it’s the home page, you want title
to read one thing; if it’s the About Page, you want title
to read another thing. No problem. Here’s how I’ve set my title
attribute:
<title><?php
if (is_archive())
{
echo "Archive: ";
}
elseif (is_search())
{
echo "Search Results";
}
?>
<?php wp_title('');
if (!is_home())
{
echo ": ";
}
?><?php bloginfo('name'); ?></title>
Look here:
http://codex.wordpress.org/Conditional_Tags
As for your index.php
problem, have you taken a look at your .htaccess file? I wonder if that is forcing index.php
to be a part of the permalink structure.
P.S. I posted an update to this problem over on your other thread.
Hi, sorry for not replying yesterday – I wasn’t able to get to my blog until now.
Great idea with the code you gave me. I had to take out the title I put in the index.php page. I’m getting closer to getting the title tags working.
They now show the name of the file in the title bar (for example, “About:” on the About page, “Book:” on the Book page, etc). Do you know how I can add more to the titles, like another 5 or 6 words? (Also, the home page, called “Blog” on my site now, doesn’t show anything in the title bar now).
I checked the link you gave me. The answer might be in there, but my limited knowledge of php hinders me from fully understanding the code. If it’s there, would you, or anyone else reading this, be able to point me to the correct lines of code please?
As for the .htaccess file, there wasn’t one. Then I created one with the information given in the Permalinks page where there’s a snippet of code. Uploaded it, but there was no change, so then I took it down again incase it affects something else.
Thanks again! 🙂
What version of WP are you running? 2.0+ should take care of the permalinks without .htaccess.