I’ve got a problem with Codeigniter where it’s processing
domain.com/domain.com/URI
Without generating a 404 error. Basically it’s just loading domain.com/URI without chaning the url. So, I’ve got a potential duplicate content problem on my hands.
Rather than trying to hack the core, I’d like to change the htaccess to redirect
domain.com/http://domain.com/URI
to simply
domain.com/URI
I’ve tried googling solutions but none of them seem to be triggering the rewrite condition. Any ideas?
Enable mod_rewrite and .htaccess through
httpd.confand then put this code in your.htaccessunderDOCUMENT_ROOTdirectory: