Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter jweinberger

    (@jweinberger)

    Sorry – I fixed it!

    I found a few Apache forums that suggested moving the RewriteRule first, so I tried it and it worked!

    Here’s what I have now:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    RewriteRule ^([0-9]{4})/([0-9]{2})/(.*)$ $3 [L,R=301]
    </IfModule>

    and it works fine.

    Thanks for your help! and I hope this helps someone else… ??

    Thread Starter jweinberger

    (@jweinberger)

    First, Thank you! This makes sense (and shows off my “skill” at regexps ?? )

    The Rule you offered seems to work, and validated in a tester I found (here: https://htaccess.madewithlove.be/), but still does not work on my live site.

    I included it with the standard WordPress Rewrite rules, so that my .htaccess looks like this:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    RewriteRule ^([0-9]{4})/([0-9]{2})/(.*)$ $3 [L,R=301]
    </IfModule>

    Note that I tried it with and without specifying the domain in the RewriteRule in question – same no effect.

    I also tried removing the [L] flags from the two previous RewriteRules in the hope that that might be causing Apache to stop evaluating rules (they should not be met with the URLs I’m testing, but….)

    Is there anything WordPress is doing that might affect this? Or anything else?

    Any help is much appreciated!

    Thanks!

    Thread Starter jweinberger

    (@jweinberger)

    Thank you!

    When I went to check on my PHP version at my web host, I noticed that they made 5.4 available, so I asked them to move me to 5.4.

    They did, and I tried activating the plug in again, and it worked fine. I have tested using it and playing with the settings as well and all seems fine.

    So I chose to continue with the standard release rather than the version you linked above. Sorry that it took some work to do that, but I think – hope – that’s the right choice.

    Thank you for your help!

    Done.

    The new thread is called “Two Factor Auth: PHP error trying to activate”

    Thanks for your help!

    PHP 5.3

    Got it. I thought you were responding as the author.

    I need to know if this can be resolved as standard (not my) code.

    If not, I need to find a different plug-in.

    I’ll await the author’s answer. Thanks for trying to help!

    Hi:

    Not clear what you are suggesting here. I don’t use DreamWeaver and don’t code.

    I simply clicked “Activate” on the wordpress plugin screen and this error appeared at the top of the screen.

    Clearly there is an error in your plug in. I don’t know why or what the error is.

    Not sure what you are suggesting I “look into”….

    can you help fix it?

    Hi:

    I just tried to install this, and when I tried to activate the plugin, I got the message:

    Plugin could not be activated because it triggered a fatal error.
    
    Parse error: syntax error, unexpected T_STRING in /home/jaweinberger/dsthree.com/wp-content/plugins/two-factor-auth/two-factor-login.php on line 21

    I”m using WP 3.5.1

    Help?

    Thread Starter jweinberger

    (@jweinberger)

    iridiax: thanks!

    I don’t paste from Word – I’ve had that problem a bit too often. I use TextEdit, text only format and then format in WordPress as you suggest.

    But even then, when I use multiple returns to try to create a paragraph, it simply doesn’t, returning my post to line-breaks only and no paragraph breaks when I save.

    The behavior you describe is what i want, but not what happens, sorry.

    Any other thoughts?

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