c1 cms - Composite C1 - Redirect old .php links to new URL's -
i have created new website in composite c1.
i need redirect old url's - blog urls - this: http://www.mydomain.com/en/news/news.php?b=68
to new format: http://mydomain.com/en/blog/2013/04/30/friendly-article-name
there 100 links redirect.
as .php links can't use 'url remapping' - explained here: http://docs.composite.net/configuration/url-remapping
i found article on - didn't much: http://compositec1.codeplex.com/discussions/308879
i have found on legacy url handler. says can manually setup redirects editing /app_data/legacyurlmappings.xml - file not exist. if create it, doesn't redirect.
i don't want have install php on server.
what's simplest way - ideally within c1 cms web interface.
i got working creating /app_data/legacyurlmappings.xml - in format:
<?xml version="1.0" encoding="utf-8" ?> <mappings> <mapping oldpath="/poo.php" newpath="/en/blog" /> <mapping oldpath="/omnicorp/test/forms" newpath="/page(41328915-3f56-423f-ab8d-157ddc9c8af8)" /> </mappings>
Comments
Post a Comment