D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home5
/
grandhou
/
www
/
Filename :
.htaccess
back
Copy
<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTP_HOST} www.grandhouse.com.au RewriteRule (.*) http://grandhouse.com.au/$1 [R=301,L] RewriteCond %{SERVER_PORT} !^443$ RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)/$ /$1 [L,R] </IfModule> # END HTTPS Redirection Plugin RewriteOptions inherit php_value upload_max_filesize 50M php_value post_max_size 50M php_value max_input_time 300 php_value max_execution_time 300 RewriteRule ^pages/([^/]+)/?$ pages.php?id=$1 [L,QSA] RewriteRule ^photo-gallery/([^/]+)/?$ photo-gallery.php?id=$1 [L,QSA] RewriteRule ^wedding-photo-detail/([^/]+)/?$ wedding-photo-detail.php?id=$1 [L,QSA] RewriteRule ^pre-wedding-photo-detail/([^/]+)/?$ pre-wedding-photo-detail.php?id=$1 [L,QSA] RewriteRule ^blog-detail/([^/]+)/?$ blog-detail.php?permalink=$1 [L,QSA] RewriteRule ^pages?$ pages.php RewriteRule ^photo-gallery?$ photo-gallery.php RewriteRule ^wedding-photo-detail?$ wedding-photo-detail.php RewriteRule ^pre-wedding-photo-detail?$ pre-wedding-photo-detail.php RewriteRule ^index?$ index.php RewriteRule ^quote?$ quote.php RewriteRule ^contact?$ contact.php RewriteRule ^blog?$ blog.php RewriteRule ^blog-detail?$ blog-detail.php RewriteRule ^faq?$ faq.php RewriteRule ^about?$ about.php RewriteRule ^menu?$ menu.php RewriteRule ^testimonials?$ testimonials.php RewriteRule ^showcase?$ showcase.php RewriteRule ^wedding-photo?$ wedding-photo.php RewriteRule ^pre-wedding-photo?$ pre-wedding-photo.php RewriteRule ^wedding-video?$ wedding-video.php RewriteRule ^live-streaming?$ live-streaming.php RewriteRule ^termsandconditions?$ termsandconditions.php RewriteCond %{HTTP_HOST} ^grandhouse\.com\.au$ [OR] RewriteCond %{HTTP_HOST} ^www\.grandhouse\.com\.au$ Options +FollowSymLinks RewriteEngine on RewriteRule pages/id/(.*)/ pages.php?id=$1 RewriteRule pages/id/(.*) pages.php?id=$1 RewriteCond %{HTTP_HOST} ^grandhouse\.com\.au$ [OR] RewriteCond %{HTTP_HOST} ^www\.grandhouse\.com\.au$ RewriteRule ^index\.php$ "https\:\/\/grandhouse\.com\.au\/" [R=301,L]