|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| IT Discussion Forum Having IT issues? Got IT questions? Who doesn't? If you can't get your Apache to work with your MySQL or your php is choking on your ODBC... Let's see if we can help you come up with some ideas. |
Share Thread: & Tags
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
I'm moving to a new joomla site tomorrow and I want to put 301 redirects on some of my highest ranking pages from my current .aspx site.
Here's my problem. I've found two scripts online that should work but don't: ASP Redirect <%@ Language=VBScript %> <% Response.Status="301 Moved Permanently" Response.AddHeader "Location","http://www.new-url.com/" %> ASP .NET Redirect <script runat="server"> private void Page_Load(object sender, System.EventArgs e) { Response.Status = "301 Moved Permanently"; Response.AddHeader("Location","http://www.new-url.com"); } </script> You can view a sample page I'd like to redirect here: Leadership Articles | Organizational Improvement | Customer Service and Satisfaction redirecting to Jim Clemmer - Free Articles/Excerpts Any suggestions are appreciated. Cheers, Aidan |
|
|||
|
I've replaced the code on www.clemmer.net/keynotes/Default.aspx with the following:
<%@ Language=VBScript %> <% Response.Status="301 Moved Permanently" Response.AddHeader "Location","http://www.jimclemmer.com" %> And I'm getting an error: "Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: BC30800: Method arguments must be enclosed in parentheses." What am I doing wrong? |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 301 Redirect of many pages on IIS | SEMMatt | Search Engine Optimization Forum | 3 | 08-14-2008 12:57 AM |
| aspx pages | sujata | Search Engine Optimization Forum | 14 | 10-19-2005 04:43 PM |
| Using 301 Redirect for only a few pages - impact? | nnowakow | Search Engine Optimization Forum | 4 | 01-15-2005 10:22 AM |
| Redirect pages | MichelH | Search Engine Optimization Forum | 6 | 12-14-2004 06:50 AM |
| How do I redirect pages? | gellnsh | Graphics & Design Discussion Forum | 2 | 09-07-2004 04:47 AM |
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |