Jump to content

404 error na uitschakelen taal


Recommended Posts

Ik heb nederlands en engels als talen ingevoerd. Als ik engels nu uitzet, krijg ik op de site ( in nederlands) een 404 error. Ik lees het een en ander over prefix; dat kan kloppen want de site is nu, omdat ik het engels weer heb aangezet: https://www.babypresent.eu/nl/

ik zie dus die extra /nl erachter staan. Hoe los ik dit op? Ik wil het engels er vanaf en alleen in het nederlands.

Link to comment
Share on other sites

Hoi Ingeborg,

Krijg je de 404's alleen als je refreshed? Als je /nl/ eens uit je url wilt halen nadat je engels hebt uitgeschakeld, doet hij het dan wel goed?

De iso-codes in de url zijn standaard op het moment dat je meer dan 1 taal hebt. Als je maar 1 enkele taal hebt worden de iso-codes uit de url gehaald.

Link to comment
Share on other sites

waar precies?

Dit zijn de onderste regels :

AddType application/vnd.ms-fontobject .eot
AddType font/ttf .ttf
AddType font/otf .otf
AddType application/font-woff .woff
AddType font/woff2 .woff2
<IfModule mod_headers.c>
    <FilesMatch "\.(ttf|ttc|otf|eot|woff|woff2|svg)$">
        Header set Access-Control-Allow-Origin "*"
    </FilesMatch>
</IfModule>

#If rewrite mod isn't enabled
ErrorDocument 404 /index.php?controller=404

# ~~end~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again

Link to comment
Share on other sites

Hi Ingeborg,

Onderaan, dus na de laatste regel. 

# ~~end~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again
Redirect 301 /nl/ /

Mocht je hier niet uit komen, kun je altijd met ons contact opnemen.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...