Results 1 to 7 of 7

Thread: Proper htaccess for worpress site?

  1. #1
    garfish's Avatar
    garfish is offline I'm Not Sure.
    Join Date
    May 2009
    Posts
    775
    Blog Entries
    12
    Thanks
    144
    Thanked 51 Times in 48 Posts

    Proper htaccess for worpress site?

    i've accidentally deleted mine yesterday and i'm trying to upload one.
    what should be the proper .htaccess config for a wordpress site?

  2. #2
    Hellas's Avatar
    Hellas is offline Very Unusual Member
    Join Date
    Dec 2008
    Location
    Bosnia
    Posts
    1,046
    Thanks
    213
    Thanked 292 Times in 205 Posts
    Just resave the permalinks and your .htaccess will be recreated.

  3. #3
    zomex's Avatar
    zomex is offline Unknown Net Builder
    Join Date
    Jul 2010
    Posts
    50
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Hellas View Post
    Just resave the permalinks and your .htaccess will be recreated.
    Nice tip! I can't believe a couple of days ago I downloaded Wordpress and then overwrited the file before saving the permalinks page
    Zomex | Now hosting over 200 websites worldwide!
    Professional Web Hosting for both beginners and experts from just $3.99/month!
    cPanel - Softaculous - LiteSpeed - Daily Backups - 24/7 Support
    We also provide professional WHMCS Integration services

  4. #4
    iowadawg's Avatar
    iowadawg is online now Free Cell Champion
    Join Date
    May 2010
    Location
    Not in Texas
    Posts
    1,065
    Blog Entries
    4
    Thanks
    83
    Thanked 189 Times in 163 Posts
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

  5. Thanked by:

    garfish (22 April, 2011)

  6. #5
    garfish's Avatar
    garfish is offline I'm Not Sure.
    Join Date
    May 2009
    Posts
    775
    Blog Entries
    12
    Thanks
    144
    Thanked 51 Times in 48 Posts
    Quote Originally Posted by Hellas View Post
    Just resave the permalinks and your .htaccess will be recreated.
    i did it too. but what about in terms of security?

  7. #6
    Andy101's Avatar
    Andy101 is offline Code Otaku
    Join Date
    Aug 2009
    Location
    Japan/uk
    Posts
    699
    Thanks
    100
    Thanked 218 Times in 162 Posts
    i did it too. but what about in terms of security?
    It's got nothing to do with password security, just used to re-write URLs of posts.
    Article authors check out: Resource Box Wizard

  8. #7
    Mike-XS's Avatar
    Mike-XS is offline XeroAgent
    Join Date
    Sep 2009
    Location
    OZ
    Posts
    206
    Thanks
    30
    Thanked 108 Times in 71 Posts

Similar Threads

  1. Have you got the proper mindset?
    By sam in forum Business
    Replies: 1
    Last Post: 1 November, 2010, 12:21 PM
  2. Replies: 0
    Last Post: 29 November, 2009, 00:13 AM
  3. Proper use of the Announcements and Suggestions Forum
    By m42 in forum Announcements and Suggestions
    Replies: 0
    Last Post: 22 November, 2009, 16:01 PM
  4. Proper terminology for domain name forwarding?
    By Shawn in forum Web Hosting
    Replies: 4
    Last Post: 22 July, 2009, 18:22 PM
  5. Finding Proper Keywords for your website
    By sturat in forum Keyword Research
    Replies: 0
    Last Post: 15 February, 2009, 18:10 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
  •