Hi guys. I am writing a page, and would like to use mod_rewrite to make the URLs simpler with anchors. For example, i need to get lorem.com/1 to rewrite with an anchor to lorem.com/#ipsum and lorem.com/2 to rewrite to lorem.com/#dolor, etc.
Oh well, that's gonna take you a lot of work to map all your urls. Fortunately, Apache has this neat little feature called RewriteMap (though it doesn't work in .htaccess, only in virtual hosts or main server config, and it requires you to know the filesystem).
Wait, did you mean map lorem.com/1 to lorem.com/#ipsum? That doesn't make sense IMO but you can simply reverse the key-value pairs in your map and change the rewriterule to
Bookmarks