Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted October 23, 20195 yr Hello, after I have upgraded my forum I see that once I go live with new version the URLs will not be redirected for gallery, blogs and files because of new structure. I wonder do any of you know any .htaccess rewrite tricks to make such redirects possible? http://www.website.com/forums/blogs/* -> http://www.website.com/blogs/*http://www.website.com/forums/gallery/* -> http://www.website.com/gallery/*http://www.website.com/forums/files/* ->http://www.website.com/files/* I actually need the part forums dropped from the URL only when the address is going for forums+blogs/gallery/files. Don't want to loose that google traffic.
October 27, 20195 yr Author @newbie LAC I got one final thing to try and see if the IPS forum supports such a thing - that is rewriting top-level app fURLs slugs. Can you help me by giving an example what could be put in htaccess so such redirection happens: website.com/forums/* -> website.com/forum/* website.com/gallery/* -> website.com/pics/* etc.? you get the idea. I just need the principle, I'd make out other slugs then. Will try to redirect fURLs the proper way without editing core files.
October 28, 20195 yr RewriteRule ^forums/(.*)$ /forum/$1 [L,R=301] RewriteRule ^gallery/(.*)$ /picks/$1 [L,R=301]
Archived
This topic is now archived and is closed to further replies.