Jeffro Posted February 25, 2012 Share Posted February 25, 2012 Hi all. So I was pretty proud of myself because for the first time ever, I actually figured out how to update the .htaccess file without asking for help. Here's what I added: RewriteRule albums/(.*)/(.*)/(.*)/ albums.php?language=$1&searchindex=$2&searchparameterdata=$3 that worked to translate my links to: http://www.my domain.com/albums/en/music/beatles/ But then.. along came pagination and I'm stumped again. On clicking my next page, it now appends to the above url like such.. beatles/?language=en&locale=us&page=2&searchindex=music&searchparameter=keywords&searchparameterdata=beatles& Is this something I can correct in my .htaccess.. keeping the format of my working url and still letting pagination work? Link to comment https://forums.phpfreaks.com/topic/257733-pagination-problem-when-changing-htaccess/ Share on other sites More sharing options...
requinix Posted February 25, 2012 Share Posted February 25, 2012 Can you not fix the links to output in the right form? Link to comment https://forums.phpfreaks.com/topic/257733-pagination-problem-when-changing-htaccess/#findComment-1321013 Share on other sites More sharing options...
Jeffro Posted February 25, 2012 Author Share Posted February 25, 2012 Can you not fix the links to output in the right form? The links are created by the Amazon API I'm using. Link to comment https://forums.phpfreaks.com/topic/257733-pagination-problem-when-changing-htaccess/#findComment-1321016 Share on other sites More sharing options...
requinix Posted February 25, 2012 Share Posted February 25, 2012 Which API is that? Link to comment https://forums.phpfreaks.com/topic/257733-pagination-problem-when-changing-htaccess/#findComment-1321022 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.