Forum Moderators: phranque

Message Too Old, No Replies

mod rewrite tool

where are webmaster tools?

         

phparion

8:13 am on May 11, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



hi a few months back or may be a year ago i saw a webmaster tool on this forum where i could write my page url structure and it gives out the regex for this to use in apache mod
rewrite.

but i cannot locate it now can anyone help me please?

thanks

jdMorgan

12:25 pm on May 11, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



We don't do tool reviews or recommendations here, but try a search for ".htaccess generator" and variations of that phrase.

I should note that the quality of the code these things generate varies from bad to awful, simply because the tools and the regex patterns they generate are "too general" and therefore inefficient. I recommend that you take the code they output, and optimize the regex patterns for your URLs. For example, get rid of all patterns like (.*)/(.*)/ and replace them with ([^/]+)/([^/]+)/ wherever applicable.

For more information, see the "Regular-expressions patterns" section here [webmasterworld.com].

Jim