View gist:1e39f5f539733ca6a992dc6d99a15b77
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule mod_rewrite.c> | |
# Make sure directory listing is disabled | |
Options +FollowSymLinks -Indexes | |
RewriteEngine on | |
RewriteCond %{HTTPS} !=on | |
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] | |
#AllowOverride All |
View gist:85e4da394105ede0200c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Table Pages | |
| id | title | slug | page_type | | |
| ------ | ------------- | ------------- | --------- | | |
| 1 | Home | home | page | | |
| 2 | Latest News | latest-news | news | | |
| 3 | About Us | about-us | page | | |
Table Page Types | |
| id | title | slug | route | | |
| ------ | ------------- | ------------- | -------------------- | |
View teste.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
echo 'teste'; | |
?> |