|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Redirecting users to a script whilst remaining searchable?
Hi, I'm hoping I might get some help with a little problem. I have a script at http://www.rateamate.net/cgi-bin/ez...ezPhotoRate.cgi
What I'm after is user entry instantly into the site script from typing the domain address at www.rateamate.net It doesn't matter what the address bar shows as long as typing www.rateamate.net takes the user straight to http://www.rateamate.net/cgi-bin/ez...ezPhotoRate.cgi Natrually I want the site to be visible to search engine spiders/robots. I'm really struggling with this one and any help would be greatly appreciated. Thank you, Malc |
|
#2
|
||||
|
||||
|
Hi,
You can use mod rewrite in htaccess if you are running on an Apache web server, see this page of the manual for more info and search the forums for mod rewrite. http://httpd.apache.org/docs/mod/mod_rewrite.html HTH
__________________
--------------------- -- SilkySmooth -- --------------------- Proxy | Little Directory |
|
#3
|
||||
|
||||
|
another solution (webserver independent)
Hi malc,
You could also just do a redirect using JavaScript from your index.html page: Code:
<script language="javascript" type="text/javascript">
<!--
window.setTimeout('window.location=" http://www.rateamate.net/cgi-bin/ez...ezPhotoRate.cgi ";',delay);
// --></script>
delay -> an integer that defines how many milliseconds to delay before redirecting (1 second = 1000 milliseconds) It's not as good as Silky's method, which is more efficient, but it will work. Nao |
|
#4
|
|||
|
|||
|
Thanks for the help, much appreciated.
malc |
|
#5
|
||||
|
||||
|
....Malc is in Cheltenham....
....Ade is in Swindon.... ....Nao is in North Wales.... ....with these forces combined, we become CAPTAIN UK DEVSHED!... hehehe. ![]() |
|
#6
|
|||
|
|||
|
How true.
Malc |
|
#7
|
||||
|
||||
|
Ummm well I'm in Swindon UK via Brazil
![]() |
|
#8
|
|||
|
|||
|
alternatively, if its an IIS server, you can use the IIS plug-in to set the default document as something like index.cgi /php /html /whatever you want....
an I'm in Glos (well actually Brecon atm...), but from Glos |
![]() |
| Viewing: Dev Shed Forums > Other > Beginner Programming > Redirecting users to a script whilst remaining searchable? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|