Is there a way to force all links in the Magento admin area to use www?
We have a site that's been around for a long time and all the frontend URLs are indexed with 'www' at the start.
There were some issues with the htaccess rules which I've now changed to force all paths to have 'www' in and use https.
Now when we use the admin area we cant search any of the grids, we just get an ajax searching wheel and it gets stuck showing just an empty page (with header and footer, the grid just disappears)
If I check in the console it flags a CORS error. I think this is because all the links point to the non www domain instead of the 'www' version.
I tried adding this to the htaccess to allow cross-origin requests but it didn't seem to work.
<IfModule mod_headers.c> Header set Access-Control-Allow-Origin "*" </IfModule>
So, can anyone tell me which file or DB entry to change to force all the links to use the www version?