This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

matthewpawley
matthewpawley

So far, I have just stuck to making changes in the following directories:

  • /config
  • /themes
  • /plugins (just my own)

I was looking to make changes to the .htaccess file although was concerned my changes may be lost upon October updates, which got me thinking what other files may/may not be safely modifiable.

Apologies if this has already been asked.

Eoler
Eoler

toughdeveloper said: I was looking to make changes to the .htaccess file although was concerned my changes may be lost upon October updates

Sure, go ahead and change .htaccess to your liking - just don't remove parts vital for OctoberCMS functioning: black/whitelists, standard routes and rewrite to index.php

matthewpawley
matthewpawley

Eoler said:

Sure, go ahead and change .htaccess to your liking - just don't remove parts vital for OctoberCMS functioning: black/whitelists, standard routes and rewrite to index.php

Thanks for the reply, I noticed that the .htaccess does occasionally get updated - (https://github.com/octobercms/october/commits/master/.htaccess), would it therefore not overwrite any of my changes upon October updates or does it not work like that?

Eoler
Eoler

toughdeveloper said: Thanks for the reply, I noticed that the .htaccess does occasionally get updated - (https://github.com/octobercms/october/commits/master/.htaccess), would it therefore not overwrite any of my changes upon October updates or does it not work like that?

Webserver and other configuration files are not overwritten on update.

1-4 of 4

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.