I have uploaded opencart upload folder to http://example.com/opencart folder.
Now when I open it, it is opening, but after cliking any navigation menu (e.g. contact us), 404 error shown and url in address bar is
http://example.com/example.com/opencart/?route=information/contact
instead of
http://example.com/opencart/?route=information/contact
But when I hover on Link, it is showing perfect url in bottom of browser. (e.g. in above case, on Hover - "http://example.com/opencart/?route=information/contact" is shown...
how to fix it ?
EDIT****
my .htaccess in opencart/ folder :
RewriteBase /
RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]
RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L]
RewriteRule ^system/download/(.*) /index.php?route=error/not_found [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]
It's unclear which version of OpenCart you're running, but in all recent versions there is a comment above the RewriteBase rule in the supplied .htaccess file:
So change it to