.htaccess, the file which control the Apache webserver, is very useful and allows you to do a lot of things. In this article, let's see how .htaccess can help you with your WordPress blog, for both security,functionnality and usability.

Warning

When editing or modifying the .htaccess file of your WordPress blog, make sure to always have a backup that you can restore in case of something went wrong.

1 – Redirect WordPress RSS feeds to feedburner with .htaccess

Which blogger doesn’t use feedburner? Sure, feedburner is a very nice service, allowing you to know how many people suscribed to your rss feeds. The only problem is that you must edit your theme files to manually change the rss url. Happilly, there’s a nice hack, using .htaccess, which will make you save a lot of time!
Don’t forget to modify line 6 before applying this code!

# temp redirect wordpress content feeds to feedburner
<IfModule mod_rewrite.c>
 RewriteEngine on
 RewriteCond %{HTTP_USER_AGENT} !FeedBurner    [NC]
 RewriteCond %{HTTP_USER_AGENT} !FeedValidator [NC]
 RewriteRule ^feed/?([_0-9a-z-]+)?/?$ http://feeds2.feedburner.com/catswhocode [R=302,NC,L]
</IfModule>

Source: How to redirect WordPress rss feeds to feedburner

2 – Remove /category/ from your WordPress url

By default, WordPress category permalinks are displayed that way:

http://www.catswhocode.com/blog/category/wordpress

As you can see, the category in the url is pretty useless. Here’s how to remove it:
First backup your .htaccess file. Then, open it and append the following line:

RewriteRule ^category/(.+)$ http://www.yourblog.com/$1 [R=301,L]

Once saved, your categories pages will be displayed like this:

http://www.catswhocode.com/blog/wordpress

Source: How to remove category from your WordPress url

3 – Using browser cache

A very good way to optimize your blog loading time is to force the use of the browser cache. This code will not improve your blog loading time directly, but it will save some work to the server by sending a 304 not modified status when the requested element haven’t been modified.

FileETag MTime Size
<ifmodule mod_expires.c>
  <filesmatch "\.(jpg|gif|png|css|js)$">
       ExpiresActive on
       ExpiresDefault "access plus 1 year"
   </filesmatch>
</ifmodule>

Source: Comment accelerer le temps de chargement de votre blog

4 – Compress static data

Do you know that it is possible to send compressed data to the visitors, which will be decompressed by the client? This code will definitely save you (and your visitor) bandwidth and reduce your pages weight.

AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml application/xhtml+xml text/javascript text/css application/x-javascript
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4.0[678] no-gzip
BrowserMatch bMSIE !no-gzip !gzip-only-text/html

5 – Redirect Day and name permalinks to /%postname%/

The first thing to do is to login to your WordPress admin, go to Settings → Permalinks and select custom. Fill out the field with /%postname%/.
Your permalinks will now look like the ones on this blog:

http://www.yourblog.com/name-of-the-post

Now we got to redirect all backlinks using the old permalinks structure to the new permalink structure. To do so, you’ll have to edit the .htaccess file, located in WordPress root directory.
Paste the following line in your .htaccess:

RedirectMatch 301 /([0-9]+)/([0-9]+)/([0-9]+)/(.*)$ http://www.domain.com/$4

Allright! You just changed your permalinks structure without loosing any backlinks!
Source: Redirect day and name permalinks to postname

6 – How to: Deny comment posting to no referrer requests

Are you sick and tired about the daily amount of spam comments received? Sure, there’s akismet, but here’s a little .htaccess trick to prevent spammers posting on your blog. The fact is that most spammers uses bots comming from nowhere. This code will look for the referrer (the page from where the commentator come from) and will deny commenting if the commentator try to access the wp-comments-post.php file without directly comming from your blog.
Just change the line 4 and specify your blog url there.

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

Source: How to deny comment posting to no referrer requests

7 – Redirect visitors to a maintenance page

When you’re upgrading your blog, or making theme/design changes, it isn’t a good idea to let people see your blog being tweaked, sometimes with design or code problems, or even worst, security gaps.
The solution is to design a nice “maintenance page” and temporarily redirect your visitors to that page until you finished the maintenance.
Replace maintenance.html (line 2) by the page you’d like to redirect your visitors, and the IP adress on line 3 by your own ip.
Note that a 302 redirection is used, to avoid search engines indexing the maintenance page instead of your real homepage!

RewriteEngine on
RewriteCond %{REQUEST_URI} !/maintenance.html$
RewriteCond %{REMOTE_ADDR} !^123\.123\.123\.123
RewriteRule $ /maintenance.html [R=302,L]

Source: Comment faire une page d’accueil pour les internautes

8 – Protect your WordPress blog from hotlinking

Hotlinking is the use of an image from one site into a web page belonging to another site. Many bloggers are hotlinked, and have their bandwidth used on another websites. This very helpful code will protect your WordPress blog from hotlinking.

RewriteEngine On
#Replace ?mysite\.com/ with your blog url
RewriteCond %{HTTP_REFERER} !^http://(.+\.)?mysite\.com/ [NC]
RewriteCond %{HTTP_REFERER} !^$
#Replace /images/nohotlink.jpg with your "don't hotlink" image url
RewriteRule .*\.(jpe?g|gif|bmp|png)$ /images/nohotlink.jpg [L]

Source: How to protect your WordPress blog from hotlinking

9 – Allow only your IP adress on the wp-admin directory

Excepted the case of a collaborative blog, only you should be allowed to visit the wp-admin directory. If you have a static IP, this code will do the job.
All you have to do is to enter your static IP adress on line 8. Note that you can add more IPs if needed, by creating a new line with: allow from xx.xx.xxx.xx inside.

AuthUserFile /dev/null
AuthGroupFile /dev/null
AuthName "Example Access Control"
AuthType Basic
<LIMIT GET>
order deny,allow
deny from all
allow from xx.xx.xx.xx
</LIMIT>

Source: Protecting the WordPress wp-admin folder

10 – Banning a WordPress Spammer With .htaccess

You know it, spam is very annoying. In the case of a particular person/bot spamming you, you can easily avoid it by blacklisting the IP.
Simply replace the IP adress on line 3 by the spammer’s IP. You can add more spammers by creating a new line with deny from xxx.xx.xxx.xxx inside.

<Limit GET POST>
order allow,deny
deny from 200.49.176.139
allow from all
</Limit>

Source: The easiest way to ban a WordPress spammer

Related Posts

No related posts.
 

139 Comments

  1. Posted March 19, 2009 at 11:16 am | Permalink

    Nice collection of hacks.

    Should point out on #9 – this rule needs to be put into the .htaccess file in the wp-admin folder – NOT in the blog/root folder.

    • Robert
      Posted February 26, 2010 at 9:19 am | Permalink

      In Hack 9 it’s not deny,allow it’s allow,deny. If incomming doesn’t match the deny nor allow condition set then the second is followed as allow all if you have deny,allow and deny all if you have allow,deny.

      • Posted June 7, 2010 at 9:31 am | Permalink

        @Robert – Your reply almost gave me a headache! LOL ;) but thanks for the tip on HACK #9

        • Samuel
          Posted June 26, 2010 at 9:30 am | Permalink

          Tip #9 is still not fixed. It cannot be in the root, or you will deny access to all but your own IP. It must go in wp-admin/

    • Posted July 27, 2010 at 4:45 am | Permalink

      It works when you put into the .htaccess file, make sure you have a static IP

  2. Posted March 19, 2009 at 12:36 pm | Permalink

    8 – Protect your WordPress blog from hotlinking

    It will be necessary to try necessarily, and that in manual each time to change names of files tires, at the same time and protection against theft of a content.
    Thanks for the information

  3. Posted March 19, 2009 at 12:40 pm | Permalink

    Ya, that’s impressive!
    I’ve found a lot of really useful tricks.
    It’s interesting to imagine – if you enable all this, your blog will look like a medieval castle, where no enemy can get inside. lol :)

  4. Posted March 19, 2009 at 12:58 pm | Permalink

    Very nice article. Just retweeted it.

  5. Posted March 19, 2009 at 1:13 pm | Permalink

    Nice top 10, especially the “Deny comment posting to no referrer requests”. Thanks a lot !

  6. Posted March 19, 2009 at 1:21 pm | Permalink

    Great Hacks! im liking the whole saving bandwidth thang – that can be a problem when you got a load of popular blogs on your poor lil’server! ;-)

  7. Posted March 19, 2009 at 1:26 pm | Permalink

    some of these cab be done through plugins but all of them are still very usefull

  8. Posted March 19, 2009 at 1:40 pm | Permalink

    Thank you for these useful tips.

  9. Posted March 19, 2009 at 2:26 pm | Permalink

    Nice list of WP hacks. Thanks a lot !

  10. Posted March 19, 2009 at 2:41 pm | Permalink

    This is a great list. You do a great job with your blog of really digging into deep aspects of developing a wordpress site and it really has helped me with my blog. I might try and change some of these things.

  11. Posted March 19, 2009 at 3:44 pm | Permalink

    Great tips! I’m going to employ most of them, especially the wp-admin hack.

  12. Posted March 19, 2009 at 4:01 pm | Permalink

    Already saved in my bookmarks, thanks a lot ! :cool:

    Just a question for #2 : deleting “category” could be negative for SEO or not ?

  13. Posted March 19, 2009 at 4:36 pm | Permalink

    Yes, at least I find good info. Thanks

  14. Dan
    Posted March 19, 2009 at 4:57 pm | Permalink

    Very nice indeed! Thank you!

  15. Posted March 19, 2009 at 5:31 pm | Permalink

    Hi,

    Thanks for this article, it’s going to be really useful for me, in fact – essential! I’ve dugg this article.

    In response to Comment #7, plugins are bloat. I’d prefer not to use plugins if possible.

  16. Posted March 19, 2009 at 5:41 pm | Permalink

    A great article! Congrats jbj! That’s what I love to read! I am going to add it to wpvote right away!!

  17. Posted March 19, 2009 at 6:10 pm | Permalink

    re: #8 (hotlinking), we had a competitor stealing our images. In such cases, the options are:
    1) refuse foreign references, as this solution does
    2) redirect to offensive image to hasten the takedown (immature, funny, but without goatcxe, lacking “oomph”)
    3) redirect to an advertisement for our site

    I opted for #3, I redirected to a lighter-weight image of the site to bring in more clicks. Also, considered swapping out my own reference to that image (only one local ref) and making a permanent redirect for the original reference, with the idea that the discussion plus the 301-redirect to my content actually improves SEO around that subject — the foreign hotlink costs me less bandwidth, but brings in traffic and SEO ranking :)

  18. Posted March 19, 2009 at 6:32 pm | Permalink

    @Alan Clark,

    I like that solution. I must remember that one. :-)

  19. Posted March 19, 2009 at 7:15 pm | Permalink

    One slick and long list… stumbled it.

  20. Posted March 19, 2009 at 8:44 pm | Permalink

    Awesome post.. thanks man! just a quick question though. Where should I copy these codes and how can i find this file that you mentioned? Im trying to use the hotlinking code you posted here.

    thanks again…

  21. Posted March 19, 2009 at 8:45 pm | Permalink

    Tried the “Remove /category/ from your WordPress url” and it didn’t work. Should the code be placed in the .htaccess file in the blog/root folder or elsewhere?

  22. Posted March 19, 2009 at 9:04 pm | Permalink

    I’ve always been sorta scared to touvh the htaccess file, but I realized its fine. Just to back it up.

    Anyway, nice post, I like the one with feedburner, probably the most popular one.

  23. Posted March 19, 2009 at 9:21 pm | Permalink

    superb post!! bookmarked and tweeted :) But I particularly don’t like the first hack. it defeats the purpose of feed structure of Wordpress.

  24. Posted March 19, 2009 at 10:40 pm | Permalink

    Great post very informative. Imma wimp when it comes to messing with the .htaccess but I’v learnt somethings which am gona impelent. Thanks for the advice n tips.

  25. Posted March 19, 2009 at 10:57 pm | Permalink

    awesome!
    i found in my htacess old code and remove this… and now is my blog faster then before. Thx for this article!

  26. Posted March 20, 2009 at 12:50 am | Permalink

    “i found in my htacess old code and remove this… and now is my blog faster then before.” It’s the same to me! Thx!!

  27. Posted March 20, 2009 at 10:08 am | Permalink

    Your tipps are extremly helpful to secure/setup my own wordpress blog. Thanx a lot!

  28. Posted March 20, 2009 at 6:42 pm | Permalink

    @ Allan i think i am going to do the same thing and show an ad for my site.

    Great list of tips and tricks i am defiantly going to implement a few of them.

  29. Posted March 20, 2009 at 7:49 pm | Permalink

    Nice collection of tips. Still, have you tried #4 yourself? It seems not to work (checked with YSlow), components still aren’t gziped.
    As for #6, unfortunately, it’s really easy to set the referrer and user agent, from any server-side script, loads of bots are that advanced. Did you notice any improvement with it?
    Cheers.

  30. Posted March 21, 2009 at 1:00 pm | Permalink

    @ Maigret – removing category won’t matter unless you want to rank for that word :)

    Re #3 – is this required if you’re using the WP Super Cache plugin? It seems to do client side caching as well as server side. Not sure though.

  31. Posted March 23, 2009 at 6:02 am | Permalink

    Wow, what a great and detailed guide, very helpful, just subscribed, thanks!

  32. Posted March 23, 2009 at 5:49 pm | Permalink

    What more can I say? Seriously impressed with this post. Thanks.

  33. Posted March 23, 2009 at 9:08 pm | Permalink

    Good Info, I’am try on my blog

  34. Posted March 23, 2009 at 10:07 pm | Permalink

    Thanks for the wonderful list.

  35. Posted March 23, 2009 at 11:14 pm | Permalink

    Nice list of .htaccess codes I think many WordPress (and other) users will like.

    Stumbled your article. Thanks.

  36. Posted March 24, 2009 at 1:52 am | Permalink

    Very useful, thanks! ;-)
    Emanuele

  37. Posted March 24, 2009 at 4:02 pm | Permalink

    Another great tutorial. Thanks.

  38. Posted March 24, 2009 at 9:39 pm | Permalink

    Excellent wordpress hacks collection. I think everyone should at least implement those security hacks, as you never know when your blog will come on hacker’s mind.

  39. Posted March 25, 2009 at 3:55 pm | Permalink

    I am assuming that you need %/category/% in your permalink structure active in order to the RewriteRule to function?

  40. Posted March 27, 2009 at 3:41 am | Permalink

    This is a very solid article. Its utilization to redirect wordpress rss feeds to feedburner is genius. I also like the idea of using .htaccess to ban spammers. That definitely is going to come in handy!

  41. Posted March 27, 2009 at 6:42 am | Permalink

    Super Article!

    On our site we have comments turned off, however in a dashboard you can still see the huge list of spams trying to get in via wp-comments-form.php and mostly from auto insurance sites, since we’re in that business. Hopefully we put the stop on that.

    Thank you so much, I already add the lines to my .httacess,
    Emil

  42. Posted March 27, 2009 at 10:43 am | Permalink

    Great collection of .htaccess hacks. Hacks about restricting all to wp-admin dir and preventing hot linking is very useful.

  43. Posted March 27, 2009 at 4:55 pm | Permalink

    Excellent article. I was not aware you could do so much in the .htaccess file. I build wordpress sites almost exclusively. Good to know now how much flexibility I have in the .htaccess file.

    Thanks.

  44. Posted March 28, 2009 at 1:54 pm | Permalink

    I think there is allready a plugin to redirect standard rss feed to Feedburner rss feed.

  45. Posted March 28, 2009 at 9:39 pm | Permalink

    Yeah but why would you ever want to use a plugin when there is no need.

    Plugins increase load time of your site and also pose possible security issues to your blog. Last week, someone tried to hack our blog using a security hole in the wp-adverts plugin. We don’t use that plugin, however.

    Whenever you can do something without a plugin, especially if it’s through .htaccess, that’s the way to do it.

  46. Posted April 1, 2009 at 9:00 am | Permalink

    Excellent collection, already tweeted/sent this to everyone I know.

    Re: 2) there is some value to your categories being identified as such to Google, same for Tags if you use them (which I hope you do, ideally with SimpleTags plugin which rules over Wordpress’ native tag handling).

    Re: 5) nice trick, of course one should set this up in the way you describe from the beginning…

    Re: 6) I’ve found the YAWASP Plugin to catch 99% of spam via a very simple yet genius method that doesn’t require captchas and doesn’t have the overreach problems that Akismet has (I have Akismet turned off in fact).

  47. Posted April 1, 2009 at 1:34 pm | Permalink

    Looks you’ve done a great job on .htaccess. I’d like to warn everyone – try it first before you put in on online server. Or backup your previous copy if you’re not 100% sure what you’re doing.

  48. Posted April 1, 2009 at 4:53 pm | Permalink

    #6 is awesome! I was wondering how I could possibly stop all the spambot comments easier. I never even thought about the .htaccess file. Duh. Great bit of code. Mucho thanko.

  49. Posted April 1, 2009 at 6:19 pm | Permalink

    Bookmarked! This post was a life saver for getting your blog running well on wordpress. I really liked the redirect feedburner.

  50. Posted April 2, 2009 at 12:01 am | Permalink

    Yeah I agree. Why use a plugin when everything you need can be found here (or with a quick google search).

  51. Posted April 2, 2009 at 8:13 am | Permalink

    Who needs plugins? You may start to disable some of it and make sa .htaccess tweaks which really comes in handy. Well, How I wish (again) I can do this for blogger platforms.

  52. Posted April 2, 2009 at 9:11 am | Permalink

    this is a great tutorial. very useful information.
    many thanks to you

  53. Posted April 3, 2009 at 2:09 am | Permalink

    I hadn’t even put two and two together on the rss feeds. Way to make the most out of it by redirecting to feed burner. This was a great list and I appreciate the suggestions. I hope to see some more soon!

  54. Posted April 3, 2009 at 4:08 am | Permalink

    Wow.. great!!.. thansk for sharing.

  55. Posted April 4, 2009 at 5:19 am | Permalink

    In regards to the feedburner hack do you just replace the http://feeds2.feedburner.com/catswhocode portion with our own code?

  56. Posted April 6, 2009 at 8:07 am | Permalink

    Thanks for the hacks. With regard to #7, can I use it redirect to another site (e.g. http://abc.com and how should I rewrite the code below

    RewriteCond %{REQUEST_URI} !/maintenance.html$

    Is this correct?

    RewriteCond %{REQUEST_URI} !abc.com$

  57. Posted April 6, 2009 at 9:25 pm | Permalink

    Thanks for this nice tricks! Especially for the deny comments and hotlinking one!

  58. Posted April 7, 2009 at 3:57 am | Permalink

    re #1 – there’s a plugin for that, which lets you avoid mucking around with (and potentially screwing up) your .htaccess.

  59. Posted April 7, 2009 at 6:34 am | Permalink

    Mezanul
    Just remember though, if you stop hotlinking to images on your site you may be denying people a way to find your site. I get traffic from people searching Google and Yahoo Images.

    Toronto Plastic Surgeon
    See my previous comment. Plugins can slow down the load time of your blog and also provide possible security holes. I’ve been on the WP forums for awhile and there are a number of people’s blogs which have been hacked due to security issues with some plugins.

    .htaccess is always the best way to do things. It’s read before your website is even visited.

  60. Posted April 8, 2009 at 12:15 am | Permalink

    #1 would have helped everyone switch their feeds over to the new feeds2 URLs

  61. Posted April 8, 2009 at 4:36 am | Permalink

    yeah, i agree with John Hoff. sometimes hotlinked image can drive me some traffics. I don’t care about bandwidth because i host my files in Google (blogspot) :)

  62. Posted April 8, 2009 at 10:00 am | Permalink

    Thanks. Modifying the htaccess file can be quite challenging. The tips are really useful and I can see right away that I can use a number of them on my blogs.

  63. Posted April 8, 2009 at 12:50 pm | Permalink

    Nice list of WP hacks. Thanks a lot !

  64. Posted April 9, 2009 at 6:57 pm | Permalink

    Fantastic! The category removal from the directories has stumped me. This question might get me railed but it is possible to have an htaccess file in multiple directories on the site correct? I have only use WP for stand alone installations, not to hang on a website.

  65. Posted April 10, 2009 at 6:59 am | Permalink

    I think some of these hacks are not required. They can be done straight from the settings panel. One hack which I know can be done from settings is hack # 2. It can be done from the permalink structure settings from inside wp-admin.

  66. Niazi
    Posted April 10, 2009 at 3:45 pm | Permalink

    I want to add my own ModRewrite Rule in wordpress blog. Then what should i do ??

    You can also answer me on niazi587 at gmail dot come

  67. Posted April 11, 2009 at 10:13 am | Permalink

    Very useful article. Thanks for sharing.

  68. Posted April 13, 2009 at 3:43 pm | Permalink

    I’am planning to have my own site.. thanks for this idea. really helps me a lot. I know more blogger are been helped by this topic.

  69. Posted April 13, 2009 at 8:59 pm | Permalink

    I just tried the remove /category/ from the URL.
    RewriteRule ^category/(.+)$ http://www.yourblog.com/$1 [R=301,L] on my blog.
    It works, but when you get to any categories, it won’t let me access pages, like /page/2/ without getting a 404 error.

    It appears that I need something to handle the pages.Any suggestion how to handle the following, /page/*/

  70. Posted April 15, 2009 at 8:44 pm | Permalink

    i already know all this tips. Just beaware of tip number 8 . In fact, you might get penalized by Google. I also think there could be some issue when Google Images try to display your blog pitures in its results…

  71. Posted April 16, 2009 at 9:34 am | Permalink

    Finally a clear article about htaccess tips !

    2 questions though : is there an easy way to set up a password at the homepage (and the whole blog) ?

    My default htaccess is like this :

    # BEGIN WordPress

    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]

    # END WordPress

    Where should I insert the code you provide ? Anywhere between the two “#” tags?
    thx

  72. Posted April 16, 2009 at 10:15 am | Permalink

    Yeah blocking bots is a great way to save a lot of time on comment moderation. Plus you know you won’t miss out on anything important since there hasn’t been one instance in the history that the bot would make a wirthwile comment.

  73. Posted April 16, 2009 at 6:55 pm | Permalink

    Emal
    You can put it above as the very first item (above the first #) or below the last #, either way will work.

    All the # are, are comments.

    If you’re not familiar with .htaccess, then the easiest way to password protect either a directory or your entire site (i.e. password protect your root) is to set up password protection through your web hosting control panel. Log into your control panel and look for an icon or something name “Password Protect”.

  74. Posted April 17, 2009 at 11:35 am | Permalink

    Thanks for sharing

  75. Posted April 24, 2009 at 10:36 am | Permalink

    Thank you very much for this awesom htaccess hacks. I have used 2-3 from the list. WIll try using the rest of them.

  76. Posted April 26, 2009 at 5:00 pm | Permalink

    Thanks for the wordpress hack list – this will help me setting up things I wanted to.

  77. Posted April 28, 2009 at 10:30 am | Permalink

    How does the security with those hacks look?

  78. Posted April 28, 2009 at 6:57 pm | Permalink

    These are definitely some great .htaccess tricks. I have actually used a few of these myself. Another resource that I thoroughly enjoy when it comes to .htaccess tricks is at http://perishablepress.com/press/2006/01/10/stupid-htaccess-tricks/. You can find a ton of different .htaccess stuff there, from optimization to security.

  79. Posted May 8, 2009 at 3:26 am | Permalink

    awesome tips, thanks a lot.

    you can do the same thing with categories in the permalink sections by using “/.” but it does throw out ome issues with pagination (does the htaccess change work with pagination?)

    protecting from hotlinking images is really great.

    great post!

  80. Posted May 8, 2009 at 7:09 am | Permalink

    Awesome stuff, thanks

  81. Posted May 9, 2009 at 10:47 pm | Permalink

    i already know all this tips. Just beaware of tip number 8 . In fact, you might get penalized by Google. I also think there could be some issue when Google Images try to display your blog pitures in its result

  82. Posted May 12, 2009 at 4:52 pm | Permalink

    Just like the user before me mentioned, there’s no such a thing as hacking into your email account using nothing more than your email address. Unless it’s an inside job. Whatever you are using for blog.

  83. Posted May 17, 2009 at 6:58 am | Permalink

    Good tips. I only used this in the past to restrict folder access.

  84. Posted May 22, 2009 at 12:31 am | Permalink

    #7 sorted me out! I was using a dodgy plugin that was doing some crazy stuff to my website and yet adding a maintenance page is soooo easy!

    Thanks.

  85. Posted May 25, 2009 at 11:58 pm | Permalink

    Hey, some good stuff here, I lost 2 hours trying to work out some stuff, found this page and it took me 5 minutes!

    Nice blog too, keep up the good work.

  86. Posted May 28, 2009 at 9:34 am | Permalink

    Thanks much for those awesome tips

  87. Posted May 30, 2009 at 2:32 am | Permalink

    Hi,
    Previously I was using a plugin called “Top Level Cats” to remove “category” from url. When I tried to upgrade WP to the latest version, that plugin started giving problem.

    Thanks to your tip, I have now upgraded to WP 2.7.1 and everything is working perfect. Thank you so much. :)

  88. Posted May 31, 2009 at 12:19 am | Permalink

    that category hack has saved my ass. However now have to wait for Google to reindex the new pages :S

  89. Posted May 31, 2009 at 12:53 pm | Permalink

    Thanks for the great htaccess tips

  90. ody
    Posted June 2, 2009 at 7:02 pm | Permalink

    Hi!, I can´t upload the .htaccess file…
    553 Can’t open that file: Permission denied
    Error: Critical Error

  91. Posted June 3, 2009 at 11:22 am | Permalink

    8 and 9 were worth the click alone. thanks.

  92. Posted June 3, 2009 at 5:22 pm | Permalink

    Yes! The answers I’ve been looking for, I can’t sleep again! thankyou

  93. Posted June 11, 2009 at 1:23 am | Permalink

    The tip #8 is is awesome, but I am wondering about the following… besides having ftp access to the server, I only have the Google Analytics stats, I am wondering.. how do you find out without blocking them first, who is using your images, and content? I would much rather see who is using it, as opposed to blocking them first, hehe.

    -Randy

  94. Posted June 11, 2009 at 2:40 pm | Permalink

    Yes! The answers I’ve been looking for, I can’t sleep again! thankyou

  95. Posted June 12, 2009 at 11:53 pm | Permalink

    There are many addons that can do these things, but I still believe using .htaccess is still the best and ONLY way to do these.

  96. Posted June 13, 2009 at 7:27 pm | Permalink

    Thank you very much for this awesom htaccess hacks

  97. Posted June 18, 2009 at 11:55 pm | Permalink

    Thanks for the great info on this post. I just found out about the htaccess file, but I didn’t realize you could do so much with it.

  98. Posted June 23, 2009 at 8:22 am | Permalink

    Very useful tips :) .. keep them coming…

  99. Posted June 26, 2009 at 4:20 am | Permalink

    Hey Jean-Baptiste,

    Just want to say thank you. My stuff drove me nuts with .htaccess. Please keep it up.

    Once again thanks,
    Jon

  100. Posted June 26, 2009 at 3:36 pm | Permalink

    Great tips, just re-tweeted this post. In particular, #4, #8 and #9 are what I need to do today!

    Thanks again,
    Jules

  101. Posted July 3, 2009 at 3:21 pm | Permalink

    Wow! Jean, Thank you so much for sharing. Found two tricks listed here which I have been looking everywhere for. -Tom

  102. Posted July 21, 2009 at 12:54 pm | Permalink

    Thanks for the great tips/tricks in htaccess that we all need it.
    only facing one problem after using couple steps in here.
    all my urls ending with (.htm) is there is any htaccess rule/tip to remove that and just get clean url?
    thanks again

  103. Posted July 30, 2009 at 5:12 am | Permalink

    hi
    i need your help i am new to wordpress my questions are

    1. is it possible to publish the posts in different directories like if i post it shows
    “www.example.com/your-post” i want to publish the post like “www.example.com/computers/your-post”
    and “www.example.com/internet/your-post”

    2. i install wordpress and i change the permalink settings from “default” to “month and name” and after saving it says “You should update your .htaccess now” but i don’t know where it is and what to update in it.

    i have publish no any posts

    Please help

  104. Tubagus Rusmawan
    Posted August 5, 2009 at 5:07 am | Permalink

    hi..

    i am new to wp. if i want to use all the .htaccess hacks, can anyone show me how to write all the .htaccess hacks in just one .htaccess file?

  105. Posted August 6, 2009 at 8:46 am | Permalink

    That’s pretty cool!!

  106. Posted August 28, 2009 at 11:06 am | Permalink

    Great post,
    I really dont know about .htaccess file, but thanks for posting.

  107. Posted September 3, 2009 at 11:58 pm | Permalink

    Nice list. Really like the protecting your wp-admin directory to a single ip. Bookmarked!

  108. Posted September 13, 2009 at 6:47 pm | Permalink

    2 questions though : is there an easy way to set up a password at the homepage (and the whole blog) ?

  109. Posted September 14, 2009 at 4:15 pm | Permalink

    @ sikiÅŸ – The easiest way to do that if you’re not familiar with .htaccess rules is to simply set up a password protection system through your web hosting control panel.

    Most all hosting companies provide this service. Just a few clicks and you can password protect any directory, including your root.

  110. Posted September 18, 2009 at 5:33 am | Permalink

    Hey Jean, good list of hacks all put together in a nice and easy way. I wasn’t aware that you could utilize .htaccess file so effectively.

  111. Posted September 27, 2009 at 12:31 am | Permalink

    hi..

    i am new to wp. if i want to use all the .htaccess hacks, can anyone show me how to write all the .htaccess hacks in just one .htaccess file?

  112. Posted October 6, 2009 at 1:36 pm | Permalink

    Some great tips. Thanks for sharing

  113. Posted October 7, 2009 at 2:33 pm | Permalink

    Very nice article, thanks for sharing.

  114. Posted October 12, 2009 at 8:27 am | Permalink

    Many thanks for the resources. I find tip #3 – Using Browser Cache particularly useful.

  115. Posted October 17, 2009 at 8:56 pm | Permalink

    2 questions though : is there an easy way to set up a password at the homepage

  116. b00m
    Posted October 20, 2009 at 3:13 am | Permalink

    Hi there Jean,

    What if I want to change this:

    …link rel=”stylesheet” href=”http://mydomain.com/wp-content/themes/xmnt/style.css” type=…

    to

    …link rel=”stylesheet” href=”/xmnt/style.css” type=…

    I want to hide the root address…Can .htaccess execute like that?
    If can, can You give me some example how to do it. tnx

  117. Posted October 24, 2009 at 2:16 pm | Permalink

    I want to hide the root address…Can .htaccess execute like that?
    If can, can You give me some example how to do it. tnx

  118. Posted October 25, 2009 at 5:02 am | Permalink

    If you have an established blog already, what are the negatives of switching to postname from year/month/day/postname?

  119. Andrew
    Posted November 9, 2009 at 12:51 pm | Permalink

    Hi Jean,

    I am having problem with WP blog, after upgrade to IE8

    The posts/pages can only opened if the permalinks are set in default.
    Others, will show “The webpage cannot be found” HTTP404

    How to solve? Please

  120. Posted November 10, 2009 at 11:59 pm | Permalink

    Good day,

    I’m new to Wordpress and I’m trying to add permalinks so my posts are searchable. Problem – I can’t find .htaccess to open and edit it as per wp-admin instructions. If I try and create a new file .htaccess it tells me it is already there. Is it hidden? It’s probably simple but something is escaping me!!! HELP!

  121. Posted November 26, 2009 at 3:27 am | Permalink

    Hello, thanks for the post, I have a question.

    When I insert this code to zen-cart .htaccess:

    redirect 301 /odd.html http://www.odddomain.com/new.html

    it did redirect to the new.html, but zencart add certain parameters to the end of the new url which resulted in the show up of the odd.html content while the url is new.html.

    Please help, thanks.

  122. GadgetBoyo
    Posted November 29, 2009 at 7:19 am | Permalink

    The better way to protect your wp-admin folder with this code

    Order Allow,Deny
    Deny from all

    Allow from all

    allow from xx.xx.xx.xx

    This way when users login they do just see a plain jain ugly page and they get the css loog of the wordpress login.

  123. Posted December 8, 2009 at 7:31 pm | Permalink

    Some great tips thanks for sharing with us.

  124. Posted December 11, 2009 at 6:49 pm | Permalink

    Very helpful tips. Don’t forget 644 to all files, you can be hacked easyly

  125. Posted December 23, 2009 at 11:08 am | Permalink

    These really came handy…. kudos!

  126. Posted January 1, 2010 at 7:02 pm | Permalink

    Indeed Valuable. Thanks for the share :)

  127. Posted January 2, 2010 at 3:20 pm | Permalink

    Great post! Quite a few things to use .htaccess for.

    @Alan Clark: Like your developed suggestion for #8 hotlinking. :)

  128. Posted January 4, 2010 at 8:49 pm | Permalink

    Great post! And yes…backing up your code before you start editing, can’t emphasize enough!

  129. Posted February 6, 2010 at 5:20 pm | Permalink

    very informative post…. But we should always be careful with .htaccess file.. messed up the whole site once!!!

  130. Posted February 26, 2010 at 11:28 am | Permalink

    I am currently using the following permalink structure and am looking to change it through a 301 redirect but cannot find the code that works.

    Currently permalink: /%year%/%monthnum%/%postname%.html
    Future permalink: /%postname%

    Can someone help me?

  131. Posted February 28, 2010 at 3:39 am | Permalink

    thanks verry much bro for this information, but i need an regex for the baning ip for spammer that like

    if visitor come without reff then go ban it
    if user agent come then ban go ban it
    but if visitor or user agent comes withboth of two list ( the reff and/real user agents name )its must 200

    sorry im still newb ^^ i want to learn please let me know how to to this
    but if i got thats way i will tell you too
    regards

    santosamaru

  132. Posted April 13, 2010 at 7:58 pm | Permalink

    Wow impressive article!
    Recently, I’ve created a new subdomain (the domain has a wordpress blog on it) and I’ve uploaded some avi files there. I’ve created then an html file with links pointing to these movies.

    The problem is I cannot access these files when I click on the links. Is giving me that message with “Nothing found for …”.

    I guess is related to .htaccess file or / and somehow to wordpress since I did the same thing on another domain with no worpdress on it and it works. Any ideas why this problem?
    Thanks!

  133. Posted May 3, 2010 at 7:13 pm | Permalink

    thanks! i’m new to wordpress and this is just what i’ve been looking for. good luck!

  134. Posted May 30, 2010 at 4:26 pm | Permalink

    Thanks :)
    It’s work like a thunder!
    I try my self with trick number 3 & 4..
    Now my blog load like dedicated sever! :D

  135. Posted June 4, 2010 at 2:59 pm | Permalink

    I have a question, I installed my blog in its own directory but followed Wordpress instructions to move the index so the blog can be accessed from the main index instead of going to the folder, is there a way to redirect people who try to access my installation folder to the index using .htaccess?

100 Trackbacks

  1. By wpressd.com on March 19, 2009 at 1:09 pm

    10 awesome .htaccess hacks for WordPress…

    10 Great Ways to add custom settings to Wordpress and make it more useful, and more secure!…

  2. By 10 hacks .htaccess pour Wordpress | taggle.org on March 19, 2009 at 2:20 pm

    [...] 10 hacks .htaccess pour Wordpress [...]

  3. By Lorissa Shepstone – links for 2009-03-19 on March 19, 2009 at 5:04 pm

    [...] 10 awesome .htaccess hacks for WordPress Some very useful tips here. (tags: wordpress) [...]

  4. By You are now listed on FAQPAL on March 19, 2009 at 7:32 pm

    10 awesome .htaccess hacks for WordPress…

    In this article, let’s see how .htaccess can help you with your WordPress blog, for both security,functionnality and usability….

  5. [...] 对于Apache服务器,使用.htaccess文件可以进行很多相关网络服务访问的配置。而以下的10个技巧则专门针对WordPress所进行的设置,推荐大家参考使用: 参考原文:10 awesome .htaccess hacks for WordPress [...]

  6. By Back to the fast Blog | Biggle's Blog on March 19, 2009 at 11:07 pm

    [...] diese Tipps und Tricks hier, hab ich nach langem mal wieder reingeschaut und den Schrott [...]

  7. By lillbra » Blog Archive » links for 2009-03-19 on March 20, 2009 at 2:17 am

    [...] 10 awesome .htaccess hacks for WordPress Braiga inställningar till din WP-blogg. (tags: worpress apache htaccess tips) [...]

  8. [...] 10 awesome .htaccess hacks for WordPress [...]

  9. By links for 2009-03-20 on March 20, 2009 at 10:30 am

    [...] 10 awesome .htaccess hacks for WordPress (tags: wordpress hacks htaccess) This entry was posted in Delicious. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL. « links for 2009-03-19 [...]

  10. By 考拉 on March 20, 2009 at 12:27 pm

    10 awesome .htaccess hacks for WordPress…

    通过 Apache çš„ .htaccess 实现:重定向 Feed 地址,去除分类链接中的 /category/,浏览器缓存,压缩静态数据,重定向日期格式的链接地址为 postname 格式,阻止没有 referrer 来源链接的垃圾评论,定….

  11. [...] aici. Tags: spam, [...]

  12. [...] 参考原文:10 awesome .htaccess hacks for WordPress [...]

  13. By designtick.com on March 21, 2009 at 8:22 am

    10 awesome .htaccess hacks for WordPress…

    .htaccess, the file which control the Apache webserver, is very useful and allows you to do a lot of things. In this article, let’s see how .htaccess can help you with your WordPress blog, for both security,functionnality and usability….

  14. By Web design bookmarks on March 21, 2009 at 12:50 pm

    [...] 10 awesome .htaccess hacks for WordPress [...]

  15. By BlogBuzz March 21, 2009 on March 21, 2009 at 1:15 pm

    [...] 10 awesome .htaccess hacks for WordPress [...]

  16. [...] Read full story here: 10 awesome .htaccess hacks for WordPress [...]

  17. [...] 对于Apache服务器,使用.htaccess文件允许WordPress的博客做很多事 安全,功能 和可用性。 参考原文:10 awesome .htaccess hacks for WordPress [...]

  18. By Weekend Links - Mar 21, 2009 | OMNINOGGIN on March 22, 2009 at 2:15 am

    [...] 10 awesome .htaccess hacks for WordPress – Warning When editing or modifying the .htaccess file of your WordPress blog, make sure to always have a backup that you can restore in case … [...]

  19. By Top tutorials week ending 03/21/09 | FAQPAL Blog on March 22, 2009 at 4:01 am

    [...] 10 awesome .htaccess hacks for WordPress – Cats Who Code [...]

  20. [...] 参考原文:10 awesome .htaccess hacks for WordPress [...]

  21. By Weekend Roundup #40 on March 22, 2009 at 6:30 pm

    [...] 10 awesome .htaccess hacks for WordPress [...]

  22. By Frühjahrsputz | nodomain.cc on March 22, 2009 at 8:58 pm

    [...] 22. März 2009 Kommentare Einen Kommentar schreiben Angeregt durch die Tipps bei catswhocode.com habe ich eben die Permalinkstruktur meiner Postings umgebaut und entsprechende .htaccess-Regeln [...]

  23. [...] Cum să scapi de spam 23 03 2009 AdăugaÅ£i liniile următoare în fiÅŸierul .htaccess, ÅŸi veÅ£i scăpa de spam, cel puÅ£in aÅŸa zice aici. [...]

  24. [...] Cats Who Code has a great list of ten .htaccess hacks that will do interesting things. From redirecting your RSS feed to Feedburner, to banning spammers from your blog, .htaccess can be a powerful ally in making your blog the envy of the blogosphere. [...]

  25. [...] 10 trucos .htaccess (es)| Fuente: Cats who code [...]

  26. [...] reúne una interesante colección de 10 trucos de .htaccess para WordPress con los que puedes modificar el comportamiento del servidor web Apache, y a la vez mejorar la [...]

  27. [...] Cats Who Code has a great list of ten .htaccess hacks that will do interesting things. From redirecting your RSS feed to Feedburner, to banning spammers from your blog, .htaccess can be a powerful ally in making your blog the envy of the blogosphere. [...]

  28. [...] read the .htaccess tweaks in full click here Subscribe To RSS Feed Updates (What is [...]

  29. [...] [...]

  30. [...] 注意:一下文章翻译来自英文网站:10 awesome .htaccess hacks for WordPress .htaccess文件是用来控制Apache服务器的,它很有用,并允许你做很多事,下面就介绍关于.htaccess的10个修改方法,让你的wordpress更加的安全、多功能、和可用性! 警告:在修改之前请你备份.htaccess,一边修改后出现错误你可以恢复! 1.重定向你的WordPress RSS feeds 到feedburner或feedsky feedburner和feedsky是什么,我就不再多说了,我想每个拥有blog的朋友都不会陌生吧! 查看代码 HTML1 2 3 4 5 6 7 # temp redirect wordpress content feeds to feedburner <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{HTTP_USER_AGENT} !FeedBurner [NC] RewriteCond %{HTTP_USER_AGENT} !FeedValidator [NC] RewriteRule ^feed/?([_0-9a-z-]+)?/?$ http://feeds2.feedburner.com/catswhocode [R=302,NC,L] </IfModule> [...]

  31. [...] Оригинал статьи можно найти здесь. « Любовь и [...]

  32. [...] 10 awesome .htaccess hacks for WordPress 中文译文: [...]

  33. [...] 10 awesome .htaccess hacks for WordPress [...]

  34. By Wordpress Links « Andy Widodo - development blog on April 16, 2009 at 12:31 am

    [...] 10 awesome .htaccess hacks for Wordpress [...]

  35. [...] 10 awesome .htaccess hacks for WordPress [...]

  36. [...] Magazin yoast.com WpRecipes.com catswhocode.com 0 [...]

  37. By 10 Exceptional WordPress Hacks « the gypsy on April 19, 2009 at 10:43 pm

    [...] 10 awesome .htaccess hacks for WordPress [...]

  38. By 10 Cool WordPress Hacks | Knowledge Base eDynamo on April 21, 2009 at 9:45 am

    [...] 10 awesome .htaccess hacks for WordPress [...]

  39. [...] 10 awesome .htaccess hacks for WordPress [...]

  40. By WordPress .htaccess Hacks | Web Design on May 15, 2009 at 4:27 pm
  41. [...] Fjern tilgang til mappestrukturen din. Hvis du kjenner til .htaccess, sjekk ut denne innføringen i hvordan beskytte WordPress best mulig med .htaccess. Sjekk også denne siden. [...]

  42. [...] ein Wordpress Hack in der .htaccess im neuen Wordpress Verzeichnis brachte die [...]

  43. By Hacks til WordPress « Tech.BusinessClass.dk on June 13, 2009 at 3:32 am
  44. [...] CatsWhoCode.com : Comment s’amuser avec les fichiers .htaccess ? sur cette page 10 astuces sur ces fichiers magiques ! [...]

  45. [...] 10 awesome .htaccess hacks for WordPress [...]

  46. By Tips to Speed up Wordpress | Stringer Magazine on June 18, 2009 at 2:46 pm

    [...] 2. Hack your .htaccess [...]

  47. [...] 英文原稿:10 awesome .htaccess hacks for WordPress | CatsWhoCode 翻译整理:WordPress 的 10 个 .htaccess 技巧 | 芒果 [...]

  48. By Die-for plugins » Anime² on June 26, 2009 at 5:54 pm

    [...] This article is the best source for .htaccess improvements. This is for advanced users only. [...]

  49. By WP .htaccess « YZ WEBDESIGN on June 27, 2009 at 7:58 am

    [...] 10 awesome .htaccess hacks for WordPress AKPC_IDS += “302,”;Popularity: unranked [?] Wordpress ã‚¿ã‚°: [...]

  50. [...] I’m posting this here for my own reference and for others that may find them usefull, via CatsWhoCode [...]

  51. [...] 本文转自:10 awesome .htaccess hacks for WordPress 分类: 网络应用 标签: Wordpress 评论 (0) Trackbacks (0) 发表评论 Trackback [...]

  52. By 10 awesome .htaccess hacks for WordPress on July 3, 2009 at 3:05 pm

    [...] 阅读全文:10 awesome .htaccess hacks for WordPress [...]

  53. By links for 2009-07-03 « williamlong’s blog on July 4, 2009 at 12:04 am

    [...] 10 awesome .htaccess hacks for WordPress htaccess, the file which control the Apache webserver, is very useful and allows you to do a lot of things. In this article, let’s see how .htaccess can help you with your WordPress blog, for both security,functionnality and usability. (tags: wordpress tips) [...]

  54. By links for 2009-07-03 | on July 4, 2009 at 7:04 am

    [...] 10 awesome .htaccess hacks for WordPress .htaccess, the file which control the Apache webserver, is very useful and allows you to do a lot of things. In this article, let’s see how .htaccess can help you with your WordPress blog, for both security,functionnality and usability. (tags: blog web tools webdesign wordpress blogging tutorial tips resource security howto hack examples mod_rewrite resources hacks webdev articles code wp .htaccess htaccess tutorials development php worpress webserver apache wordpress-hacks access) [...]

  55. [...] Source – CatsWhoCode/Woueb.net [...]

  56. By 10 Exceptional WordPress Hacks « Web 2.0. on July 17, 2009 at 6:44 am

    [...] 10 awesome .htaccess hacks for WordPress [...]

  57. [...] 参考原文:10 awesome .htaccess hacks for WordPress [...]

  58. [...] 来源 – CatsWhoCode/Woueb.net [...]

  59. [...] 来源 – CatsWhoCode/Woueb.net [...]

  60. By Waking Up To Problems : Thoughtless Banter on July 29, 2009 at 4:24 pm

    [...] heros or cartoon characters, get used to it). Last night I was fooling around with some Wordpress htaccess hacks, and apparently the Apache webserver did not enjoy what I was doing. This morning her memory [...]

  61. [...] 参考原文:10 awesome .htaccess hacks for WordPress [...]

  62. [...] 注意:以下文章翻译来自英文网站:10 awesome .htaccess hacks for WordPress .htaccess文件是用来控制Apache服务器的,它很有用,并允许你做很多事,下面就介绍关于.htaccess的10个修改方法,让你的wordpress更加的安全、多功能、和可用性! 警告:在修改之前请你备份.htaccess,一边修改后出现错误你可以恢复! 1.重定向你的WordPress RSS feeds 到feedburner或feedsky # temp redirect wordpress content feeds to feedburner <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{HTTP_USER_AGENT} !FeedBurner [NC] RewriteCond %{HTTP_USER_AGENT} !FeedValidator [NC] RewriteRule ^feed/?([_0-9a-z-]+)?/?$ http://在feedburner你的地址 [R=302,NC,L] </IfModule> [...]

  63. By They keep attacking my WP sites...HELP! on August 6, 2009 at 6:40 pm

    [...] 10 awesome .htaccess hacks for WordPress [...]

  64. By 30+ Useful WordPress Tutorials on August 11, 2009 at 5:13 pm

    [...] 15. 10 awesome .htaccess hacks for WordPress [...]

  65. [...] 10 awesome .htaccess hacks for WordPress [...]

  66. By Links and info for beginner blogger | The Old Gamer on August 14, 2009 at 12:36 am

    [...] 10 awesome .htaccess hacks for wordpress [...]

  67. [...] 英文原文: 10 awesome .htaccess hacks for WordPress [...]

  68. By Top 10 ways to stop spam in WordPress on August 31, 2009 at 4:31 pm

    [...] the golden rule of .htaccess – always have a backup. Further .htaccess reading is available here on CatsWhoCode and my own blog, [...]

  69. By Top 10 ways to stop spam in WordPress on September 1, 2009 at 8:35 pm

    [...] the golden rule of .htaccess – always have a backup. Further .htaccess reading is available here on CatsWhoCode and my own blog, [...]

  70. [...]   对于Apache服务器,使用.htaccess文件可以进行很多相关网络服务访问的配置。而以下的10个技巧则专门针对WordPress所进行的设置,推荐大家参考使用:   参考原文:10 awesome .htaccess hacks for WordPress [...]

  71. [...] 10 awesome .htaccess hacks for WordPress [...]

  72. [...] 10 awesome .htaccess hacks for WordPress [...]

  73. [...] the golden rule of .htaccess – always have a backup. Further .htaccess reading is available here on CatsWhoCode and my own blog, [...]

  74. [...] Jean-Baptiste tells us about 10 awesome .htaccess hacks for your WordPress blog including the ability to redirect visitors to a maintenance page while you can continue to see and work on your blog. Liknande inlägg:Wordpress i facebook och facebook till wordpressAll In One SEO Lives OnIntressant hemsida om klimatmärkningComment License Made EasyWordPress Plugin Releases for 11/13 Tipsa andra [...]

  75. [...] the golden rule of .htaccess – always have a backup. Further .htaccess reading is available here on CatsWhoCode and my own blog, [...]

  76. [...] 10 awesome .htaccess hacks for WordPress [...]

  77. [...] 10 awesome .htaccess hacks for WordPress [...]

  78. By Top 10 ways to stop spam in WordPress « Doeasyway on October 8, 2009 at 11:50 am

    [...] the golden rule of .htaccess – always have a backup. Further .htaccess reading is available here on CatsWhoCode and my own blog, [...]

  79. By Wordpress Tricks And Hacks » Softloads on October 18, 2009 at 8:49 am

    [...] 10 awesome .htaccess hacks for WordPress [...]

  80. [...] 10 awesome .htaccess hacks for WordPress [...]

  81. By Top 10 ways to stop spam in WordPress | meshdairy on October 29, 2009 at 9:08 am

    [...] the golden rule of .htaccess – always have a backup. Further .htaccess reading is available here on CatsWhoCode and my own blog, [...]

  82. [...] 对于Apache服务器,使用.htaccess文件可以进行很多相关网络服务访问的配置。而以下的10个技巧则专门针对WordPress所进行的设置,推荐大家参考使用: 参考原文:10 awesome .htaccess hacks for WordPress [...]

  83. [...] Source:Cats who code Submit this to Script & StyleDigg this!Stumble upon something good? Share it on StumbleUponShare this on del.icio.usTweet This!Share this on FacebookShare this on TechnoratiShare this on MixxEmail this to a friend?Buzz up!Share this on RedditPost this to MySpaceAdd this to Google BookmarksSubmit this to TwittleyMoo this on DesignMoo!Submit this to NetvibesShare this on Blogosphere NewsRelated Posts :Two awesome Farmville (Facebook) cheats! [...]

  84. [...] 10 awesome .htaccess hacks for WordPress – .htaccess, the file which control the Apache webserver, is very useful and allows you to do a lot of things. In this article, lets see how .htaccess can help you with your WordPress blog, for both security,functionnality and usability. – wordpress htaccess tips blog tutorial « Meine Bookmarks vom November 21st bis November 22nd [...]

  85. By WordPressçš„.htaccess设置 » 石头 on November 30, 2009 at 12:18 pm

    [...] 对于Apache服务器,使用.htaccess文件可以进行很多相关网络服务访问的配置。而以下的10个技巧则专门针对WordPress所进行的设置,推荐大家参考使用: 参考原文:10 awesome .htaccess hacks for WordPress [...]

  86. [...] 10 Awesome .htaccess Hacks for WordPress – A great collection of .htaccess hacks, including removing/category/ from your WP URLs and how to redirect visitors to a maintenance page. [...]

  87. [...] 对于Apache服务器,使用.htaccess文件可以进行很多相关网络服务访问的配置。而以下的10个技巧则专门针对WordPress所进行的设置,推荐大家参考使用: 参考原文:10 awesome .htaccess hacks for WordPress译文出自:http://e-spacy.com/blog/10-htaccess-hacks-for-wordpress.html [...]

  88. By 30+ Useful WordPress Tutorials | The Apple Tech Blog on December 14, 2009 at 4:19 pm

    [...] 15. 10 awesome .htaccess hacks for WordPress [...]

  89. [...] 10 .htaccess Tipps für WordPress [...]

  90. By WP .htaccess | YZ WEBDESIGN on February 16, 2010 at 6:29 am

    [...] via: 10 awesome .htaccess hacks for WordPress [...]

  91. [...] 10 Awesome. Hacks htaccess para WordPress – Una gran colección de. Hacks htaccess, incluyendo la eliminación / categoría / URL de tu WP y cómo redirigir los visitantes a una página de mantenimiento. Sin Respuestas to “Wordpress – Themes – Plugins” [...]

  92. [...] from all</Limit>参考:The easiest way to ban a WordPress spammer 英文原文: 10 awesome .htaccess hacks for WordPress 中文译文: 10个WordPress的.htaccess技巧 标签: Wordpress, WordPress技巧 作者: paran [...]

  93. [...] the golden rule of .htaccess – always have a backup. Further .htaccess reading is available here on CatsWhoCode and my own blog, [...]

  94. By uberVU - social comments on April 7, 2010 at 7:31 am

    Social comments and analytics for this post…

    This post was mentioned on Twitter by alaksir: Useful reference for you web geeks: 10 awesome .htaccess hacks for WordPress http://bit.ly/1V9pNY…

  95. [...] Once you’ve added these lines, save it and remove the .txt file extesion, then upload it to the root directory of your WordPress installation. There are plenty more hacks you can include in your .htaccess file. Have a look at this article if you want more information: 10 Awesome .htaccess Hacks for WordPress. [...]

  96. By 10 Exceptional WordPress Hacks « MalarVizhi on May 13, 2010 at 2:17 am

    [...] 10 awesome .htaccess hacks for WordPress [...]

  97. [...] the golden rule of .htaccess – always have a backup. Further .htaccess reading is available here on CatsWhoCode and my own blog, [...]

  98. [...] Source from: CatsWhoCode [...]

  99. [...] bout de code a été trouvé sur l’excellent CatsWhoCode, un site tenu par Jean-Baptiste Jung que je suis depuis mes débuts sous WordPress et que je vous [...]

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe without commenting

  • Smashing Network
  • Hosted by VPS.net and Akamai CDN
WordPress Appliance - Powered by TurnKey Linux