Forums

Broken Categories Link (8 posts)

  1. tculley
    Member
    Posted 1 year ago #

    On my website (http://allshoresp.com) the categories link is broken. What's happening is when I click on a category, the URL will be "http://allshoresp.comcategory/soccer". When I add the "/" after "com" and before "category", it works fine, but I'm not sure where in the code for the template I'm supposed to edit this. Any help would be greatly appreciated. Let me know if you need any code from my template. Thanks!

  2. Samuel B
    moderator
    Posted 1 year ago #

    what is your permalink structure?
    admin - settings - permalinks

  3. tculley
    Member
    Posted 1 year ago #

    I set it to custom: http://allshoresp.com/sample-name

  4. Samuel B
    moderator
    Posted 1 year ago #

    yes - but exactly what do you have entered in the custom field?

  5. tculley
    Member
    Posted 1 year ago #

    it says custom structure: http://allshoresp.com/archives/sample-post/

    Category base is topics
    Tag base is blank

  6. Samuel B
    moderator
    Posted 1 year ago #

    it literally has
    http://allshoresp.com/archives/sample-post/ ?
    if so, that won't work
    put this in the custom field and test
    /%postname%/

  7. tculley
    Member
    Posted 1 year ago #

    You're a life saver, thanks so much. One more question if I could bother you again, since you seem to know what you re doing.

    I was wondering if you knew what code to edit in the theme in order to move the content (posts and site headers) and and sidebar down in the page. My navigation bar gets in the way of these elements, and messes up the display of my page. When I use padding in the body section, it moves the header image down as well which is a problem.

    STYLSHEET.CSS PASTEBIN: http://wordpress.pastebin.ca/1832831

    Thanks

  8. Octoplus
    Member
    Posted 1 year ago #

    I had the same issue. I edited the custom links so it would display a shortened version of the link in the adress bar. However, it broke the Categories link.
    I edited /%postname%/ as samboll suggested and everything works perfectly.
    Many thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic