![]() |
Redirecting to domain.tld - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: Redirecting to domain.tld (/showthread.php?tid=56020) |
Redirecting to domain.tld - El Forum - 11-21-2012 [eluser]mfroseth[/eluser] Hey all, I'm working with CodeIgniter on a small form based site. The URL is: http://www.legacysafeguarduniversity.com/faststart/omaha Now, for the life of me I cannot figure out why it keeps redirecting to domain.tld/omaha I've modified .htaccess Code: <IfModule mod_rewrite.c> Anyone have this issue before? Thanks, Redirecting to domain.tld - El Forum - 11-26-2012 [eluser]mfroseth[/eluser] Anyone? Can't imagine this is a one time issue? Redirecting to domain.tld - El Forum - 11-26-2012 [eluser]PhilTem[/eluser] The forums were not accessible over the past few days so go easy on us ![]() Your RewriteBase is totally wrong, that's why it keeps redirecting you. Should be Code: <IfModule mod_rewrite.c> Try it and enjoy ![]() Redirecting to domain.tld - El Forum - 11-26-2012 [eluser]mfroseth[/eluser] This is what I did: Code: <IfModule mod_rewrite.c> Is that still wrong? Doesn't seem to be working? Redirecting to domain.tld - El Forum - 11-26-2012 [eluser]mfroseth[/eluser] Sorry, I should explain that there are multiple pages that people should be able to access. The first page can be seen at: http://www.legacysafeguarduniversity.com/faststart/ However, the one I am currently working on is http://www.legacysafeguarduniversity.com/faststart/omaha Redirecting to domain.tld - El Forum - 11-26-2012 [eluser]mfroseth[/eluser] I've even completely deleted .htaccess in the /faststart/ folder. Would a different .htaccess in the root of my httpdocs be causing this problem? I'm clueless right now, hehe. Redirecting to domain.tld - El Forum - 11-27-2012 [eluser]mfroseth[/eluser] Anyone? Redirecting to domain.tld - El Forum - 11-29-2012 [eluser]machouinard[/eluser] I experienced this myself for a minute tonight. I had neglected to change domain.tld to my domain in some code I copied and pasted into my .htaccess. Changing or deleting .htaccess didn't help. After flushing my browser cache all was well. Good luck! Mark Redirecting to domain.tld - El Forum - 12-04-2012 [eluser]Unknown[/eluser] Don't forget to check your base url set within your config file ![]() |