BassMan Well-known member Aug 27, 2018 #1 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.
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.
S S Thomas Well-known member Aug 27, 2018 #2 https://www.rapidtables.com/web/tools/redirect-generator.html
BassMan Well-known member Aug 27, 2018 #3 Thanks, Thomas! But still, it doesn't work with the code it generates. Hm...
Lukas W. Well-known member Aug 27, 2018 #4 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.
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.
BassMan Well-known member Aug 27, 2018 #5 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.
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.
BassMan Well-known member Aug 27, 2018 #6 Ah, done it. Just changed those rewrite rules with new page name. Thanks!