![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
|
|||||||
| FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Optimization Techniques Ways to optimize your website so that you rank better on the search engines. Questions on how to change your site so it attacts more visitors, and other similar topics. |
|
|
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Jim,
I was reading that for webhosts using apache 2.x.x and have the mod deflate enabled, you can use this command AddOutputFilterByType DEFLATE text/html text/plain text/xml to have the server (apache) automatically compress the html of your site. Does the command go in the HTAccess file, and if so, where in the HTAccess file would I put it? The top line? After a certain line? Right now my HTAccess file looks like this: # Use PHP5CGI as default AddHandler application/x-httpd-php5 .html .php .htm Redirect 301 /clean.html http://www.actualcures.com/hydrogen-peroxide-ends-gingivitis-keeps-tee ....[more 301 redirects]...... ErrorDocument 400 /index.php?error=400 ErrorDocument 404 /index.php?error=404 #ErrorDocument 500 ErrorDocument 503 /index.php?error=503 RewriteEngine on RewriteBase / #Redirect actualcures.com to www.actualcures.com RewriteCond %{HTTP_HOST} ^actualcures.com RewriteRule ^(.*)$ http://www.actualcures.com/$1 [r=301,L] # -FrontPage- IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti* . . ...etc.... Thanks Jim, Roger
__________________
Nutritional Deficiencies Cause Many Medical Diseases |
![]() |
| Thread Tools | |
| Display Modes | |
|
|