Search Engine Optimization
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   SEO Chat ForumsSearch Engine StrategiesSearch Engine Optimization

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread SEO Chat Forums Sponsor:
  #1  
Old September 4th, 2004, 04:20 AM
thall89553 thall89553 is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 260 thall89553 User rank is Private First Class (20 - 50 Reputation Level)thall89553 User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 18 h 11 sec
Reputation Power: 5
Javascript script for 301 Moved Permanently

  1. Ok, I am just learning about this 301 practice, and need help understanding something. The page(s) I want to place redirects on ARE html. Every tutorial I come across assumes I can use some sort of script language, such as ASP or PHP to put the code in and redirect. What about .html pages? I have heard that javascript is the ticket but can find a tutorial or script for the same. Do you have one? Also, let us assume I do not have access to change configurations on the server.

Reply With Quote
  #2  
Old September 4th, 2004, 06:23 AM
sorvoja's Avatar
sorvoja sorvoja is offline
Contributing User
SEO Chat Intermediate (1500 - 1999 posts)
 
Join Date: Apr 2004
Posts: 1,547 sorvoja User rank is Sergeant (500 - 2000 Reputation Level)sorvoja User rank is Sergeant (500 - 2000 Reputation Level)sorvoja User rank is Sergeant (500 - 2000 Reputation Level)sorvoja User rank is Sergeant (500 - 2000 Reputation Level)sorvoja User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Week 6 Days 1 h 11 m 41 sec
Reputation Power: 11
Hi, HTTP redirects are done at the server level not at the browser level so you would let the web server do the job, or use a server side scripting language.

Reply With Quote
  #3  
Old September 4th, 2004, 06:25 AM
mobilebadboy mobilebadboy is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Location: Mobile, AL.
Posts: 35 mobilebadboy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
HTML and Javascript are client side languages, these are dependent on your browser.

PHP and ASP are server side langauges. To perform server side functions you need a server side language. They don't assume you can use one, you need one, at least to do a typical 301 Redirect.

I don't know of any off hand (other than meta-refresh), but there are HTML and possibly Javascript options to forward/redirect a page somewhere, but they're not the preferred method.

Reply With Quote
Reply

Viewing: SEO Chat ForumsSearch Engine StrategiesSearch Engine Optimization > Javascript script for 301 Moved Permanently


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT