redirect on redirected folder

CLOSED

redirect on redirected folder

Postby malos.aliens » Tue May 04, 2010 6:17 pm

Hi!
I recently installed a Cake PHP system which requires to redirct my root to another root folder on where the contents are
example:
RewriteEngine On
RewriteRule ^$ newroot/ [L]
RewriteRule (.*) newroot/$1 [L]

However, on the "old" root I had some files to where search engines are trying to access as well visitors which had that page bookmarked, I would like to redirect this visitors to the new URL (which don't have the same name) I don't mind to add all the pages 1 by 1 redirecting them to the new URL, however, so far I was unable to do it.

I tried with something like

redirect 301 oldpage.html http://domain.com/pages/newName
and
RewriteRule oldpage.html$ http://domain.com/pages/newName

But none of those works. I'm started to wonder if this is possible to accomplish.
TIA to everybody.
malos.aliens
 
Posts: 2
Joined: Fri Sep 28, 2007 7:07 am

Return to New Threads/Problems

Who is online

Users browsing this forum: No registered users and 4 guests

cron