Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

/([a-z-0-9-]*) php

RedirectMatch 301 ^/news/([0-9]+)-(.*) /blog
RedirectMatch 301 ^/news/([a-z]+)-(.*)/$ /blog/$1
Source by webmasters.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #php
ADD COMMENT
Topic
Name
8+9 =