• Resolved teachermark

    (@teachermark)


    At first I did edit the HTaccess file myself. But it turns out that my hosting does not allow that.
    They have added in the file :
    __________________________
    The guidelines (lines) between “BEGIN WordPress” and “END WordPress” become dynamically generated and should only be adjusted via WordPress filters. Any changes to the guidelines between these marks will be overwritten.
    __________________________

    So I thought maybe using this plugin will overrule that.. but it does not.
    It would be easy to set a daily autosave timer, so every morning at 6 it will resave the HTaccess file orso.

    Or are there any other options to solve this?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Alexandru Tapuleasa

    (@talextech)

    You can still edit it, just don’t add anything beween “BEGIN WordPress” and “END WordPress”

    For example if you want to set an error page do it like this:

    ErrorDocument 500 custom_500.html 

    #BEGIN WordPress
    RewriteEngine On
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    RewriteBase /
    RewriteRule ^index.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    #END WordPress


    It will still apply to your WordPress website, the directives between BEGIN/END WordPress are just those that are edited by WordPress automatically when you change permalink settings

    Thread Starter teachermark

    (@teachermark)

    Serieus :O OMG sorry! Did not know that. Thanks for that update!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘My hosting is overruling everytime’ is closed to new replies.