Forum Discussion
Fotios_30046
Nimbostratus
Jun 15, 2009Redirect html to aspx
We're relauncing a new portal for a customer and due to search engine requirements, they have requested that several hundred of their .html pages be redirected to their .aspx replacements using a 301 redirect.
I have several hundred pages that I was going to load into an external data file and reference via a class, then use a couple lines of code to redirect the calls, but I'm getting the following error:
01070627:3: The string class external file (/var/class/carpetone) has an invalid format, line: 1.
I built the file using notepad and pasted it using vi and removed any newlines using:
tr -d '\n' new file
Any thoughts on what I might be missing?
1 Reply
- Fotios_30046
Nimbostratus
I uploaded a file and did not remove newlines but instead added commas to each line and it worked.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
