n00bian - Posts

Return to advanced search

Re: advanced mod rewrite html to php

ok, figured it out myself:

RewriteEngine On
RewriteCond %{REQUEST_URI} ^/blog/
RewriteRule ^(.+)\.html$ $1.php

only thing is, the URL remains *.html in the browsers address bar. not a huge deal, but not accurate either. any tips on that welcome!

Thanks
by n00bian
Wed Oct 07, 2009 1:49 am
 
Forum: phpBB mod Rewrite
Topic: advanced mod rewrite html to php
Replies: 2
Views: 802

advanced mod rewrite html to php

Hi all, I have just redesigned a site with a custom blog template. All of the old blog posts were *.html, and on the new site those same posts are now *.php. This blog is a few years old and is organized into year and month folders. I am too much of a n00b to figure out the proper coding - What stri...
by n00bian
Tue Oct 06, 2009 9:05 pm
 
Forum: phpBB mod Rewrite
Topic: advanced mod rewrite html to php
Replies: 2
Views: 802

Return to advanced search