Forum Moderators: phranque
I have been trying to fix an issue with htaccess, googled it for a very long time, learned few new stuff but could not solve my own problem.
What I am looking for is when the page is loaded you could see the pagination link below the articles which shows as - http://pl.example.com/page/pagenum. I am expecting it show http://pl.eexample.com/iphone/page/pagenum. What am I not doing properly? I guess I need a rewrite Condition?
RewriteRule ^iphone/page/([0-9999]+)/?$ /index.php?a=iphone-home&postpage=$1 [L,QSA]
[edited by: jdMorgan at 4:23 pm (utc) on Sep. 18, 2008]
[edit reason] please use example.com [/edit]
You must edit/modify the script that generates your HTML pages, so that the correct links appear on your pages.
After you do that, you can use mod_rewrite to "re-connect" the new URLs to the script that is used to generate the requested page.
Jim