Forum Moderators: phranque

Message Too Old, No Replies

Help saving SE listings after file move

         

astrogirl2

10:01 pm on Nov 22, 2002 (gmt 0)

10+ Year Member



My website is currently deployed out of a subdirectory called /catalog. I use a redirect at the root level to allow the use of www.mysite.com without the subdirectory after.

I would like to move my file structure up to root but am wondering how this will affect current SE listings such as:

www.mysite.com/catalog/default.php?cPath=42

Where?cPath=42 is a category page. I currently only have three of these types of listings in the engines. I was thinking about deploying an htaccess file in the empty /catalog directory (after I make the move) with the following:

RedirectPermanent /default.php?cPath=42 [mysite.com...]

Will this work? Any other suggestions on how to ensure my category SE istings work after I move the files up?

Thank you,

Astrogirl

[edited by: jatar_k at 10:14 pm (utc) on Nov. 22, 2002]
[edit reason] no specific urls please [/edit]

jatar_k

10:31 pm on Nov 22, 2002 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld [webmasterworld.com] astrogirl2

mod_rewrite looks like the way to go with the moved permanent. I am not the mod_rewrite expert though.