Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2007
    Posts
    94

    Thumbs up wordpress permalink setting problem

    Hello

    If you are facing issue with Permalinks setting in wordpress which gives

    404 error in all blog with custom settings like /%year%/%monthnum%/%postname%/

    Please check the setting with Wordpress >> setting >> permalink settings

    choose the custom setting like

    /%year%/%monthnum%/%postname%/

    and save the setting. then you will get the following code at the bottom of page , you have to update the code in your .htaccess file where wordpress has been installed.

    code:

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

  2. #2

    Thumbs up

    Hi,

    I came through a issue today that Word Press is installed under root directory of the domain and want to Password Protect some sub-directory.
    The default .htaccess of Word Press is making impossible to "Password Protect Directories" and gives "404 Page Not Found" error message.

    To overcome the issue, you just need to add following code into the .htaccess file of sub-directory which you want to Password Protect.

    ErrorDocument 401 /Sub-Directory/error-401.html

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •