• Resolved SusanM

    (@susanm)


    I recently updated my permalink options and received a notice that I should “You should update your .htaccess now”…and at the bottom of the page it has some coding in the .htaccess file to copy and paste…where? In the .htaccess file on my domain?

    Is that what I do with it?

    This is the original text in the .htaccess file:

    # -FrontPage-
    
    IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
    
    <Limit GET POST>
    #The next line modified by DenyIP
    order allow,deny
    #The next line modified by DenyIP
    #deny from all
    allow from all
    </Limit>
    <Limit PUT DELETE>
    order deny,allow
    deny from all
    </Limit>
    AuthName www.illusivelife.com
    AuthUserFile /home/illusive/public_html/_vti_pvt/service.pwd
    AuthGroupFile /home/illusive/public_html/_vti_pvt/service.grp
    
    <Files 403.shtml>
    order allow,deny
    allow from all
    </Files>
    
    deny from 207.68.216.59
    deny from 63.106.106.2

    and this is the code that is in the box in the bottom:

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

    Can someone please tell me what I should do about it and also…what code do you use to put the time of a entry and the author of the entry…would that be…
    %hour% %minute% %author%

    Sorry, I am still getting my feet wet with WP after being with MT for so many years.

Viewing 2 replies - 1 through 2 (of 2 total)
  • To get your permalinks working you just need to open up the .htaccess file on the root folder of your domain and add the code given to the file. So your .htaccess should look like:

    # -FrontPage-
    
    IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
    
    <Limit GET POST>
    #The next line modified by DenyIP
    order allow,deny
    #The next line modified by DenyIP
    #deny from all
    allow from all
    </Limit>
    <Limit PUT DELETE>
    order deny,allow
    deny from all
    </Limit>
    AuthName www.illusivelife.com
    AuthUserFile /home/illusive/public_html/_vti_pvt/service.pwd
    AuthGroupFile /home/illusive/public_html/_vti_pvt/service.grp
    
    <Files 403.shtml>
    order allow,deny
    allow from all
    </Files>
    
    deny from 207.68.216.59
    deny from 63.106.106.2
    
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    For the time and author of the entry do you mean to add them to the permalink structure? If so here is a full list of permalink tags:

    https://codex.www.ads-software.com/Using_Permalinks

    Thread Starter SusanM

    (@susanm)

    Thank you to both responses. This solved my problems.

    Have a great night!

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