Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
marklcfc Posted March 28, 2017 Posted March 28, 2017 My forums have always been in the directory /forums. I was wondering what the process is to move my site outside of /forums as I don't require this sub directory anymore. And could this change cause issues?
marklcfc Posted March 31, 2017 Author Posted March 31, 2017 Tried to do this last night and failed, due to a 301 redirect that I've used for the past 13 years.As mentioned I wanted to move my forum into root from /forums. But whenever I remove the 301 redirect that is present in a htaccess file in root, nothing changes. The site still redirects and there seems no way around it.It did work when I was in a private window, and after clearing cache but I can't expect every member to know to do that so I had to revert back. Is there no way around this?
Daddy Posted March 31, 2017 Posted March 31, 2017 Were you using a 301 redirect from www.domain.com to www.domain.com/forums ? Reverting back can cause some caching issues but by simply reversing your 301 will fix this issue. Redirect www.domain.com/forums to www.domain.com/
marklcfc Posted March 31, 2017 Author Posted March 31, 2017 Yes I was using a 301 redirect from www.domain.com to www.domain.com/forums How do I reverse it? And would that create a loop as currently www.domain.com goes to www.domain.com/forums even when I've removed the redirect code from htaccess root.
Daddy Posted March 31, 2017 Posted March 31, 2017 @marklcfc assuming everything is configured properly the board will no longer point to www.domain.com/forums so if a member with an old cache visits the website it will, by default, redirect them from www.domain.com to www.domain.com/forum where your 301 where then redirect them back to www.domain.com which will also force their browser to recache which will then no longer redirect them to www.domain.com/forum If my theory is correct this should work flawlessly.
marklcfc Posted March 31, 2017 Author Posted March 31, 2017 1 hour ago, iDeath said: @marklcfc assuming everything is configured properly the board will no longer point to www.domain.com/forums so if a member with an old cache visits the website it will, by default, redirect them from www.domain.com to www.domain.com/forum where your 301 where then redirect them back to www.domain.com which will also force their browser to recache which will then no longer redirect them to www.domain.com/forum If my theory is correct this should work flawlessly. I've made the changes and I believe it's working
Recommended Posts
Archived
This topic is now archived and is closed to further replies.