Viewing File: /home/ubuntu/allinonecluster-landing/.htaccess

<IfModule mod_expires.c>
    ExpiresActive on
    ExpiresByType image/jpg "access plus 1 month"
    ExpiresByType image/jpeg "access plus 1 month"
    ExpiresByType image/gif "access plus 1 month"
    ExpiresByType image/png "access plus 1 month"

    ExpiresByType text/javascript "access plus 1 month"
    ExpiresByType application/javascript "access plus 1 month"

    ExpiresByType text/css "access plus 1 month"
</IfModule>
RewriteEngine on


<FilesMatch "(composer\.json|composer\.lock)">
    Order Deny,Allow
    Deny from all
</FilesMatch>

RedirectMatch 404 /\.git


RewriteCond %{HTTP_HOST} ^www\.allinonecluster\.com [NC]
RewriteRule ^(.*)$ https://allinonecluster.com/$1 [L,R=301]


RewriteRule ^youtube-clone$ / [R=301,L]
RewriteRule ^soundcloud-clone$ / [R=301,L]
RewriteRule ^zoom-clone$ / [R=301,L]
RewriteRule ^thumbtack-clone$ / [R=301,L]
RewriteRule ^taskrabbit-clone$ / [R=301,L]
RewriteRule ^netflix-clone$ /tiktok-clone [R=301,L]
#RedirectMatch /blog/the-role-of-chatgpt-clone-script-in-the-evolution-of-conversational-ai /chatgpt-clone 
#RedirectMatch /blog/web-stories/what-is-a-chatgpt-clone /chatgpt-clone
#RedirectMatch /blog/creating-a-chatbot-with-chatgpt-clone-script-a-step-by-step-guide /chatgpt-clone


RewriteCond %{THE_REQUEST} /([^.]+)\.html [NC]
RewriteRule ^ /%1 [NC,L,R]

RewriteCond %{REQUEST_FILENAME}.html -f
RewriteRule ^ %{REQUEST_URI}.html [NC,L]

ErrorDocument 404 /404.html
Back to Directory File Manager