Title: Category problem
Last modified: August 18, 2016

---

# Category problem

 *  [nicktoye](https://wordpress.org/support/users/nicktoye/)
 * (@nicktoye)
 * [20 years, 11 months ago](https://wordpress.org/support/topic/category-problem-3/)
 * Hi, I am having trouble with my categories link on my site.
 * [http://www.nicktoye.co.uk](http://www.nicktoye.co.uk)
 * This is the code from the template-functions-category.php
 * When you click on the link it shows up the domain name twice and consequently
   fails to load the category.
 * Many thanks in advance.

Viewing 10 replies - 1 through 10 (of 10 total)

 *  [Jennifer Ledbetter Clay](https://wordpress.org/support/users/geeksmakemehot/)
 * (@geeksmakemehot)
 * [20 years, 11 months ago](https://wordpress.org/support/topic/category-problem-3/#post-197232)
 * Wow, that managed to b0rk the forums.
 *  [ColdForged](https://wordpress.org/support/users/coldforged/)
 * (@coldforged)
 * [20 years, 11 months ago](https://wordpress.org/support/topic/category-problem-3/#post-197234)
 * Always, always, always post code in a pastebin (like [http://pastebin.com](http://pastebin.com)).
   Also, we typically can look at the code in WordPress ourselves without needing
   it copied here.
 *  [splee](https://wordpress.org/support/users/splee/)
 * (@splee)
 * [20 years, 11 months ago](https://wordpress.org/support/topic/category-problem-3/#post-197235)
 * Also:
 * [http://www.catb.org/~esr/faqs/smart-questions.html](http://www.catb.org/~esr/faqs/smart-questions.html)
 *  Thread Starter [nicktoye](https://wordpress.org/support/users/nicktoye/)
 * (@nicktoye)
 * [20 years, 11 months ago](https://wordpress.org/support/topic/category-problem-3/#post-197242)
 * Sorry about that, the link to the code is:
 * [http://pastebin.com/278723](http://pastebin.com/278723)
 *  [ColdForged](https://wordpress.org/support/users/coldforged/)
 * (@coldforged)
 * [20 years, 11 months ago](https://wordpress.org/support/topic/category-problem-3/#post-197245)
 * Nick, what does your template look like? (Pastebin it, please.)
 *  [mattread](https://wordpress.org/support/users/mattread/)
 * (@mattread)
 * [20 years, 11 months ago](https://wordpress.org/support/topic/category-problem-3/#post-197249)
 * NickToye, what do you have the permalinks for categories set to? (in Options 
   > Permalinks)
 *  Thread Starter [nicktoye](https://wordpress.org/support/users/nicktoye/)
 * (@nicktoye)
 * [20 years, 11 months ago](https://wordpress.org/support/topic/category-problem-3/#post-197251)
 * ColdForged, I think I have pastebin it, if you click that link you will see it
   there, or have I got that mixed up.
 *  Thread Starter [nicktoye](https://wordpress.org/support/users/nicktoye/)
 * (@nicktoye)
 * [20 years, 11 months ago](https://wordpress.org/support/topic/category-problem-3/#post-197253)
 * RewriteEngine On
    RewriteBase / RewriteRule ^http://www.nicktoye.co.uk/articles.
   php/(.*)/(feed|rdf|rss|rss2|atom)/?$ /wordpress/wp-feed.php?category_name=$1&
   feed=$2 [QSA] RewriteRule ^http://www.nicktoye.co.uk/articles.php/?(.*) /index.
   php?category_name=$1 [QSA] RewriteRule ^author/(.*)/(feed|rdf|rss|rss2|atom)/?
   $ /wordpress/wp-feed.php?author_name=$1&feed=$2 [QSA] RewriteRule ^author/?(.*)/
   index.php?author_name=$1 [QSA] RewriteRule ^([0-9]{4})/?([0-9]{1,2})?/?([0-9]{
   1,2})?/?([_0-9a-z-]+)?/?([0-9]+)?/?$ /index.php?year=$1&monthnum=$2&day=$3&name
   =$4&page=$5 [QSA] RewriteRule ^([0-9]{4})/?([0-9]{1,2})/([0-9]{1,2})/([_0-9a-
   z-]+)/(feed|rdf|rss|rss2|atom)/?$ /wordpress/wp-feed.php?year=$1&monthnum=$2&
   day=$3&name=$4&feed=$5 [QSA] RewriteRule ^([0-9]{4})/?([0-9]{1,2})/([0-9]{1,2})/([
   _0-9a-z-]+)/trackback/?$ /wordpress/wp-trackback.php?year=$1&monthnum=$2&day=
   $3&name=$4 [QSA] RewriteRule ^feed/?([_0-9a-z-]+)?/?$ /wordpress/wp-feed.php?
   feed=$1 [QSA] RewriteRule ^comments/feed/?([_0-9a-z-]+)?/?$ /wordpress/wp-feed.
   php?feed=$1&withcomments=1 [QSA]
 *  [ColdForged](https://wordpress.org/support/users/coldforged/)
 * (@coldforged)
 * [20 years, 11 months ago](https://wordpress.org/support/topic/category-problem-3/#post-197260)
 * > ColdForged, I think I have pastebin it, if you click that link you will see
   > it there, or have I got that mixed up.
 * That’s the code for `template-functions-category.php` which comes with every 
   WordPress installation. I was asking for the `index.php` from your theme.
 * And Matt meant what is your permalink structure specified under “Options => Permalinks”,
   not your .htaccess file.
 *  Thread Starter [nicktoye](https://wordpress.org/support/users/nicktoye/)
 * (@nicktoye)
 * [20 years, 11 months ago](https://wordpress.org/support/topic/category-problem-3/#post-197265)
 * I’ve sorted it now, instead of leaving the box for categories blank, I had put
   in the domain name.
 * Thanks anyway, now i’m going to stick my head in the blender for being such a
   dope.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Category problem’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 10 replies
 * 5 participants
 * Last reply from: [nicktoye](https://wordpress.org/support/users/nicktoye/)
 * Last activity: [20 years, 11 months ago](https://wordpress.org/support/topic/category-problem-3/#post-197265)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
