Tech Talk Discuss PC Hardware, Software, Internet and Other Technology


Old 04-27-02, 09:29 PM
DVD Talk Hall of Fame
Thread Starter
Blake's Avatar
Join Date: Feb 1999
Location: Orange
Posts: 7,737
Likes: 0
Received 0 Likes on 0 Posts

I know that there's simple javascript codes that you can put at the top of HTML pages to break out of frames (most of my pages have the code). And I've also seen other sites, that if you're not in their frame, they put you in it ( does this).

But what I need is a script that checks the address (URL) and if it's not correct, it corrects it. Here's the reason. If you go to, you'll see it just comes up as - the right URL.

If you go to, it comes up as the right page, but it should be - so I'd like to automatically correct the URL via a simple script - this helps preserves links amongst other things.

Just wondering if anyone has any simple javascript experience that could write this up real quick, or if there's a script out there already.

Thanks much!
Old 04-27-02, 09:34 PM
DVD Talk Hero
das Monkey's Avatar
Join Date: May 1999
Location: Atlanta, GA
Posts: 35,881
Likes: 0
Received 0 Likes on 0 Posts
They both come up as for me.


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Thread Tools
Search this Thread

Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service - Do Not Sell My Personal Information

Copyright 2018 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.