Forum Moderators: phranque
My .htaccess file simply does a redirect from
www.site.com/article/56/
to
www.site.com/articles.php?id=56
So nothing overly complicated. However this morning, I uploaded a .htaccess file that would redirect three different links;
www.site.com/article/56/ > aritcles.php?id=56
www.site.com/media/56/ > media.php?id=56
www.site.com/news/56/ > news.php?id=56
this was fine, but I figured I only wanted it to work with articles, so I deleted the .htaccess file removed the news and media lines and reuploaded the file.
However even after uploading the NEW file the media and news links STILL work even though I removed them from my .htacces file?
The same thing DOES NOT happen if I keep this all contained within a test directory.
Does Apache cache redirects? Does anyone have any insight?
Thanks!
Mark
Everything's working fine, the reason I was getting this behaviour was because I was redirecting:
articles/45/
and I also have a script in the root, called articles.php, so without me knowing, it was actally the script that was being run as well as the .htaccess redirect.
Bah, thanks for the help everyone!
--Mark