Skip to content

Commit

Permalink
tqbs v spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
joshbruce committed Nov 28, 2021
1 parent 48bea9f commit d52a08f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions content/public/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ ErrorDocument 500 /error-500.html
RedirectMatch 301 /web-development/site-stats /web-development/this-site/stats/

# Prepare to rewrite
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f

# Redirect to trailing slash if not folder or file
RewriteCond %{REQUEST_URI} /+[^\.]+$
RewriteRule ^(.+[^/])$ %{REQUEST_URI}/ [R=301,L]

# Requests use front controller
# RewriteRule ^ index.php [L]
# Requests use front controller
# RewriteRule ^ index.php [L]
</IfModule>
8 changes: 4 additions & 4 deletions site-dynamic-php/public/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ ErrorDocument 500 /error-500.html
RedirectMatch 301 /web-development/site-stats /web-development/this-site/stats/

# Prepare to rewrite
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f

# Redirect to trailing slash if not folder or file
RewriteCond %{REQUEST_URI} /+[^\.]+$
RewriteRule ^(.+[^/])$ %{REQUEST_URI}/ [R=301,L]

# Requests use front controller
RewriteRule ^ index.php [L]
# Requests use front controller
RewriteRule ^ index.php [L]
</IfModule>

0 comments on commit d52a08f

Please sign in to comment.