Translate Links

01/28/2008 12:15 pm
Sorry for bad english, but i try explain.
I like this offline solution more and more, when i download more sites. And i stay happend, when i found, that i can use offline files to indexed by search desktop engines like google or yandex. Its super. But i found, that if my projects download files in direct link with filenames like address link (*.php, *.asp and other extentions) search engines do not index its, because that files has no text extension. From that moment i began use translation link with mask

*.php -> * ->*.html to translate *.php.html, *.asp->*->*.html to translate *.asp.html

and search engines bigan index its. Super, but some time i found strange thing, when i found, that link translate to I was wonder! And I understand, that transtale function mistake, that translate by rule *.php (!), but it do's not do this.
My question: what to do now, to avoid this situation, and when you begin use regular expressions in future (i think, its very important!!!)?
Oleg Chernavin
01/30/2008 03:14 pm
There is a feature to add standard extensions in Offline Explorer. You can select a Project and use File - Export menu for that.

Best regards,
Oleg Chernavin
MP Staff
02/01/2008 06:46 am
No. This not, what i need. Export not goot solution. I need "URL Substitutes" with "mind" rule. But now i do my tast like:

**.html -> * -> *
**.php -> /**.php* -> /**.php*.html

and it work good.
Oleg Chernavin
02/01/2008 07:57 am
You can change this to one simplier rule:


02/01/2008 09:41 am
You're right, and i use this rule in simple sites, but it not work correct in "". I do not need to substitute *.html. Only *.php, but link "" do substitute with rule like your to ""; because OE find ".php" in "" site name.
Oleg Chernavin
02/01/2008 09:47 am
OK. I see now. Yes, in this case your rules will work better.

02/01/2008 09:49 am
-> continue. My rule: *.php, *, *.html, because some links like index.php?asd=123&qwe=456, and i need file name like one + .html extention, because google desktop not search in file name "index.php.html@asd=123&qwe=456" (like your rule), only in "index.php@asd=123&qwe=456.html".

Thank you.
Oleg Chernavin
02/01/2008 10:14 am
Yes, this is also true.