• Hi,

    I have redirected all non www to www otherwise all icons were lost on the page. Now every time I activate wp fastest cache plugin It overwrites all the added content in htaccess file. Why and how can I make it not to overwrite it..

    Thank you!

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Emre Vona

    (@emrevona)

    did you modify the rules of wp fastest cache on htaccess?

    Thread Starter rikz

    (@rikz)

    No. Default.

    Plugin Author Emre Vona

    (@emrevona)

    does wpfc change the rules which you added?

    Thread Starter rikz

    (@rikz)

    Not sure. Where or how can I set it up so It wouldnt overwrite htaccess file..

    Thread Starter rikz

    (@rikz)

    At the moment htaccess file looks like this:
    If I turn on the the plugin it overwrites all redirected information and all icons on the site are gone.

    #This Apache config file was created by Duplicator Installer on 2019-03-04 19:52:18.
    #The original can be found in archived file with the name htaccess.orig

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule ^valguskettide-muuk[/]?$ /toode/valguskettide-muuk/ [R=301,NC,L]
    RewriteRule ^easy-up-telkide-muuk1[/]?$ /tootekategooria/muugitooted/easy-up/ [R=301,NC,L]
    RewriteRule ^aia-ja-peotelgid-peotelkide-rent-peotelgi-rent[/]?$ /tootekategooria/renditooted/telgid/aia-ja-peotelgid/ [R=301,NC,L]
    RewriteRule ^moobel-moobli-rent-kokkupandav-moobel[/]?$ /tootekategooria/renditooted/moobel/ [R=301,NC,L]
    RewriteRule ^moobel-moobli-rent-kokkupandav-moobel[/]?$ /toode/pukklaud-pustiseisulaud/ [R=301,NC,L]
    RewriteRule ^diivani-rent-punane[/]?$ /toode/diivan/ [R=301,NC,L]
    RewriteRule ^banketitoolide-muuk[/]?$ /tootekategooria/muugitooted/banketitoolid/ [R=301,NC,L]
    RewriteRule ^valguskett[/]?$ /toode/valguskett/ [R=301,NC,L]
    RewriteRule ^garderoob-riidenagid[/]?$ /tootekategooria/renditooted/garderoob-ja-riidenagid/ [R=301,NC,L]
    RewriteRule ^garderoobi-numbrid[/]?$ /toode/garderoobinumbrid/ [R=301,NC,L]
    RewriteRule ^piirdepostide-rent[/]?$ /toode/piirdepostide-rent/ [R=301,NC,L]
    RewriteRule ^lava-poodium[/]?$ /toode/lava-poodium-2-x-1m/ [R=301,NC,L]
    RewriteRule ^lava-poodiumite-muuk[/]?$ /toode/lava-poodiumite-muuk/ [R=301,NC,L]
    RewriteRule ^laotelkide-rent[/]?$ /tootekategooria/renditooted/laotelgid/ [R=301,NC,L]
    RewriteRule ^garderoob-riidenagid-riidestangede-rent[/]?$ /toode/riidestange-104-konksuga/ [R=301,NC,L]
    RewriteRule ^laudlinade-muuk[/]?$ /tootekategooria/muugitooted/lauakatted/ [R=301,NC,L]
    RewriteRule ^prugikasti-rent-2[/]?$ /toode/prugikasti-rent/ [R=301,NC,L]
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]

    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^funrent.ee [NC]
    RewriteRule ^(.*)$ https://www.funrent.ee/$1 [L,R=301]

    </IfModule>

    # END WordPress

    Plugin Author Emre Vona

    (@emrevona)

    did you try another cache plugin before?

    Thread Starter rikz

    (@rikz)

    Yeah I’ve tried several but long time ago.

    Plugin Author Emre Vona

    (@emrevona)

    wpfc writes the rules at the top of .htaccess so the redirects rules which have been added by you do not work. you should try another cache plugin.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Htaccess file’ is closed to new replies.