Forum Replies Created

Viewing 3 replies - 61 through 63 (of 63 total)
  • Nice article eworque. I had the same issue (wanting to rename a category slug) and when I looked in the terms table I saw why. It was because I had already created a tag that was using the slug I wanted to use. Once I renamed the tag slug, I was then able to rename the category slug (without making any changes in phpMyAdmin). Problem solved.

    For the related issue of removing /category/ from your category url’s, I’ve simply been using the WP No Category Base plugin which easily does the trick.

    Thread Starter ryanve

    (@ryanve)

    My oversight: Ouch, I forgot to change the url, in the above “Deny Comment Spam” htaccess hack, to the url for my site. That was causing the comment problem for me. So it was more of a lack of sleep issue than an htaccess issue!

    Eon-Rider: Your .htaccess file should be in your site’s main directory. Normally, if you didn’t have one you could create a text file with that name, but since you’ve installed WordPress it should definitely be there already, because installer would have generated it if it was missing (and added the code that Shane mentioned). So I think you’re either looking in the wrong place, or the interface you’re using to access your site’s files is hiding it. If you access your site via FTP you should be able to see it. In any case I hope you’re able to fix the problem, because I definitely feel your pain!

    [signature moderated Please read the Forum Rules]

    Thread Starter ryanve

    (@ryanve)

    Good call Shane. I got it to work by removing some code that I don’t need in .htaccess, I had been using the below.htaccess hack for wordpress on other sites, but this is what was causing my problem.

    #DENY COMMENT SPAM
    RewriteCond %{REQUEST_METHOD} POST
    RewriteCond %{REQUEST_URI} .wp-comments-post\.php*
    RewriteCond %{HTTP_REFERER} !.*thespinarounds.com.* [OR]
    RewriteCond %{HTTP_USER_AGENT} ^$
    RewriteRule (.*) ^http://%{REMOTE_ADDR}/$ [R=301,L]

    As soon as I removed this from .htaccess, the comments worked fine.

    Thanks!

    [signature moderated Please read the Forum Rules]

Viewing 3 replies - 61 through 63 (of 63 total)