Go Back   Profit Blogging Forum > Community Forum > General Blogging Topics

General Blogging Topics Talk everything about blogs & blogging

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 30-07-08
vijay vijay is offline
Fresh Meat
 
Join Date: Feb 2008
Location: United Kingdom
Posts: 1
Default The Best Way To Define .htaccess file

Hi,

I give the lines below, culled from various sources on how to define .htaccess file.

I am dividing them ( below ) into 4 parts for easy referencing.

1. AddHandler application/x-httpd-php .html

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

# END WordPress

3. # Turn off mod_security filtering.
SecFilterEngine Off

# Turn off filter.
SecFilterScanPOST Off

4. Options -Indexes

While there is a common consensus on lines at 2,

could somebody pl let me know what do lines at 1 & 3 do and whether
they are necessary.

as for 4, if someone were to key
( like say, w.r.t my site )

http://www.bestnewcellphones.deals-f...ontent/plugins

it will return a 404 error .

as per my frugal IT knowledge what it does is 'deindexing'

But would it also disable the search engines from indexing my site?

Thanks

Vijay
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +9. The time now is 11:56 AM.


LinkBacks Enabled by vBSEO 3.0.0 RC4

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29