View Single Post
Old 07-26-2011, 09:45 AM  
kush
Confirmed User
 
Join Date: Feb 2001
Posts: 3,382
wordpress site to html - moving pages without extensions ex: http://site.com/page

I need help converting a small wordpress site with an unfavorable URL structure to a straight html site, while maintaining the original URL structure.


There are several pages on the current wordpress based site that have urls like the following:

http://site.com/page
http://site.com/another-post
http://site.com/no-trailing-slash-or-extention

As an extra quirk, the original site redirects the www. version to non-www. and I have this in my .htaccess to maintain that redirect:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.site.com
RewriteRule (.*) http://site.com/ [R=301,L]

I'm stuck with how to handle this, can't find an easy answer anywhere.
Thanks.
kush is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote