WordPress Plugin: WP htaccess Control
Update:
WP htaccess Control is now hosted by the official WordPress plugin directory, where you’ll always find its latest version.
This plugin comes as a solution for two problems I was facing.
First, wanting to have custom rules written on the same htaccess file WordPress uses, even though respecting the tags # BEGIN WordPress and # END WordPress and writing my stuff before them, WordPress just kept on rewriting them, sometimes removing them completely, others just corrupting the file and making the whole site inaccessible.
Then, the Custom Author Permalink plugin was in urgent need of some re-write as it was doing it the wrong way really, wasting resources and deactivating very disgracefully.
So I merged the two points in one and came up with this WordPress plugin (which I’m already running as you’ll see below). The interface isn’t really in it’s final stage but the functionalities are there.
Releasing it as WP htaccess Control, it provides two functionalities:
- Establish redirection pairs to be written into your htaccess file;
- Customization of the Author Permalink Structure (or ‘base’), in a much better way than the Custom Author Permalink did.
The (current) admin page:
And the resulting .htaccess file:

The installation is simple as usual, activate it then access the page under Settings to create redirection pairs or customizing the Author Permalink Base (optional).
The plugin is in it’s first stage, and although it is fully operational I soon shall update it an with improved interface (CSS e JS).
As always, feedback is appreciated.
The admin interface as of version 1.1:


mattcav no dia 2 de Jul de 2009 às 11:40
hi,
i’ve found a problem with this plugin and my wordpress installation.
the problem it’s about .htaccess and wp permalink core. when i enable WP htaccess Control, all my permalink give always homepage. the url changes, but page don’t load.
check this discussion on wp support forum to know more:
http://wordpress.org/support/topic/215237?replies=7#post-1123569
if you want, you can write me and ask all you want know about.
MC
Não falo português mas eu entendo e qualquer um pode fazer a tradução das minhas respostas
dardna no dia 4 de Jul de 2009 às 2:55
hey,
thanks for the feedback.
I went through the thread you pointed me and nothing that could help your situation comes to my mind right now. One thing you can have for sure: the Author Permalink part has nothing to do with the htaccess file or the httpd.conf; it is a rewrite of the WP internal permalink rules.
I can not promise a quick solution but will sure look into that, I’ll be writing you an email when I get home.
Also (could it be a plugin conflict?!), have you tried using ONLY WP htaccess Control, in a vanilla WP installation? And then, what other plugins are you using?
dardna no dia 6 de Jul de 2009 às 1:36
(e-mail sent)
konisto no dia 24 de Ago de 2009 às 1:16
Hi,
I tried your plugin but unfortunately it did not work. I’m using the “WP No Category Base” plugin to show my categories without a base before it and I believe that this is not compatible with your plugin…
Feel free to write me for more info.
Até logo!
Philipp
dardna no dia 24 de Ago de 2009 às 22:21
I’ve just tried using WP htaccess Control and WP No Category Base on a vanilla WP 2.8.4 installation and both functionalities seem 100%.
(e-mail sent)
Philipp no dia 20 de Out de 2009 às 23:56
Hi,
I use your plugin and like it very much. I had problems at first but no it works fine…
One issue I can’t seem to solve is that some rules don’t seem to work.
I have a page at /suchen that returns my search results. now I would like to have a rule that says /suchen/search-word should be /suchen?q=search-word.
I’m using ^suchen/([^/]+)/?$ to filter it, but it just doesn’t work. All I get is an 404… Any idea why that may be?
Thanks a lot!
anon no dia 18 de Nov de 2009 às 20:54
Hi, thanks for the plugin. I’m wondering, what’s the easiest way to get the custom author base value from somewhere within one of my templates? I see your plugin only adds a rewrite rule and doesn’t alter the DB like your previous plugin, so I’m curious how you suggest this should be done. Thanks.
Milan no dia 14 de Fev de 2010 às 13:42
Will you provide option to add any .htaccess rule, not just one for rewriting?
dardna no dia 15 de Fev de 2010 às 5:04
please take a look at v1.2 and tell me if that makes it.
Aleksey no dia 12 de Abr de 2010 às 12:58
I already have custom rules in .htaccess, when install plugin. And after installation, i didn’t see my already exist .htaccess, it’s ok?
dardna no dia 12 de Abr de 2010 às 13:13
Yes, it is normal that those rules don’t show up. The rules that you see at the end of the plugin page are those “generated by WordPress”.
Aleksey no dia 12 de Abr de 2010 às 13:08
Also, it’s breaks quotes in custom rules, adds backward slash (“\”).
dardna no dia 12 de Abr de 2010 às 13:13
Ok, will look into that.
dardna no dia 1 de Mai de 2010 às 17:07
This should be corrected on 1.5.1, thank you for pointing it out.
christopher gaston no dia 23 de Abr de 2010 às 22:26
Is it possible to have the base name removed altogether? I can place a single period in the field and the link points to http://www.root.com/admin which is what I desire.
But I get 404 not found when I click on the link.
JAB_au no dia 2 de Mai de 2010 às 2:58
When I installed 1.5.1 it removed the WordPress entries from the .htaccess file when I made a change using the plugin. All my permalinks failed.
Had to re-insert the following lines that had been removed:
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
dardna no dia 2 de Mai de 2010 às 3:54
Ugh, sorry for that
, it is indeed a mistake made on 1.5.1 which should now be fixed on 1.5.2.
Thank you for the heads up.
Arjen no dia 23 de Jun de 2010 às 18:59
I have installed the plugin succesfully and selected the advised settings. Now I can’t use my site anymore. Both the admin and all other pages are not accessible anymore.
Anybody a solution for this problem I encounter?
Arjen no dia 23 de Jun de 2010 às 19:01
This is the message the browsers shows:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, support@mijndomein.nl and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
dardna no dia 23 de Jun de 2010 às 19:07
For the moment try deleting the .htaccess file on the root of your wp installation.
If not enough also delete this plugin files (this shouldn’t be needed).
Afterwards try each “suggested rule” with care, one at a time.
Hope this helps, get in touch if still in trouble.
dardna no dia 23 de Jun de 2010 às 19:20
Don’t use the canonical setting. I’ll be removing/explaining it in the future.
Morgan no dia 25 de Jul de 2010 às 7:30
Hi,
I installed this, changed a couple parameters, saved it, and now I can’t change any of those parameters, even when I deactivate and reactivate.
Maybe it’s because I disabled access to .htaccess in the settings? I don’t know. I did download the htaccess via ftp to see if those changes were there and they didn’t seem to be.
I am running multisite so maybe this changes something. please let me know if i’m doing something wrong. Thanks.
Agnes no dia 17 de Ago de 2010 às 11:19
Hi
This sounds like a great polugin, unfrotunately does not seem to work with me…
I am with WP 2.9.1
I have a current .htaccess file at the root of WP site, with custom 301 redirections. I was homing I cold use the plugin to edit it and add some things on the go.
WHat happens is: whatever I specify in the plugin settings, I say “save all changes”, and nothing happens:
- nothing shows in the “current htaccess file as is generated by WP”
- my htaccess file is not updated.
Do I do shg wrong?
Thanks
Agnes
dardna no dia 17 de Ago de 2010 às 12:16
Hello Agnes,
I’ve quickly tested version 1.6 of the plugin on a vanilla WP 2.9.1 and it worked.
Are you sure you have some permalink structure set (ie not “Default”)? You should for the plugin to work…
Agnes no dia 17 de Ago de 2010 às 13:46
Hi and thanks for the prompt answer.
I had a permalink in place online but not on my test local site… Now, I’ve put it on (a personalized one with /%postname%/), but still does not work. Is annoying…
What I do:
- I have my local website .htaccess at root, it is declared under apache module. It is customized with a number of instructions.
D:/Documents/Websites/www.wordpress.net/.htaccess
- I have one group under that module, called “muy htaccess”
- I have added one new redirect there
- my htaccess file is open in DW but does not prompt to reload…
Am I doing sthg wrong?
dardna no dia 17 de Ago de 2010 às 16:18
Agnes, it’s hard to diagnose from your description…
Is “Current htaccess file as it is generated by WordPress” still empty? It should be filled from the moment you “Save all changes”, even if you haven’t filled any option…
Are you 100% sure you’re looking at the right file? I believe Dreamweaver doesn’t block files but have you tried without having the file open?
Are you using any other plugin that could be causing conflict? Does the plugin work on a vanilla (clean, new) installation of WordPress, on the same server/environment? Have you tried upgrading WordPress?
Again, it’s hard to spot the error this way, maybe you care to give me access to a test environment…
Agnes no dia 17 de Ago de 2010 às 16:38
Yes I am working on the right file
I dont think another plugin causes conflict…
I rather think I have trouble to understand how to setup this plugin…
In fact, I can’t find more
“Current htaccess file as it is generated by WordPress”
although I remember I saw it!
I also tried entering sthg in Apache .htacess brut: field, but it does not do anything.
OK, rather than debugging me, may be you could tell me what would be the simple and good manner to set up the plugin to do what I want? ie:
edit an existing complex htaccess file
(or import it and add things to it from the plugin admin page)
Then I can try from a clean version… and then on my remote server
Thanks!
Agnes
dardna no dia 17 de Ago de 2010 às 16:50
Ok,
“Current htaccess file as it is generated by WordPress” is at the bottom of the plugin page.
This plugin won’t edit your already existing htaccess (it doesn’t read the existing file, it always generates a new one).
You should pick your complex rules and paste them on “Custom htaccess” (maybe rename your old htaccess) and then “Save all changes”. WordPress will then generate a new htaccess file, including those custom rules before its own.
Hope this helps.
Agnes no dia 31 de Ago de 2010 às 8:05
Hi Antonio
I have to apologize, I realize I was communicating here and trying use another plugin, redirection from urbangirafe. Thus the problems with finding the right approach and menus!
Now I ve used just yours, and it works fine as you say.
However, I have one suggestion.
My purpose again is to use your plugin to easily edit and add rules to a complex htaccss file, where I have my own redirections rules, as well as some customized WP rules (not those of JPMorgan you included, but specific ones he helped me to build through another forum – for some reason the included rules do not work well in this configuration)
So, Thanks the plugin I can put all this customized stuff before WP block, but the problem is, if I save through the plugin, it will still always add the normal WP blocka fterwards, which is wrong.
Would it be possible to add an option to omit it?
Thanks for tyour great work
Agnes
dardna no dia 31 de Ago de 2010 às 13:44
No worries…
Yes, that would be useful. I’ll be putting it together later today.
dardna no dia 1 de Set de 2010 às 6:26
Hey Agnes, check version 1.7.
Agnes no dia 1 de Set de 2010 às 8:08
Great, wonderful, I’ll fetch it, thanks!
Agnes no dia 2 de Set de 2010 às 9:37
Hello Antonio
I am playing with the new plugin v1.7, and it does work great! I am now able to easily edit and modify my htaccess rules, that is a great new thing which was not available anywhere before (I searched hard!)
Little more suggestions re this new feature:
- When I use this new “WP htaccess” block, on the side you give the “original rules”.
It is little confusing because these “original rules” seem to keep some customized things from other parts of the plugins admin, though the generated htaccess does not.
Example: I reset all. Then I copy the normal WP rules in this field, and then I add one pair. The pair does not appear in the “current htaccess as generated by WP” (and it does not show up in the .htaccess file indeed), but it appears in the “original rules” side aid of the “WP htaccess” section. Which is wrong?
- May be you should specify in the grey comments, that using this field will replace / override any other setting placed here (author base, pairs, etc)
- in terms of wording, I would thus call this new “wordpress htaccess” field something else, as opposed to “custom htaccess” above. May be “custom htaccess initial rules” (for the ones that appear before WP rules) and “custom htaccess set of rules” (for the one that replaces WP ones)?
And then place that new block last, as it does not combine with other customization options.
Other difficulties and suggestions not related with this new feature but rather with rewritebase & pairs:
- as you give many options, why not get customized the rewritebase? It would make it easier when working on localhost version.
- In fact, I am not sure if I am doing sothg wrong, but I can’t get the pairs work because of the rewritebase I think…
For some reason (when I reset all) WP has defined my rewritebase as
RewriteBase /www.mysite.com/
Although I am on http://localhost/www.mysite.com
So the pairs I request get written byt he plugin for example to:
RewriteRule ^specialites-italiennes /www.mysite.com/buffet-italien [QSA,L]
Which won’t work.
It works though if I put the following rule using the custom htaccess field that inserts this instruction above the WP block:
RewriteRule ^specialites-italiennes http://localhost/www.mysite.com/buffet-italien [QSA,L]
- Another difficulty with the rewrite base and pairs is: when I want to redirect to the HP, either I put nothing in the target URL field (and the pair is not accepted) or I write again the full path, but it gets concatenated with the base and goes wrong…! I’ve tried index.php as well, but since my base is wrong I am not sure if it works…
- To make it easier for user to figure out how to write the destination URL, I would put an example below the “rewrite pairs”, or even better, sthg that immediately shows the output that will be generated. One gets it on bottom with “saving changes” for sure, but one does not like to save wrong changes blind!
And if I use the custom field above to edit all my rules, I still could use the “pair” feature to help write and copy/paste them.
But this i really finetuning.
- Also, It would be better to keep “Reset all rules / save changes” buttons visible even when one collapses the rewrite pair.
Thanks a lot!
Agnes
dardna no dia 5 de Set de 2010 às 0:45
Hello again Agnes,
and thank you for the input!
Some of your suggestions are very pertinent and shall be corrected in the next update: the “original rules” are wrong at the moment, the order and wording of the settings blocks could be reviewed and the buttons should always be visible.
As of the “Rewrite pairs” I don’t have a simple solution. Those pairs use a wordpress hook which can’t be controlled better than it is right now which, just like you’ve experienced, narrows the results.
I am really not an “htaccess guru” and the primary purpose of this plugin is to control the htaccess file generated by wordpress. This is clearly achieved by adding your rules to the “Custom htaccess” block. I can’t take responsibility for their result (or lack of it) and wouldn’t even be able to help you.
I’ve done some tests myself using the rewrite pairs which weren’t very successful either so I am considering the removal of the whole “Rewrite pairs” block – each user should then debug its customized htaccess.
In short, you’d better not use the rewrite pairs but write your own rules. If they get “printed” in the htaccess file but do not give the expected result I can’t help you out.
Hope you get it sorted.
Agnes no dia 5 de Set de 2010 às 14:23
Hello Dardna
The plugin is very nice in giving access to customizong the htaccess.
The pairs, I think it is still useful, even if not operational in all cases, it reminds of the right grammar to write rewrites (which is good for all folks who are not experts dont want to go to the hassle of checking again, that is why we use plugins!)
If nothing else, can you not just then let the user specify full path in destination URL? That would work fine then, and be more predictable.
Thanks a lot for your work and making it available!
Agnes
dardna no dia 5 de Set de 2010 às 22:24
At the moment you get all the freedom I can give you from the hook the “rewrite pairs” are using: it can’t be used with a full path and the rewritebase can’t be specified. As I told you, for a more complete usage you should use the “custom htaccess”.
That being said, I understand that feature could be useful. I may rewrite it later or simply add a kind of memo or tutorial on common htaccess rules.
Agnes no dia 6 de Set de 2010 às 9:03
Fine, I can do (and I do) with the custom htaccess!
Thanks Agnes, Agnes
webakimbo no dia 21 de Out de 2010 às 22:04
Hi – great plugin, it’s already proving better than Advanced Permalinks, though I hope I can get this one problem solved…
I’m trying to use the plugin to create date-based category archives – in my case, posted news stories from a particular year or month. So all news stories from Dec 2005 could be found at:
/news-story/2005/12
I’ve left all settings alone except Custom htaccess, which looks like this:
[IfModule mod_rewrite.c]
RewriteEngine On
RewriteBase /etv3/
RewriteRule ^(news-story)/?$ /etv3/index.php?&category_name=$1
RewriteRule ^(news-story)/([0-9]{4})/?$ /etv3/index.php?&category_name=$1&year=$2
RewriteRule ^(news-story)/([0-9]{4})/([0-9]{2})/?$ /etv3/index.php?&category_name=$1&year=$2&monthnum=$3
[/IfModule]
This doesn’t do anything at all; I get a 404 because WP thinks it’s looking for page 12 of the category archive, instead of a date.
Thoughts on what I’m doing wrong? Thanks.
dardna no dia 22 de Out de 2010 às 0:38
…the thing is that simply using your rules wordpress matches the normal category structure so it looks for a category named “category/12″, returning the 404.
You should be able to do this using the option I’ve added on version 1.9 (you won’t need the custom htaccess).
webakimbo no dia 26 de Out de 2010 às 0:08
Just installed 1.9.1. It’s great – easiest solution I’ve seen for displaying category archives by date.
I have another plugin installed called WP No Category Base, which removes the semantically unhelpful ‘/category’ from category permalinks. But it doesn’t seem to work with your plugin – I can only access news archives by going to, for example, /category/news-story/2005/12.
Any idea why? Or how to overcome this limitation while still using your plugin?
Thanks again for the work.
dardna no dia 26 de Out de 2010 às 1:42
Removing the category base can get kind of tricky. I’ll look into it as soon as I get some time.
dardna no dia 28 de Nov de 2010 às 14:19
You should now be able to do this with the latest version.
Please tell me how it goes!
Panagiotis no dia 16 de Nov de 2010 às 7:45
hi. i use your plugin over this: http://greenhost.gr/ and sure it was helpfull
Agnes no dia 24 de Nov de 2010 às 14:03
Hello
I am usign the plugin and would like to use Jim Morgan’s rules.
However, it does not work when I use on my localhost, whatever I try to put on rewritebase.
My web site is on
http://localhost/www.mysite.com
It is on a Apache server with all options (mod_rewrite, overrideall)
I use permalinks structure /%postname%/
Ith the normal WP htaccess, it works fine, but with the Jim Liorgans I get 404 errors
Anyway to get this work?
dardna no dia 24 de Nov de 2010 às 18:45
Hi Agnes,
try using the RewriteBase and RewriteRule you see on the “Original Rules”.
You should have something like this:
RewriteEngine on
# Unless you have set a different RewriteBase preceding this point,
# you may delete or comment-out the following RewriteBase directive:
RewriteBase /www.mysite.com/
# if this request is for “/” or has already been rewritten to WP
RewriteCond $1 ^(index\.php)?$ [OR]
# or if request is for image, css, or js file
RewriteCond $1 \.(gif|jpg|jpeg|png|css|js|ico)$ [NC,OR]
# or if URL resolves to existing file
RewriteCond %{REQUEST_FILENAME} -f [OR]
# or if URL resolves to existing directory
RewriteCond %{REQUEST_FILENAME} -d
# then skip the rewrite to WP
RewriteRule ^(.*)$ – [S=1]
# else rewrite the request to WP
RewriteRule . /www.mysite.com/index.php [L]
# END WordPress
Please tell me how it goes.
Agnes no dia 24 de Nov de 2010 às 19:03
This works!
And that retains all the performance improvement expected from JDMorgans rules?
Thanks a lot
Agnes
dardna no dia 24 de Nov de 2010 às 19:36
I suppose so (as I left all the conditions intact), now the real question is:
Will you ever notice any performance improvement on a development environment?
I guess you may but generally this kind of tuning is noticeable on production sites getting a lot of traffic.
Using it on a smaller site won’t do any harm though as it will also avoid unnecessary CPU cycles.
Agnes no dia 25 de Nov de 2010 às 5:51
Hey, I am in hot Africa and on a laptop a CPU savings is time savings !
No, but the thing is: I need to add some more complicate rules, and I don’t want to risk testing on live environment, , so it is important for me the code to work locally. Thanks!
sam no dia 2 de Mar de 2011 às 1:22
very nice plugin – just installed this in latest freshest wordpress and all is working codex says untest against the latest build of wordpress
thanks and great work
Hector no dia 7 de Mar de 2011 às 17:22
Hi,
I’m getting a blank wp-admin page when I activate this plugin in WP-3.1.
If I deactivate it, the wp-admin works fine. Nobody had a similar problem?
Any hint?
dardna no dia 7 de Mar de 2011 às 20:40
Hi Hector,
I’ve tried it on a vanilla installation and had no problem.
Which other plugins are you using?
Hector no dia 8 de Mar de 2011 às 7:44
Hi Dardna,
There seems to be a conflict with plugin W3 Total Cache, which is also modifying the htaccess. To reproduce:
- Activate both plugins
- Log out
- Log back in. At this point, you get a blank wp-admin.
Disabling any of them makes it work again.
dardna no dia 8 de Mar de 2011 às 12:23
Ok, thank you for clearly identifying the issue!
I’ll look into it asap.
dardna no dia 8 de Mar de 2011 às 16:50
Hector,
I followed your exact steps and everything went fine:
I deployed the default settings on W3 Total Cache, logged out and in, and the htaccess was correctly output (with every expected rule).
Are using a non-default configuration on W3 Total Cache?
Hector no dia 8 de Mar de 2011 às 17:11
I used default settings for both plugins. When I try to log in instead of getting my WordPress desktop, I get a blank screen.
I’m not meaning the htaccess is badly generated, probably it is (even with both plugins), but I just can’t access my WordPress desktop page.
Hector no dia 9 de Mar de 2011 às 18:59
Please don’t spend anytime debugging this. Today it also failed with the plugin disabled so it may be something else.
Thanks!
dardna no dia 9 de Mar de 2011 às 21:28
Ok.
Good luck on solving it!
Tatron no dia 7 de Mar de 2011 às 21:31
Hello dardna,
the custom pegination permalink doesn’t work with wordpress 3.1.
After the upgrade all links to “page.com/(your-base)/2″ are redirected to “page.com/(your-base)/2/page/2″ and end in a 404 error.
Do you have any idea?
Regards,
Ben
dardna no dia 7 de Mar de 2011 às 22:27
Hi Ben,
I haven’t had that problem.
Have you tried resetting all options?
Are you using any other plugin that could be interfering?
I’d need a deeper look into the situation…
Tatron no dia 9 de Mar de 2011 às 18:39
you are right, that was my fault. i deactivated the redirect_canonical-filter some weeks ago and produced the problem.
however i found a bug with your redirect_canonical-function:
- the function generates double content
- page.com/?p=9655 is not redirected to the clean url page.com/post-title
- wordpress provides this basically
it yould be nice if you can help me
Fagner JB. no dia 10 de Mar de 2011 às 5:51
Bom, vou escrever em português mesmo…
Achei este plugin há pouco e vi o quanto se mostra eficiente.
Gostaria de deixar umas sugestões:
- mudar o ‘date base’ (http://wordpress.org/extend/plugins/date-permalink-base/ não funciona, pelo menos na versão 3.1)
- mudar o ‘search base’
não encontrei outro plugin que faça qualquer uma das 2 funções.
Agradeço e parabenizo-o.
dardna no dia 10 de Mar de 2011 às 12:11
Boas!
Agradeço ambas sugestões. São úteis e em breve tentarei implementar.
dardna no dia 25 de Mar de 2011 às 21:34
Juntei personalização da “search base” na versão 2.2.
John no dia 16 de Mar de 2011 às 20:31
hello dardna,
htaccess-control is a great plugin, thank you.
I have one problem since i activated your plugin:
All urls like localhost/?p=*ID* are not redirected to the real permalink localhost/*post-title*. Tatron explained the same problem.
Do you have any solution?
dardna no dia 16 de Mar de 2011 às 20:43
Tatron and John,
Thank you for the input. I’m aware of that issue and I know why it’s happening.
I’ll try to work that out as for the moment that’s needed for some of the plugin’s functionalities. Right now I don’t have the time but it’s on the list.
Again, thank you for pointing it out.
dardna no dia 25 de Mar de 2011 às 21:33
Tatron and John,
This issue should be solved in version 2.2, please tell me how it goes.
Tatron no dia 27 de Mar de 2011 às 10:12
YES! Thank you, no problems with duplicate content any more!
Tatron no dia 27 de Mar de 2011 às 10:17
I found another bug. This time the custom search permalink doesn’t work.
A query results in a page like “page.com/?s=search-term” and not the custom search base.
dardna no dia 27 de Mar de 2011 às 18:56
Yes, check version 2.3.
Tatron no dia 27 de Mar de 2011 às 22:55
Antonio, you are my man! Thank you for your work.
I sent you a donation.
Regards,
Tatron (Ben)
dardna no dia 28 de Mar de 2011 às 0:52
What a rewarding gesture, thank you!
(e-mail sent)
SpeciMen.Tk no dia 10 de Abr de 2011 às 21:08
At “htaccess Suggestions” should be and “protect wp-comments-post.php from spammers”
dardna no dia 10 de Abr de 2011 às 21:11
Yes, it’s a must. I’ll add it asap.
Thank you.
dardna no dia 5 de Mai de 2011 às 1:14
Check version 2.4.
SpeciMen.Tk no dia 17 de Mai de 2011 às 22:50
Thank’s! Now i can get rid’ of spam.
AlZuwaga no dia 4 de Ago de 2011 às 16:43
Hi! what about a daily option for Category Archives? I mean something like:
If active, category-based archives using the Will Be accessible structure:
http://localhost/your-category-base/your-category/2010
http://localhost/your-category-base/your-category/2010/12
http://localhost/your-category-base/your-category/2010/12/01
This Will Also work if you’ve removed the base category.
That would be great
AlZuwaga no dia 5 de Ago de 2011 às 14:35
Hello again. I think this would do the trick, right?
'('.$category_nicename.')/([0-9]{4})/([0-9]{2})/([0-9]{2})/?$' => 'index.php?category_name=$matches[1]&year=$matches[2]&monthnum=$matches[3]&day=$matches[4]','('.$category_nicename.')/([0-9]{4})/([0-9]{2})/([0-9]{2})/'.$page_base.'/?([0-9]{1,})/?$' => 'index.php?category_name=$matches[1]&year=$matches[2]&monthnum=$matches[3]&day=$matches[4]&paged=$matches[5]'
I will modify it to try.
dardna no dia 22 de Ago de 2011 às 15:47
I’ll look into this asap.
Sorry for the delay.
Jules no dia 23 de Ago de 2011 às 3:37
Breaks wordpress 3.2.1 with a “headers already sent” message upon log-out.
Mike @ Rapid Purple no dia 23 de Ago de 2011 às 14:11
After the latest update to the plugin I get the following errors whenever I make a new post:
Warning: Cannot modify header information – headers already sent by (output started at /home/drivers6/public_html/rapidpurple/purpleblog/wp-content/plugins/wp-htaccess-control/wp-htaccess-control.php:1) in /home/drivers6/public_html/rapidpurple/purpleblog/wp-includes/pluggable.php on line 934
This also shows up when I upload an image.
dardna no dia 23 de Ago de 2011 às 15:55
Sorry for all the trouble.
The issue introduced on 2.5.7 was due to a wrong file encoding (which should always be UTF-8 without BOM).
Version 2.5.8 should be ok.
Syamsul Alam no dia 30 de Set de 2011 às 23:54
Hi dardna, I really love your little plugins.
It looks like you’re quite good with htaccess redirect stuff. Actually I need a plugins where people can protect their files (any files not only images) from being hotlinked — and redirect the bandwidth theft to specific page.
I knew that this kind of thing is possible using simple .htaccess trick, but I don’t know how unless someone create the wordpress plugins version of it.
If you have any plan to develop plugins like that, I’m willing to support your plugins development. Let’s get in touch via email if you don’t mind spend some time to develop something like that.
I’ll sent $10 right away to your PayPal once it done.
dardna no dia 1 de Out de 2011 às 11:40
Hi Syamsul,
I’ll look into that.
dardna no dia 1 de Out de 2011 às 13:13
Check if version 2.7 of the plugin solves it.
Chris no dia 17 de Out de 2011 às 15:25
Hi,
I just moved my WordPress site from the development subdomain (new.schoolsuppliesservice.co.uk) to the root (www.schoolsuppliesservice.co.uk).
Everything is working fine except WP htaccess Control. I am able to edit the WP htaccess Control settings, but the .htaccess file is not updated.
I have tried deactivating, deleting and reinstalling WP htaccess Control, but that did not do the trick.
Your help would be appreciated!
Chris
dardna no dia 17 de Out de 2011 às 16:23
Hi Chris,
Have you checked the htaccess file chmod settings?
Chris no dia 17 de Out de 2011 às 16:42
Bingo. I thought that 664 was enough, but it wasn’t. 666 did the trick. Thanks very much!
brett no dia 26 de Out de 2011 às 3:44
Hello
I am using your plug-in on 2 sites with the same spam plug-in. I have just copied from my “themes (Catalyst) comment.php file” that works and pasted to this site and get the error page not found? It is working properly on my other site. I have deselected all settings in your plug in, but think the re-write can not be reversed? Make sense? What is the fix to have my comments work? Thanks in advance for your help!
Brett
Guy no dia 7 de Jan de 2012 às 1:12
This looks like just the thing I need. I already removed the …/category/blog from my site. My site uses a deals theme and the developer has coded it such that every deal is at : .com/seller/deal1. I would like to use this plugin to change ‘seller’ to something else. Can you help? I would be glad to donate if you can help me figure this out!
Many Thanks
dardna no dia 7 de Jan de 2012 às 1:22
Hi Guy,
I might take a look, although I’m currently short on time, however I must know which theme you’re referring to.
I can’t promise anything but drop me an email with some more info.