|
|
Question : 301 Redirect from <a rel="nofollow" href="http://www.domain.com/folder" target="_blank">www.domain.com/folder</a> to <a rel="nofollow" href="http://www.domain.com/folder/index.html" target=&q
|
|
I have a site that i am trying to do some redirects for. The site currently has some linking partners who, for various reasons, can't change the URL. the old url is something like www.domain.com/Folder
I need it to point to : www.domain.com/Folder/index.html
I have tried it using redirect 301 /Folder/$ http://www.domain.com/Folder/index.html
but it didn't work. I also tried redirect 301 /Folder$ http://www.domain.com/Folder/index.html and that didn't work either. I also tried putting a .htaccess file in the folder but it didn't work either. If there is a way to force the folder to go to the index file without having to type in index.html into the URL, that would be great too! Any help is greatly appreciated!!!!
|
Answer : 301 Redirect from <a rel="nofollow" href="http://www.domain.com/folder" target="_blank">www.domain.com/folder</a> to <a rel="nofollow" href="http://www.domain.com/folder/index.html" target=&q
|
|
(P.S. given that you are talking about an .htaccess file, I'm assuming that you are running on the Apache web server - is that correct? You may have better luck in the Apache area.)
|
|
|
|