• Resolved themaclady

    (@themaclady)


    I am upgrading from 2.9.1 to 2.9.2

    The automatic would not work, but I’m not surprised since the server tightened up on security.

    No problem, I just installed from scratch.

    But now, no matter how I mess with permissions on the .htaccess file, I cannot change the permalinks to my favored format, which is one that is offered.

    What to do?

    (Assuming I am attacking the correct file, which I did change to add the code.. but still does not work)

Viewing 11 replies - 1 through 11 (of 11 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    If you can’t get WP to edit it from in the permalinks section, you can just edit it manually on the sever. But since you’re saying that you did that and it’s not working … where’s WP installed?

    That is, mine’s in /public_html/ but some people have it in subfolders.

    Your .htaccess file should be in that same folder, unless you’re doing the old ‘run WP out of a subfolder, but pretend it’s in root’ trick.

    Thread Starter themaclady

    (@themaclady)

    It’s in /public_html/ but not named ‘wordpress’… would that have screwed it up?

    Thread Starter themaclady

    (@themaclady)

    I added the stuff they said to, was I supposed to delete anything in there too?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Nah, you can have WP installed anywhere ??

    As for deleting things from .htaccess, generally you don’t have to, but you MAY have a conflict. I’m assuming all this was working before, so you shouldn’t HAVE to change anything.

    Thread Starter themaclady

    (@themaclady)

    I just looked at another file similar and it just has

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /concord/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /concord/index.php [L]
    </IfModule>

    And of course the particular URL in the REQUEST.
    The Perm is 644

    So what is wrong with this?
    I knew someothing was wrong when I could not update it via the control panel… what a pain in the butt!

    I should have been able to go from .1 to .2 in a snap.. dammit.

    Thread Starter themaclady

    (@themaclady)

    Another one on the same server looks like this and is 644 and works.
    (I don’t know why it says FRONTAGE, I don’t use that yuck!)

    # -FrontPage-
    
    IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
    
    <Limit GET POST>
    order deny,allow
    deny from all
    allow from all
    </Limit>
    <Limit PUT DELETE>
    order deny,allow
    deny from all
    </Limit>
    AuthName xxxxxx.org
    AuthUserFile /home/xxx/public_html/_vti_pvt/service.pwd
    AuthGroupFile /home/xxx/public_html/_vti_pvt/service.grp
    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    try this:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /concord/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    I think you’re double-defining concord in there.

    Thread Starter themaclady

    (@themaclady)

    Another file on the SAME server has 644 and looks like this:

    # -FrontPage-
    
    IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
    
    <Limit GET POST>
    order deny,allow
    deny from all
    allow from all
    </Limit>
    <Limit PUT DELETE>
    order deny,allow
    deny from all
    </Limit>
    AuthName somedomain.org
    AuthUserFile /home/username/public_html/_vti_pvt/service.pwd
    AuthGroupFile /home/username/public_html/_vti_pvt/service.grp

    But that looks like it’s only for FrontPage… with the vti stuff and all.. It doesn’t even have WP in there.

    Thread Starter themaclady

    (@themaclady)

    EUREKA!!!!!!!!!!!!!!

    I got it to work.

    I uploaded a BLANK file, set the permissions for 777, fixed my permalinks which TOOK without giving me that bizarre ‘please edit your file now’ and then I fixed the permissions back to tight again.

    WHEW.

    It filled in its own directions for WP.

    ?? ?? ??

    Thread Starter themaclady

    (@themaclady)

    Now it will be interesting to see if when 2.9.3 comes out I can update from within the controls.

    I could just delete it again before I do?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    I’d probably copy it to backup.htaccess and see if it’s fine.

    That’s very odd, though. Normally you don’t have to worry about that once it’s set. Did you run any plugins that might have played with it?

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Upgrade and .htaccess file’ is closed to new replies.