Hi,
Iīm newbie to mod rewrite, and although I have a solution it isnīt working. I think this is very simple to who know how![]()
Iīm trying to configure wordpress in a already built site, for the two site to be able to be on same host, I renamed index.php of worpress to index2.php and disable pretty urls.
so the worpress url will be
and the links in worpress will beCode:http://www.example.com/index2.php
My problema is that because I want wordpress to assume the link, the correct url should beCode:http://www.example.com/?page_id=5215
Code:http://www.example.com/index2.php?page_id=5215
So I need that apache to replace url each time it was page_id= to index2.php?page_id= like the two above links
I need the changes to be in httpd.conf, inside a directory tag and have this solution
But isnīt workingCode:RewriteEngine on RewriteBase / RewriteRule ^page_id=(.*)$ /index2\.php?page_id=$1
Can you help me ? Thanks


Reply With Quote






Bookmarks