See the Codex article, Permalinks, for ideas on permalink structure.
WordPress doesn’t use/create pages with .html extenstions. Review Pages article.
now i got rewrite rules like
category/(.+?)/feed/(feed|rdf|rss|rss2|atom)/?$ == index.php?category_name=$1&feed=$2
category/(.+?)/(feed|rdf|rss|rss2|atom)/?$ == index.php?category_name=$1&feed=$2
category/(.+?)/page/?([0-9]{1,})/?$ == index.php?category_name=$1&paged=$2
category/(.+?)/?$ == index.php?category_name=$1
i don’t know how to remove /category/ base. :/
i don’t know how to remove /category/ base.
if you spend just a little time testing out that search box in the upper right hand corner, you will find this has already been asked and answered many times before.
can you post exact link for WordPress 2.5.1?
i’ve found lots of solutions, but non of them works with WordPress 2.5.1 🙁
except last, that doesn’t solve anything with url example.com/./foo/
Normally the categories would look like this:
http://www.clausheinrich.com/category/web-directory/
with the change it will become:
http://www.clausheinrich.com/web-directory/
Find the file wp-includes/classes.php and about halfway down you can change the settings.
To remove the category like above do this:
$this->category_structure = $this->front . ‘category/’;
change it into this:
$this->category_structure = $this->front;
Update:
In the WordPress 2.1 branch you will find the code in wp-includes/rewrite.php
Thanks to Caio Proiete for informing
WordPress Version 2.3.x branch:
Delete this:
$this->category_structure = $this->front . ‘category/’; else
WordPress Version 2.5.x branch:
I have not tried this personally, but reading from comments it is should be possible to now use the Base Category feature to disable the “category” directory.
Brad mentions in comment #27:
Adding the /. in Settings – Permalinks -Category Base field works fine in 2.5.
Where are ppl seeing the /. in the URL? (e.g. www .example.com/./foo/)
I’m having no problems with it.