page redirect

W

wazza

I have inserted a video into a page which goes for approx 4 seconds.I want it
to go to a new page when video finishes playing. I have checked the help menu
which says to do the following

Redirect a Web page
1. In Page view, at the bottom of the document window, click Design .
2. Right-click the page, and then click Page Properties on the shortcut menu.
3. Click the Custom tab.
4. Under System variables (HTTP-EQUIV), click Add.
5. In the Name box, type REFRESH.
6. In the Value box, type the following:
x; URL=http://xyz.com
Where x equals the number of seconds before the redirection takes place, and
xyz.com equals the page to which you want to redirect the current page.
7. Click OK.


Now this is what I have typed in

4; URL=http://C:\Users\warren\Documents\My Web Sites\mysite\********1.htm

I get a message stating

name is not valid
to allow the nameto be used in scripting language it must start with a
letter or underscore and subsequent characters must be letters digits or
underscore

Can anyyone tell me what I am doing wrong please

Thanks

Warren
 
M

Mark Fitzpatrick

You're pointing to a file on your c: drive. You can't do that. Once you
publish the site, it would try to look for the file on the user's c: drive,
and of course the file doesn’t exist. You need to point to the file that is
in your web site. You have to point to where the file will be on your server
once you publish it.

Can you post the full meta tag so we can make sure there is nothing else
wrong.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - Expression
 
R

Rob Giordano \(Crash\)

the path is not correct, that's the website on your local machine.

try something like this
7; URL=http://www.yourwebsite.com/yourpage.htm

(giving it a few more seconds to redirect)

if you're using a server on your local machine you'd do it this way

7; URL=http://localhost/yourwebsite/yourpage.htm and then test it by
Preview in Browser - of course this path would not be correct on the real
web server since it's pointing to your local machine as well.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top