Topic awaiting preservation: Moving a site from ASP -> PHP - redirection question... |
|
---|---|
Author | Thread |
Obsessive-Compulsive (I) Inmate From: Washington, DC |
posted 04-09-2008 18:39
For a little over five years, I've been running a blog that has become fairly successful and has attracted a nice base of around 5,000-7,000 regular unique readers who visit the site on a weekly basis. The site was originally made in ASP 3.0 since, at the time, that was really all I'd ever worked in as far as programming languages were concerned. Since then, I've picked up C#.Net and php and I feel it's time for a change. |
Paranoid (IV) Inmate From: Madison, Indiana |
posted 04-09-2008 19:52
What you want is called mod_rewrite. You can find documentation about it at apache.org. |
Obsessive-Compulsive (I) Inmate From: Washington, DC |
posted 04-09-2008 22:09
quote:
|
Paranoid (IV) Inmate From: Madison, Indiana |
posted 04-10-2008 05:44
I'm sorry, I wrote it wrong. It should be code: RewriteRule (.*)\.asp$ $1.php [L]
code: RewriteEngine On RewriteCond ${REQUEST_URI} this.asp RewriteRule (.*)this.asp $1that.php [L] RewriteCond ${REQUEST_URI} \.asp$ RewriteRule (.*)\.asp$ $1.php [L]
|
Maniac (V) Mad Scientist with Finglongers From: Germany |
posted 04-10-2008 09:30
Keep in mind you'd be stupid to develop a blog from scratch. |
Maniac (V) Mad Librarian From: Seoul, Korea |
posted 04-10-2008 10:42
quote:
|