Results 1 to 8 of 8

Thread: How To Update .htaccess

  1. #1
    garfish's Avatar
    garfish is offline I'm Not Sure.
    Join Date
    May 2009
    Posts
    848
    Blog Entries
    12
    Thanks
    155
    Thanked 57 Times in 54 Posts

    How To Update .htaccess

    how dyou update your .htaccess for the permalink?
    it says
    Code:
     yoy hould update your .htaccess now.
    but after copying theseodes and paste it in the .htaccess, it dont work.

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    i sthere anything else i should do?
    funny since i don't remember i've encounter this error to my first blog.
    somebodt tell me please.

  2. #2
    Shenron's Avatar
    Shenron is offline Administrator
    Join Date
    Dec 2008
    Location
    Portugal
    Posts
    1,900
    Blog Entries
    2
    Thanks
    561
    Thanked 548 Times in 368 Posts
    I believe you're using Wordpress.

    Here's the easiest way:

    Chmod .htaccess to 777
    Change the permalinks structure on wordpress and save it
    Chmod back to 644

    Should work this way, there's no need for you to hand update it.

  3. #3
    TopDogger's Avatar
    TopDogger is offline Über Hund
    Join Date
    Jan 2009
    Location
    Hellfire, AZ
    Posts
    3,106
    Thanks
    350
    Thanked 919 Times in 703 Posts
    The .htaccess file only works on a Unix or Linux server running Apache. It will not work on a Microsoft server or if your hosting company does not allow server overrides.
    "Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote." -- Benjamin Franklin


  4. #4
    garfish's Avatar
    garfish is offline I'm Not Sure.
    Join Date
    May 2009
    Posts
    848
    Blog Entries
    12
    Thanks
    155
    Thanked 57 Times in 54 Posts
    thanks you guys. however, chmod don't change back the permission to 644 or its just that i'm not sure about the commands
    i log in to the cpanel and right click to it, but still permission didn't change back.

  5. #5
    Sami4u's Avatar
    Sami4u is offline Butterflies Forever
    Join Date
    Sep 2009
    Location
    USA
    Posts
    1,421
    Thanks
    697
    Thanked 293 Times in 221 Posts
    Hi,

    I never use cpanel. Did you try it from a ftp.

    Butterflies Forever

    Sami
    Current Celebrity Gossip Movies & More TV Site
    Find out how I'm able to get up to 420 backlinks for month, by spending 30 seconds per day...all for FREE! - Click Here

  6. #6
    abinowbhat's Avatar
    abinowbhat is offline Net Builder
    Join Date
    Oct 2009
    Location
    Cyberspace
    Posts
    166
    Thanks
    16
    Thanked 19 Times in 9 Posts
    Hi!

    CHMOD can change the permissions back. I believe that you are not using it properly. You can take the help of your host provider like I do

  7. #7
    maxbest is offline Newbie Net Builder
    Join Date
    Dec 2009
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    If you have knowledge of control panel then you can change it easily. But do this task carefully & save previous file in your computer to avoid wrong entry.

  8. #8
    Andy101's Avatar
    Andy101 is offline Code Otaku
    Join Date
    Aug 2009
    Location
    Kanazawa
    Posts
    1,313
    Thanks
    178
    Thanked 309 Times in 236 Posts
    I logged into my cPanel and clicked on the File Manager icon.

    Then I clicked on the folder icon for the public_html folder.

    Then I get a listing of all the files and directories which includes .htaccess

    This had file permissions set to 644

    Then I click on the file icon and get a list of things that I can do in the right side of the page.

    One of these is "Change Permissions" so I click on the link for this and can change the permissions OK back and forth.
    Otaku CMS - Import a WordPress blog and manage your site using single-page App technology

Similar Threads

  1. .htaccess Problem
    By ProxySites.ca in forum Managing
    Replies: 1
    Last Post: 12 April, 2010, 21:11 PM
  2. .htaccess / redirect to 'www.'
    By Snak3 in forum On-Site SEO
    Replies: 12
    Last Post: 30 December, 2009, 20:13 PM
  3. .htaccess
    By dodolls in forum Managing
    Replies: 6
    Last Post: 15 November, 2009, 07:58 AM
  4. help with htaccess redirection
    By MeetHere in forum Programming
    Replies: 10
    Last Post: 18 October, 2009, 18:01 PM
  5. .htaccess help
    By Sami4u in forum Building
    Replies: 3
    Last Post: 14 September, 2009, 14:47 PM

Tags for this Thread

Bookmarks

Posting Permissions

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