Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
CheersnGears Posted November 21, 2015 Posted November 21, 2015 On my 3.4.8 site, all of my Content articles use the url form of http//www.Sitename.com/_/<Category Name>/<Article Title> On my 4.1 test site, the url is http//4dot.Sitename.com/articles/<Category Name>/<Article Title> I have tried to do a mod_rewrite to catch income links that use the underscore and redirect it to the new URL, but it doesn't seem to be working. The line I'm using is: RewriteRule ^_/$ /articles/? [L,R=301] but it doesn't appear to be working. Pages is my default app
Adlago Posted November 21, 2015 Posted November 21, 2015 Try this RedirectMatch 301 /_/(.*) /articles/$1
CheersnGears Posted November 21, 2015 Author Posted November 21, 2015 Edit: *nevermind* trying as typeed That worked perfectly. Thank you much!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.