I'm updating an older site to a new site and wanted to ask about a 301 redirect. I normally use this code: Redirect 301 /oldpage.php http://www.yoururl.com/newpage.php BUT the current site doesn't seem to have any extension as in oldpage.php. Question: How do I find out what the .php or .html is for each page on the existing site so I can ensure the 301 is redirecting correctly? Thanks.
An URL doesn't need necessarily to have an extension. There are applications that use rewritten URLs in the style /category/page and rewrite it internal to something like index.php?c=category&p=page, where /category/page.html might not work. So, maybe you should try without any extension at all and see if that works.