www.mysite.com
Cause directories and such will only link to the main URL, www.mysite.com, and I want my site to rank well with search engines, I need to find a way to have any request sent to-
www.mysite.com look like www.mysite.com/cgi-bin/cgi/index.html but still say www.mysite.com
adding a Refresh in the meta tag of www.mysite.com/index.html to www.mysite.com/cgi-bin/cgi/index.html won't work for search engines
Making www.mysite.com/index.html a frame forward throws off the titles and descriptions, and i'm not sure if the search engines will like it.
I'm not sure exactly how to modify Apache to redirect www.mysite.com to www.mysite.com/cgi-bin/cgi/index.html, but even if i figured it out, it wouldn't work since the server this site is on has Plesk installed which over-writes the Apache config frequently.
Does anyone have any ideas?
If Plesk is over-writing your config file, there should be a way to change the settings that it puts there, too. I wouldn't know how, as I'd never heard of the program until I read your post.
1] External redirect.
-> the server tells to browser/user-agent: "Go here!"
[HTTP response first line: 301-302].
This way, the process from useragent POV is a little less efficient than solution 2], cause you've 2 requests and 2 answers instead of 1 & 1
2] Internal redirect [see the mod_rewrite documentation in Apache docs.]
But be careful with all the links and the i.ex. <img src='some/path'> of your /cgi-bin/cgi/index.html.
Because the useragent/browser thinks he's on the / of the web server, and instead he's in a deeper path [/your/redirecting/path], you must modify all the links and 'src' in a '/your/path/etc' way [note the starting slash].
3] About the plesk question, I don't know so much, but I think, as dingman said, there must be an option for telling Plesk "don't touch this"..
Hope this help.
cminblues