.htaccess files keeps redirecting in firefox - .htaccess

I modified my .htaccess file to prevent hotlinking. After that I reversed the change. Now in firefox it is still redirecting from domainname.com/imagedir/image1.jpg to domainname.com when I enter the URL directly. In other browsers it is working fine.

Related

When trying to access index.php it redirects to index and shows 404 page

Im using IIS and I recently installed a module called URL Rewrite 2.
I tried changing the way index.php shows in the url.
I wanted to change from http://localhost/index.php to http://localhost/index
I did that and it wasn't working so I reverted everything.
Now when I search for http://localhost/index.php it redirects me to http://localhost/index and shows a 404 page.
I don't have any web.config in the server folder. I even unnistalled URL Rewrite 2. Everything was working before I tried this.
If you are sure you have reverted everything the redirect might be cached in the browser, try clearing the cache (or using another browser).

Opencart redirects domain.com to domain.com/domain.com

Opencart keeps redirecting direct domain.com to domain.com/domain.com, removing .htaccess does not change anything. Everything else seems to be working, only direct access to domain keeps redirecting.
Where to look for an issue?
Tried creating subdomain and directing to main directory, then it works fine.

Htaccess redirects my php extensions to example domain

I have no htaccess in my root. But everytime I try to access www.mydomain.com/index.php or any other link that ends with .php it directs me to
http://example.com/folder/index
I can't access by doing mydomain.com everything has to have www.mydomain.com
Fixed itself. Seems it took a little bit to refresh.

I deleted .htaccess but its effetcts remain

I'm getting started with making few redirect with .htaccess but I just made something wrong.
I was trying to make a redirect where when I write http://www.mydomain.com/it/about the browser jump to http://www.mydomain.com/it/about.php but I wrote something wrong!
I can't remember exacly what I wrote (I took some code over the Internet several times) but the problem now is that I've deleted the .htaccess but when I try to access to http://www.mydomain.com/it/about.php the browser is redirected to http://www.mydomain.com/it/about.
How can this happen???? There is not any .htaccess into the server!!!!!!
If you use a 301-Redirect ([R=301]), the Browser will cache the redirect. Try an other browser or delete your cache
Are you sure it's gone? .htaccess files are hidden for security.
Try uploading an empty .htaccess file.
disable the rewrite module by typing "a2dismod rewrite" in terminal and re enable it. this will remove effects of .htaccess file.

htaccess problem with Chrome, but not Safari?

I have a very simple .htaccess file set up to redirect a 404 to a php script:
ErrorDocument 404 /404.php
This works as expected in Safari, but does not work in Google Chrome (on a Mac or a PC).
I have also put a 404.htm file to see if the php script was the problem, but had the same results.
Why would Chrome have a different experience over Safari for this? I expected the .htaccess file to be a server-side redirect, so there shouldn't be any browser issues.
(All cache was cleared on all browsers before testing as well)
Chrome displays specific error messages for 404 an such, you'll have to disable it manually in its options:
http://www.google.com/support/chrome/bin/answer.py?answer=95671

Resources