.htaccess & robots.txt [SOLVED] |
Post Reply |
Author | |
digizar
Senior Member Joined: Dec 30 2015 Location: Germany Frankfu Status: Offline Points: 739 |
Post Options
Thanks(0)
Posted: Jul 20 2017 at 10:50pm |
I still have some minor trouble to figure out how to modify the htaccess file content inside oe.
> Project > htacess ... command list. I can't get rid of the first block of entries, the Files .htaccess How to get rid of those *oder allow, deny* ... stuff? Or at least how to change the content there. Also - how to modify the robots.txt with oe? Thanks for response, not in a hurry. -digi- still much to learn, but getting along. (Yes, I know I could combine the Free Script in one bunch, and that these values create some headache for the server. So don't look for the syntax.) #Protect .htaccess <Files .htaccess> order allow,deny deny from all </Files> #FreeScript AddDefaultCharset UTF-8 <IfDefine !Free> <IfModule mod_headers.c> Header set Cache-Control "private, max-age=0, must-revalidate" Header set X-UA-Compatible "IE=8; IE=9; IE=10" </IfModule> </IfDefine> #FreeScript Header add "disablevcache" "true" order allow, deny allow from all Edited by digizar - Jul 25 2017 at 2:20pm |
|
___________________________________
Ask questions only if there is no answer yet. https://blumendigi.com |
|
Dmit OE
Admin Group Joined: May 31 2012 Status: Offline Points: 5283 |
Post Options
Thanks(1)
|
Hi,
The first block may be rather important (depending on server configuration), protecting .htaccess files from being accessed by HTTP. I don't see why it can pose problems as it is not affecting any other content. The rest, starting from #FreeScript, you can modify or remove. To edit robots.txt in OE, use Project->Preferences->Expert tab, on the bottom-right (you may need to scroll down). I believe that you can disable managing robots.txt by OE, to be able to edit it manually if you prefer so, but I've never tested it. |
|
digizar
Senior Member Joined: Dec 30 2015 Location: Germany Frankfu Status: Offline Points: 739 |
Post Options
Thanks(0)
|
Thanks, will do and report.
It just came up because I expected to to be able to modify the complete text. Handling is somehow in'compatible', but hey, if it works, you are right. .-) Edited by digizar - Jul 20 2017 at 11:49pm |
|
___________________________________
Ask questions only if there is no answer yet. https://blumendigi.com |
|
digizar
Senior Member Joined: Dec 30 2015 Location: Germany Frankfu Status: Offline Points: 739 |
Post Options
Thanks(0)
|
Report as promised. Solved.
I could manage it with the oe tool. htaccess robots Edited by digizar - Jul 24 2017 at 4:06pm |
|
___________________________________
Ask questions only if there is no answer yet. https://blumendigi.com |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |