The site used to be on the main domain with the plugin "polylang", that created an extension "en" to my domain. I have disabled this plugin and installed a fresh wordpress on a sub folder called "en". I have kept the same URL's for SEO purposes.
Now when i press on any of the new URL's, If that URL used to exist on the old version of the site (with polylang) - it takes me to the old URL, without the /EN extension.
If i press on a new URL (that didn't exist on the polylang version) it takes me to a 404 page.
I have refreshed the "permalinks" under the page admin several times. made sure the .HTACCESS file is currect:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Disabled all plugins and moved the the default theme, but still this happens.
I took a look under my wp-config.php file and made sure i have this:
define( 'NOBLOGREDIRECT', 'http://www.med-1.com/en' );
Also i cleared my browsing data.
Any other suggestions ?