256 Kilobytes

All Content > Redirects

Type All Category All Tag Redirects

Profile Photo - Some Guy

Laravel 301 all pages to the www version and the https version.

Answers in Frameworks | By Some Guy

Published

Profile Photo - August R. Garcia

Last ReplyUpdate. Don't fucking use the code in the previous post I made. Use this code: <IfModule mod_rewrite.c> <IfModule mod_negotiation.c... August R. Garcia,

Update. Don't fucking use...

Sat, 13 Apr 2019 00:01:32 -07001 year ago1
🗨 3
🐏 0
👁 327
Profile Photo - Hash Brown

Preventing Hotlinking with .htaccess

Articles in Server-Side | By Hash Brown

Published

Profile Photo - Hash Brown

Hotlinking can be bad. It can choke your...

MoreIt's fairly common for people to steal images on the internet. Sometimes that's fine, you don't care, you might never even find out. On the otherha...
🗨 0
🐏 1
👁 482
Profile Photo - Some Guy

Method to rewrite a URL in a Laravel project?

Answers in Frameworks | By Some Guy

Published

Profile Photo - August R. Garcia

Last ReplyOften, the easiest solution is to do this in the .htaccess file (the same as rewriting a URL in the general/not specific to Laravel case), which is lo... August R. Garcia,

Often, the easiest soluti...

Thu, 03 Jan 2019 17:05:20 -08001 year ago1
🗨 1
🐏 0
👁 213
Profile Photo - Some Guy

[Laravel] If not on a certain page redirect to that page?

Answers in Frameworks | By Some Guy

Published

Profile Photo - August R. Garcia

Last ReplySomething along these lines should work for your purposes:if (Request::path() != "posts/some-post") return redirect('/posts/some-post&... August R. Garcia,

Something along these lin...

Sun, 02 Dec 2018 03:48:42 -08001 year ago1
🗨 1
🐏 0
👁 216
Profile Photo - Some Guy

How to check the current page in Laravel?

Answers in Frameworks | By Some Guy

Published

Profile Photo - August R. Garcia

Last ReplyTo get the current path, you can use: <?php Request::path() August R. Garcia,

To get the current path,...

Sun, 02 Dec 2018 03:45:58 -08001 year ago1
🗨 1
🐏 0
👁 228