March 17, 201511 yr I am trying to divert the page domain,co,uk/news.html to domain,co,uk/news I thought it would be simple but cannot figure it out. Any advise would be awesome, thanks.
March 17, 201511 yr Try this: RewriteEngine on RewriteRule ^\/?([a-z\-]+)$ /$1.html [L]Should allow for www.domain.com/anything to show www.domain.com/anything.html. Edited March 17, 201511 yr by andy9l
Create an account or sign in to comment