• I understand that when i try to use permalinks wordpress will try to write the htaccess file to the wordpress home dir if the htaccess does not already exist.

    Now i understand i can upload the file or create the htaccess file myself but then what happens again when wordpress needs to update this file?
    Exactly.

    That is why i am here. I want to make wordpress write this htaccess fiel itself so i know everything is working the way it should. I can update wordpress and install plugins no problem at all..no asking for ftp login or any of that sort…so so far i set things up well using suphp

    So now what exactly is the problem here that wordpress cannot write this htaccess file? or is this a false thing by wordpress saying wordpress should write the htaccess file where infact it is not a feature in the first place? i dont want to believe that…

    the whole wordpress home dir is owned by the user and all files follow worpdress standards 755 folders and 644 files…so as i said i have followed everything i should and wordpress cannot write this htaccess file

    What do i do from here to make wordpress write this file?

    Thanks

Viewing 12 replies - 1 through 12 (of 12 total)
  • What do i do from here to make wordpress write this file?

    Contact your host, this works quite well for those who have write permissions by WP setup correctly.

    Thread Starter therealwebguru

    (@therealwebguru)

    i am the host
    so no second party or third party here
    the permissions are setup correctly and it is not writing the htaccess file

    i am the host

    Please provide some additional information on this…is this just a local install or you run the remote server? If so, explain either in detail.

    Thread Starter therealwebguru

    (@therealwebguru)

    someone please let me know what troubleshooting to do here?

    Thread Starter therealwebguru

    (@therealwebguru)

    it is a local install on my linux virtual machine…everything else works…i can update plugins and themes no problem…so not sure what is wrong

    Hi there if you create a file in your editor and name it 1.htaccess, then insert:
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    and save it.
    Upload it to your server root directory, via FTP
    Then re-name it: .htaccess and rightclick to set permissions to 777.

    Then go back to your dashboard – settings – permalinks and change the preferences. Click Save and the settings will use your .htaccess file and everything should work.

    Read more here:
    http://codex.ww.wp.xz.cn/Using_Permalinks
    ————————
    I have successfully changed the default setting to page name and it re-wrote all my 70 or so pages..
    [ Signature moderated. ]

    Thread Starter therealwebguru

    (@therealwebguru)

    @hartmutnz

    I know all that…i want to avoid doing that..i want things to work the way they should…and you might want to read my thread before replying..because you will see what you missed

    thanks though

    it is a local install on my linux virtual machine

    Consult your VM documentation.

    Thread Starter therealwebguru

    (@therealwebguru)

    can someone really helpful help me here
    i have file permissions setup right…suphp running on centos 6.4 server…wordpress doesn’t want to create htaccess file

    please help..need help and not some funny jokes..please

    thanks

    Hi there, as I said above — if you create a file in your text editor then insert:
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    and name it 1.htaccess,
    and save it.
    Upload it to your server root directory, via FTP
    Then re-name it on the server to: .htaccess and right-click it to set permissions to 777.

    Then go back to your wordpress dashboard – settings – permalinks and change the preferences to what you want. Click Save and the settings will use your .htaccess file and everything should work.

    Read more here:
    http://codex.ww.wp.xz.cn/Using_Permalinks
    ————————
    I have successfully changed the default setting to page name and it re-wrote all my 70 or so pages..
    Good luck. Groggo

    Thread Starter therealwebguru

    (@therealwebguru)

    i really don’t want to offend anyone but looks like some people don’t want to either read or just don’t understand English language enough.

    Tha being said..i want things to work the way it should and the way it should is not me creating any file but for wordpress to create this htaccess file. Why do i want this? Ok lets say i created the file and then what happens when i make changes with the permalink settings on wordpress admin?

    Anyone willing to help please just let me know how wordpress was able to create this file for you and what your setup was…also if it is indeed a lie that wordpress mostly cannot create this file in most cases or if this is some bug..then can wordpress please help fix this or at least stop saying wordpress will create that file?

    Hi, I understand, in an ideal world WordPress can create the file. It depends on your server settings and configurations…
    On some of the sites I installed the system works fine without me creating the .htaccess file.. on other installations it does not work.
    I am a practical person. If WordPress does not generate what I need, I generate it myself and go on with my life..
    Maybe someone will fix these issues in the long run.. it,s a great project and I am absolutlely grateful that we are given such a great website system at no cost, thanks to everyone involved doing this! Cheers, Groggo
    NB don’t get stuck on details… visualize the bigger picture!

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

The topic ‘wordpress cannot write htaccess file on server’ is closed to new replies.