• Resolved Opto-mystic

    (@opto-mystic)


    I am having problems not being able to add any Pages to my site

    I am also getting error 500 (A server error) following this thread I see that it is wise to add a certain line to the .htaccess file in the wp root on the server…

    I can’t find such a file! I know it is invisible however, I am using Dreamweaver CS5 With View Hidden Files activated. I can not see it any where.

    Theme: TwentyTen
    Server: Linux

    If one is missing, can I add one? If so, are there any ‘standard/default’ contents?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Follow this link , about half way down there is a standard .htaccess file http://codex.wordpress.org/Using_Permalinks

    See if that helps first.

    Thread Starter Opto-mystic

    (@opto-mystic)

    Thank you – I will do…

    Thread Starter Opto-mystic

    (@opto-mystic)

    Wa-Hay!!!! I have it solved

    I am on a 1&1 . co . uk linux server & getting Error 500 and unable to add or edit Pages (ading a post was ok though)

    After researcing through all the old threads I came up with this solution.

    1) I could not find the .htaccess file on the server. This is a hidden file so was unsure if I couldnt find it because it was hidden or if it just did not exist!

    Using Dreamweaver with ‘show hidden files’ on. I still couldnt see it in the root of WordPress on the 1&1 Linux server..So:

    2) I with a text editor (UltraEdit64) i created an empty file and saved it as .htaccess in the root of WP in my LOCAL machine. Dreamweaver immediately displayed its presence.

    That confirmed in my mind, that there was no .htaccess on the server

    3) I then added the following text into the .htaccess on my local machine:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    AddType x-mapp-php5 .php
    # END WordPress

    I then uploaded this newly created .access file to the server in the WP root.

    hey-presto! It is working again… I have been trying to track this down for many hours…

    Marking the thread resolved

    Thanks Datasoftict for pointing me in the right directions…

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘A lost .htaccess file – should I have one?’ is closed to new replies.