Hi
Here i posted my .htaccess file, Kindly verify, if I do any correction kindly let me
AddDefaultCharset UTF-8
# Extra Security Headers
>IfModule mod_headers.c>
Header set X-XSS-Protection "1 mode=block"
Header always append X-Frame-Options SAMEORIGIN
Header set X-Content-Type-Options nosniff
Header set Connection keep-alive
>/IfModule>
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteCond %{HTTP_HOST} ^(.*)$ [NC]
RewriteRule (.*) https://www.%1/$1 [R=301,L]
RewriteRule ^index\.html?$ https://www.nxtproject.com/ [R=301,L]
RewriteRule ^final-year-projects?$ final-year-projects.html [L]
RewriteRule ^research-and-development?$ research-and-development.html [L]
RewriteRule ^internship-inplant-training?$ internship-inplant-training.html [L]
RewriteRule ^real-time-projects?$ real-time-projects.html [L]
RewriteRule ^best-projects-center?$ best-projects-center.html [L]
RewriteRule ^terms?$ terms.html [L]
RewriteRule ^final-year/android-project-titles?$ final-year/android-project-titles.html [L]
RewriteRule ^final-year/asp-net-project-titles?$ final-year/asp-net-project-titles.html [L]
RewriteRule ^final-year/embedded-project-titles?$ final-year/embedded-project-titles.html [L]
RewriteRule ^final-year/java-project-titles?$ final-year/java-project-titles.html [L]
RewriteRule ^final-year/jsp-project-titles?$ final-year/jsp-project-titles.html [L]
RewriteRule ^final-year/management-project-titles?$ final-year/management-project-titles.html [L]
RewriteRule ^final-year/mechanical-project-titles?$ final-year/mechanical-project-titles.html [L]
RewriteRule ^final-year/php-project-titles?$ final-year/php-project-titles.html [L]
RewriteRule ^final-year/python-project-titles?$ final-year/python-project-titles.html [L]
RewriteRule ^final-year/vb-net-project-titles?$ final-year/vb-net-project-titles.html [L]
RewriteRule ^final-year-projects.aspx$ /final-year-projects [END,R=301]
RewriteRule ^research-and-development.aspx$ /research-and-development [END,R=301]
RewriteRule ^inplant-internship-training.aspx$ /internship-inplant-training [END,R=301]
RewriteRule ^real-time-live-projects.aspx$ /real-time-projects [END,R=301]
RewriteRule ^contactus.aspx$ /best-projects-center [END,R=301]
RewriteRule ^ProjectTitle.aspx$ /final-year/asp-net-project-titles [END,R=301]
RewriteRule ^sitemap?$ sitemap.xml [L]
ErrorDocument 404 /404.shtml
>IfModule mod_expires.c>
ExpiresActive On
Header set Access-Control-Allow-Origin *
# Images
ExpiresByType image/jpeg "access plus 1 year"
ExpiresByType image/gif "access plus 1 year"
ExpiresByType image/png "access plus 1 year"
ExpiresByType image/webp "access plus 1 year"
ExpiresByType image/svg+xml "access plus 1 year"
ExpiresByType image/x-icon "access plus 1 year"
# Video
ExpiresByType video/mp4 "access plus 1 year"
ExpiresByType video/mpeg "access plus 1 year"
# CSS, JavaScript
ExpiresByType text/css "access plus 1 month"
ExpiresByType text/javascript "access plus 1 month"
ExpiresByType application/javascript "access plus 1 month"
# Others
ExpiresByType application/pdf "access plus 1 month"
ExpiresByType application/x-shockwave-flash "access plus 1 month"
# Compress HTML, CSS, JavaScript, Text, XML and fonts
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
AddOutputFilterByType DEFLATE application/x-font
AddOutputFilterByType DEFLATE application/x-font-opentype
AddOutputFilterByType DEFLATE application/x-font-otf
AddOutputFilterByType DEFLATE application/x-font-truetype
AddOutputFilterByType DEFLATE application/x-font-ttf
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE font/opentype
AddOutputFilterByType DEFLATE font/otf
AddOutputFilterByType DEFLATE font/ttf
AddOutputFilterByType DEFLATE image/svg+xml
AddOutputFilterByType DEFLATE image/x-icon
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/javascript
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/xml
# Remove browser bugs (only needed for really old browsers)
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
Header append Vary User-Agent
>/IfModule>
#### Cache-Control
>IfModule mod_headers.c>
>FilesMatch "\\.(ico|jpe?g|png|gif|swf)$">
Header set Cache-Control "max-age=31536000, public"
>/FilesMatch>
>FilesMatch "\\.(css|js)$">
Header set Cache-Control "max-age=2628000, public"
>/FilesMatch>
>FilesMatch "\\.(x?html?|php|xml)$">
Header set Cache-Control "max-age=600, private, must-revalidate"
>/FilesMatch>
>/IfModule>
# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php72” package as the default “PHP” programming language.
>IfModule mime_module>
AddHandler application/x-httpd-ea-php72___lsphp .php .php7 .phtml
>/IfModule>
# php -- END cPanel-generated handler, do not edit