php - mod_rewrite rules -
I am trying to get the data after the URL and sent it back to the home page. I have had errors in .htaccess file on a server so I'm trying it on any other server.
http://www.newbiemoneymakers.com/bank/ favor the link below
directly to http://www.newbiemoneymakers.com/bank/index .php
, where I get the title then.
My .htaccess file says:
RiverVision revised rule ^ http: //www.newbiemoneymakers.com/bank/ ([^ /.] +) /? $ Index.php? Title = $ 1 [L]
My index page says:
But when I click on any link (like http://www.newbiemoneymakers.com/bank/bank-charges-refund/
) it Gives me a 404 page!
Do you know where I am wrong?
Ian
Pattern of a RewriteRule
just URI Path (in .htaccess files without a reference per-directory prefix) is re-tested, so in the root directory without the leading directory. > / ).
So it should work:
Rev. Rule ^ bank /([^/.]+)/?$ bank / index.php Title = $ 1 [L ]
Comments
Post a Comment