Jump to content
Stef's Coding Community

301 Redirect of jsp page not working


Recommended Posts

I'm trying to 301 redirect an old .jsp page to a new .php version. My .htaccess has

Redirect 301 /oldJSPpage.jsp http://www.domain.com/newPHPpage.php

Redirect 301 /otherJSP.jsp http://www.domain.com/otherNEWJSP.jsp

(I wanted to see if it was a .jsp to .php issue, but .jsp to .jsp isn't working, either)

 

When I redirect html and php pages, everything works just fine - but the jsp pages aren't cooperating at all. And yes, I have verified that there's no typo in the url and that all pages are on the server by directly pasting the file names out of my notepad page into the browser.

 

And I've asked Google, but haven't found anything about this yet.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...