bigheadedd Posted March 2, 2011 Share Posted March 2, 2011 Hi Guys, Really simple one here, but struggling to find any real correct syntax?! RewriteRule ^info$ /info_page.php at the moment it domain.com/info but not domain/info/ I know I need a catch all, but can't find any documentation on it? Is it better to link to everything with a trailing slash? Also, not sure if you know much about rewriting to ajax loaded content? I've read a lot about google changing from # to #! for example.. i've got: http://domain.com/about#!2 That loads page 2 of the about page. However i'd ideally like it to be crawlable and http://domain.com/about/#!/2 I know this is a bit complex as I don't think the hash is dealt with client side rather than server side. Any info on that would be awsome. Thanks again Edd Link to comment https://forums.phpfreaks.com/topic/229367-mod_rewrite-trailing-slash/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.