Jump to content

Change directory


marklcfc

Recommended Posts

Posted

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?

Posted

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?

Posted

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/

Posted

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.

Posted

@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.

Posted
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 :)

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...