256 Kilobytes

All Content > .htaccess

Type All Category All Tag .htaccess

Profile Photo - Some Guy

How to leverage browser caching from an htaccess file?

Answers in Web Development | By Some Guy

Published

Profile Photo - Univa

Last ReplyPaste these 15 lines into your .htaccess file. They should go right at the top of the file. ## EXPIRES CACHING ## <IfModule mod_expires.c>... Univa,

Paste these 15 lines into...

Sat, 20 Apr 2019 08:35:13 -07001 year ago1
🗨 1
🐏 0
👁 296
Profile Photo - August R. Garcia

Solution to "How often does Dreamhost reload .htaccess?"

Answers in Web Hosting | By August R. Garcia

Published | Last Update

Profile Photo - August R. Garcia

Also, intermittent downtime for the next...

MoreWas running into some issues with getting .htaccess file updates to take effect when working on a different site hosted on the same server as 256 Kilo...
🗨 0
🐏 0
👁 262
Profile Photo - Hash Brown

How to use GZip compression on your website

Articles in Server-Side | By Hash Brown

Published

Profile Photo - Hash Brown

GZip is a form of file compression that...

MoreIn the quest for peak website performance you will come across GZip compression. This is something that can be used by the majority of websites to...
🗨 0
🐏 0
👁 468
Profile Photo - Hash Brown

How to add expires headers

Articles in Server-Side | By Hash Brown

Published

Profile Photo - Hash Brown

Expires headers are a great thing to add...

MoreIf you're trying to make your website load faster one thing you're going to need to look at is browser caching. What are expires headers? Expire...
🗨 0
🐏 1
👁 499
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

How to check if mod_rewrite is enabled in .htaccess?

Answers in Web Development | By Some Guy

Published

Profile Photo - roxblade

Last ReplyOpen FTP and issue the following command to your server:sudo a2enmod rewriteThis command tells you whether mod_rewrite is enabled or not. This is so f... roxblade,

Open FTP and issue the fo...

Tue, 05 Feb 2019 03:27:09 -08001 year ago1
🗨 1
🐏 0
👁 196
Profile Photo - Some Guy

How to create an .htaccess file?

Answers in Web Development | By Some Guy

Published

Profile Photo - roxblade

Last ReplyIt's a normal text file. So, open your FTP software and go to the root directory of your WordPress installation. Here, you can upload any text file, r... roxblade,

It's a normal text file....

Tue, 05 Feb 2019 03:12:05 -08001 year ago1
🗨 1
🐏 0
👁 215
Profile Photo - Some Guy

What should my htaccess file look like?

Answers in Web Development | By Some Guy

Published

Profile Photo - roxblade

Last Reply.htaccess is a WordPress feature. So, I recommend you learn about it first from official WordPress.org documentation (the WordPress Codex). A basic .h... roxblade,

.htaccess is a WordPress...

Tue, 05 Feb 2019 03:06:59 -08001 year ago1
🗨 1
🐏 0
👁 224
Profile Photo - Some Guy

What permissions should my .htaccess have?

Answers in Web Development | By Some Guy

Published

Profile Photo - roxblade

Last Reply705 is the regular permission. But if certain errors throw up and the .htaccess file isn't readable, then a 755 permission is what you need. roxblade,

705 is the regular permis...

Tue, 05 Feb 2019 03:04:35 -08001 year ago1
🗨 1
🐏 0
👁 207
Profile Photo - Some Guy

How to enable GZip compression in a .htaccess?

Answers in Web Development | By Some Guy

Published

Profile Photo - roxblade

Last ReplyIt's very important to enable GZip compression to increase page load speed. Edit your .htaccess file by using FTP or cPanel's File Manager (after chec... roxblade,

It's very important to en...

Tue, 05 Feb 2019 02:58:21 -08001 year ago1
🗨 1
🐏 0
👁 239
Profile Photo - Some Guy

In a .htaccess, how to redirect from http to https?

Answers in Web Development | By Some Guy

Published

Profile Photo - roxblade

Last ReplyYou can edit the .htaccess file using any text editor. Open your FTP software and then right-click the file once you're logged in, and then select "Ed... roxblade,

You can edit the .htacces...

Tue, 05 Feb 2019 02:54:02 -08001 year ago1
🗨 1
🐏 0
👁 208
Profile Photo - Some Guy
Profile Photo - roxblade

Last ReplyIt's simple. Add the following code to your .htaccess file and all .index.php will be removed from your URLs. <IfModule mod_rewrite.c>... roxblade,

It's simple. Add the foll...

Fri, 01 Feb 2019 02:50:49 -08001 year ago1
🗨 1
🐏 0
👁 337
Profile Photo - Some Guy
Profile Photo - Hash Brown

Last ReplyHello, No, the .htaccess is located in the folder of the installation and there is not a WordPress default option for this. You need access to t... Hash Brown,

Hello,

Tue, 22 Jan 2019 15:59:15 -08001 year ago1
🗨 1
🐏 0
👁 209
Profile Photo - Some Guy
Profile Photo - Hash Brown

Last ReplyHello, This is fairly simple, adding the code below to your .htaccess file will blanket remove all .php extentions from your URL. #remove php... Hash Brown,

Hello,

Mon, 14 Jan 2019 13:18:34 -08001 year ago1
🗨 1
🐏 0
👁 186
Profile Photo - Some Guy

[Htaccess] Redirect to subfolder without changing URL?

Answers in Web Development | By Some Guy

Published

Profile Photo - Some Guy

MoreI'm working in web development and having a problem redirecting my subfolders. Is it possible to redirect to subfolders without changing URL?
🗨 0
🐏 0
👁 217
Profile Photo - Some Guy

What is $1 in the .htaccess file?

Answers in Web Development | By Some Guy

Published

Profile Photo - Some Guy

MoreI'm going through the .htaccess file and I came across something that I was unsure of. What does the '$1' mean inside the file?
🗨 0
🐏 0
👁 164
Profile Photo - Some Guy
Profile Photo - Some Guy

MoreSo, I know I can use a .htaccess file to redirect traffic from one subdomain to another (e.g., www.blork.com to blork.com, or vice-versa). I'm no...
🗨 0
🐏 0
👁 192
Profile Photo - Some Guy

How to use .htaccess to redirect to another domain?

Answers in Web Development | By Some Guy

Published

Profile Photo - Some Guy

MoreHow do I use .htaccess? I'm told this can be to redirect to another domain and I just want to be sure I'm doing right. Anyone with experienc...
🗨 0
🐏 0
👁 192
Profile Photo - Some Guy
Profile Photo - Some Guy

MoreJust started toying around with diffrrent settings in .htaccess - could someone please help me understand the difference between request_uri and reque...
🗨 0
🐏 0
👁 187