Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Mack_au Posted June 30, 2017 Posted June 30, 2017 Hi, During my upgrade to 4.x I had a few issues with URLs. Support helped me fix any issue with the site having bad looking URLs because of index.php/ but I still have an issue with old articles. In short, my old site had article content formatted as such: http://www.ADDRESS.com/_/CATEGORY/ArticleName In my current forum, this type of URL will no longer work. This means old external links no longer work. I've had articles discussed/linked on reddit, other internet forums, twitter, facebook etc. The URL is now: http://www.ADDRESS.com/news/CATEGORY/ArticleName An additional problem is that I have an invision database for my site, and records have a field for a corresponding article that relates to the database entry. These are broken, and require manually updating the database. I've already done one set of about 35 records, but it's time consuming and I don't want to have to do the other 100+ and it still wouldn't fix external links. Is there a way I can setup some kind of redirect that changes any url that has the /_/ issue, to make that part /news/ so these old version links can work?
Adlago Posted June 30, 2017 Posted June 30, 2017 Try this-> Add in your htaccess file # Permanent URL redirect Redirect 301 /_/CATEGORY/ArticleName http://www.ADDRESS.com/news/CATEGORY/ArticleName
Mack_au Posted July 1, 2017 Author Posted July 1, 2017 Oh great, it worked perfectly using: #Permanent URL redirect Redirect 301 /_/ http://www.westsydneyfootball.com/news/ Thank you.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.