Current User: Guest Login Register
Please consider registering


Register? | Lost Your Password?

Search Forums:


 






Minimum search word length is 3 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 1042

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:
12 + 6
   


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 201

Currently Online: Diggy
19 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 9
Topics: 497
Posts: 2378

Membership:

There are 2048 Members
There have been 245 Guests

There is 1 Admin
There is 1 Moderator

Top Posters:

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

Recent New Members: Diggy, mopl91, henrique, ScottWigle, mgshirinda, andersondj

Administrators: Jean-Luc (1042 Posts)

Moderators: Jean-Luc (1042 Posts)