Optimize my htacces file

i have already a httacces made need some improvement

-remove trailing / (it now only working on homepage )

-improve the httacces file seo wise

RewriteEngine on

ErrorDocument 400 "Ooops - Bad request!

ErrorDocument 401 "Speak friend and enter

ErrorDocument 403 "Strictly fabidden..

ErrorDocument 404 /errors/[login to view URL]

ErrorDocument 500 "Server gone wild..

# Redirect to domain without www.

RewriteCond %{HTTPS} off

RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]

RewriteRule .* http://%1%{REQUEST_URI} [R=301,L]

# Same for HTTPS:

RewriteCond %{HTTPS} on

RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]

RewriteRule .* https://%1%{REQUEST_URI} [R=301,L]

# Remove trailing slash from non-filepath urls

RewriteCond %{REQUEST_URI} /(.+)/$

RewriteCond %{REQUEST_FILENAME} !-d

RewriteCond %{REQUEST_FILENAME} !-f

RewriteRule ^ [login to view URL]%1 [R=301,L]

# Include trailing slash on directory

RewriteCond %{REQUEST_URI} !(.+)/$

RewriteCond %{REQUEST_FILENAME} -d

RewriteRule ^(.+)$ [login to view URL]$1/ [R=301,L]

# 301 Redirect URLs.

Redirect 301 /public_html/[login to view URL] /private/[login to view URL]

#301 Redirect Entire Directory.

RedirectMatch 301 ^/public_html/(.*)$ /private_html/$1

# Add Caching.

<FilesMatch ".(ico|jpg|jpeg|png|gif|js|css|swf)$">

Header set Cache-Control "max-age=31557600"


RewriteEngine On

RewriteCond %{SERVER_PORT} 80

RewriteRule ^(.*)$ [login to view URL]$1 [R,L]

Skills: Web Hosting, Server, PHP, JavaScript, ASP.NET

See more: location configuration file wowza media server, file transfer linux server, net sql server file browser stored server, htaccess code for speed optimization, optimize css delivery using htaccess, wordpress fast htaccess, make htaccess file faster wordpress, wordpress website speed optimization htaccess, best htaccess for wordpress, increase page speed using htaccess wordpress, lazy loading htaccess, can txt file merged sql server, restore file secure ftp server, create csv file dts sql server 2005, file hosting multi server support, read pdf file stored sql server database, file maker pro server, import csv file table sql server 2005 express, optimize excel file size, displaying file stored sql server

About the Employer:
( 14 reviews ) zwaag, Netherlands

Project ID: #21965241

Awarded to:


Hi there, go through your description and like to work over your website to improve your htaccess file for page speed optimization for seo purpose. Regards, Dipak Makwana

€30 EUR in 2 days
(23 Reviews)

7 freelancers are bidding on average €32 for this job


Hello, how are you? Thank you for your project posting. Here is Eric, skilled with professional htaccess. As a senior web developer I can deliver good results with quality in time you want. Please invite me so that we More

€40 EUR in 1 day
(44 Reviews)

Validcode is a dynamic and fast-moving company in Web/Mobile designing and development world-wide and has proven itself to be one of the best in markets. Validcode have served customers from USA , Canada , Germany , U More

€19 EUR in 7 days
(30 Reviews)

Hi, I can you make the edits and adjustments on your httacces document

€40 EUR in 1 day
(32 Reviews)

Hello there, I'm a linux system administrator at a web hosting company. I've dealt with thousand of issues like this and I prove myself to be the best candidate for your job. I worked recently with htaccess, this one More

€25 EUR in 1 day
(33 Reviews)

Hello my name is Nikos and Im working on the Linux server administration field for the past 6 years. Over these years I worked for two web hosting companies as a Senior Administrator managing their servers & providing More

€40 EUR in 1 day
(5 Reviews)

Hello Sir! I will remove trailing slash from the url and update other things in .htaccess file. I can do it quickly. i have fixed .htaccess for over 1500 websites so I now what needs to be done. Let me know when I c More

€30 EUR in 1 day
(6 Reviews)