Dimitri Vorontzov Posted December 28, 2012 Share Posted December 28, 2012 I think I was following the instructions very precisely, but the result isn't what it was supposed to be. Going to mysite/about/ doesn't land me on the about page (which I have created just to see what would happen, even though the book doesn't mention anything about creating it.) Repeated clicks on the links, modified as suggested in the book, result in URLs like this: index.php/about/index.php/this/ index.php/about/index.php/this/index.php/that/index.php/about/index.php/that/ and so on. I'd appreciate some help with this from a knowledgeable person. Link to comment Share on other sites More sharing options...
HartleySan Posted December 28, 2012 Share Posted December 28, 2012 Dimitri, the code in the book works, so if you're not getting the desired result, then something is wrong with your code, but we can't confirm that unless you post your actual code. From the information you have provided though, it seems like the URLs are being concatenated on top of each other, for one reason or another. Link to comment Share on other sites More sharing options...
Antonio Conte Posted December 28, 2012 Share Posted December 28, 2012 I would double check your config file. Read the explanation there one more time. Pretty sure that's the problem. (I don't know this time) Link to comment Share on other sites More sharing options...
Dimitri Vorontzov Posted December 28, 2012 Author Share Posted December 28, 2012 Yeah, I guess I'll go through the entire chapter one more time, to see where I missed something. Thank you, guys! Link to comment Share on other sites More sharing options...
HartleySan Posted December 28, 2012 Share Posted December 28, 2012 I'd start by making a really simple mod_rewrite test that doesn't involve any regexes. That way you can at least confirm that the environment is not the issue. I'd start with something simple like a.html, b.html and c.html, and see if you can make it so that when the b.html link is clicked from the a.html page, c.html instead of b.html is loaded. 1 Link to comment Share on other sites More sharing options...
Recommended Posts