Skip to content

Instantly share code, notes, and snippets.

View sticky-footer.css
View gist:1e39f5f539733ca6a992dc6d99a15b77
<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
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
<?php
echo 'teste';
?>
You can’t perform that action at this time.