apeee wrote:TR wrote:I don't

Posts: 919
Joined: 11/05/2007
Bug FinderFAQ ModeratorGetting busy with the Ubercode.

apeee wrote:
TR wrote:
I don't understand what you're trying to do here - no .html URLs in Drupal. Are these redirects from your old site? If so, what's the "edit delete" for?

Yes I'll be redirecting my old website pages to new one.
Actually I copied the URL aliases that I was using here, without any changes so it showed "edit delete" part with it. Smiling

To redirect URLs defined by your old site, you can put the following in .htaccess (using your example...):

RewriteRule    ^cart/checkout\.html$       http://www.example.com/cart/checkout   [R=301,L]

So the old URL http://www.example.com/cart/checkout.html will be redirected to http://www.example.com/cart/checkout - the [R=301,L] tells search engines that the content is permanently moved and they should replace the old URL with the new URL in their index.

--

<tr>.

Newbie Experiments on Ubercart! By: apeee (9 replies) Wed, 02/06/2008 - 17:13