Current User: Guest Login
Please consider registering


Lost Your Password?

Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Reply to Post Add a New Topic
UserPost

9:33 pm
October 16, 2008


stst

New Member

posts 1

Please advice,

I have few htm pages with good google rating.

Now I have redo the site to asp one.

How I can do 301 code in htm pages to be redirected to relevant asp pages – is there any line of code which I can place on these few htm pages – so, without having .htaccess file.

Thank you for advice.

Steve

9:25 am
October 20, 2008


Jean-Luc

Admin

posts 1125

Hi,

You cannot do a 301 redirect within a HTML page alone.

If you have ASP, you can use ISAPI Rewrite  and httpd.ini  for the rewriting. Directives like this one should do what you are looking for :

RewriteRule /old_page.htm /new_page.asp [I,RP]

Reply to Post

Reply to Topic:
301 code

Guest Name (Required):

Guest Email (Required):

NOTE: New Posts are subject to administrator approval before being displayed

Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
5 + 10
   


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 302

Currently Online:
17 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 9
Topics: 638
Posts: 2711

Membership:

There are 257 Members
There have been 304 Guests

There is 1 Admin
There is 1 Moderator

Top Posters:

cssfsu – 55
deepakgupta – 34
albert_newton – 30
cosminpana – 20
DTNMike – 19
ahtshun83 – 17

Recent New Members: raju, todd2taylor, sbdcunha, mansigill1987, ThomasDuh, ThomasKic

Administrators: Jean-Luc (1125 Posts)

Moderators: Jean-Luc (1125 Posts)