Jump to content

htacces Rewrite problem Prestashop1.6


opson

Recommended Posts

Hi All Together

I have by mistake from the beginning had multiple languages enabled, now I only have DA active.

my problem is that my page and links no longer contain /DA/ ... but Google has indexed with /DA/

so I expect that I should change my htaces file I've tried:

 

RewriteEngine on

RewriteCond% {HTTP_HOST} ^ mypage.dk / da [NC, OR]

RewriteCond% {HTTP_HOST} ^ www.mypage.dk / da [NC]

RewriteRule ^ (. *) $ Http://www.mypage.dk/$1 [L, R = 301, NC]

 

But without luck. Is there anyone in here who can help me to do a 301 redirect on all links containing / da /?

I can see it spoils my seo now.
Edited by opson (see edit history)
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...