[support] Drupal 6: How can I create a Drupal "Page" (not a block) without any theme?

Earnie Boyd earnie at users.sourceforge.net
Wed Feb 8 13:01:03 UTC 2012


On Tue, Feb 7, 2012 at 10:32 PM, Walt Daniels wrote:
> We did this for 2 years with most of the old Dreamweaver site still
> available after we converted to Drupal.  I very occasionally updated an old
> page, but mostly to convert to a 301 to the Drupal side. We finally got rid
> of all the old html pages a few weeks ago, but are still fixing an
> occasional not found page where someone linked a new page to an old page.
> There are some cute tricks to 301 html pages to someplace else that doesn't
> involve large changes to .htaccess (just one line to run html pages with php
> in them).
>
> AddType application/x-httpd-php .html
>
> then, for example, replace about.html with
> <?php
> // Permanent redirection
> header("HTTP/1.1 301 Moved Permanently");
> header("Location: http://www.example.com/aboutus");
> exit();
> ?>

I've used URL aliasing for this as well.  The alias is about.html for
Walt's example above.

-- 
Earnie
-- https://sites.google.com/site/earnieboyd


More information about the support mailing list