Redirect in .htaccess

BassMan

Well-known member
Hi,

I need some help with a redirect in .htaccess, please. It's not for XenForo.

Example:

How to redirect from my.domain.com/page1/ to my.domain.com/page2/

So, I'd like to have a completely different URL for page1.

Thank you.
 
Depending on what exactly happens when it "doesn't work", there could be a lot of reasons for this. Most basic example would be that the server isn't running apache but nginx, in which case it doesn't use .htaccess files.
 
It just shows some server information and some other stuff on a white background and add ?depth=1 to the end of new URL.

There are also some rewrite rules in .htaccess. Maybe that's the cause.
 
Back
Top Bottom