OE duplicating downloads

Kols
01/07/2011 04:28 pm
Offline Explorer is duplicating the site that is being downloaded.

For example it downloads 2 versions

first version is: website.com

second version is: www.website.com

Even if the website is designed that way, is it possible to filter out one of the versions?

So I just get website.com or www.website.com but not both?
Oleg Chernavin
01/07/2011 05:02 pm
Yes, this is possible. Select the Project and click the Properties button. Go to the Parsing section and click the URL Substitutes. Add the following rule:

URL:
*
Replace:
http://www.website.com/
With:
http://website.com/

The above is when the starting URL is http://website.com/...

If it is www.website.com then use another rule:

URL:
*
Replace:
http://website.com/
With:
http://www.website.com/

Best regards,
Oleg Chernavin
MP Staff
Kols
01/07/2011 06:06 pm
Great, just another quick question.

If Im downloading a specific category, so the url looks like:

http://www.website.com/category/

In the URL Substitution section, do I have to then type in this:

URL:
*
Replace:
http://website.com/category/
With:
http://www.website.com/category/


or can I just leave it the way you said it? and it'll automatically know what to do?

URL:
*
Replace:
http://website.com/
With:
http://www.website.com/


Also, the URL: * is just for naming correct? Not anything important?
Oleg Chernavin
01/08/2011 03:44 am
Yes, * is correct. No need to specify the directory, just the site name.

Oleg.
Kols
01/08/2011 07:10 am
Thanks
Oleg Chernavin
01/08/2011 08:06 am
You are welcome!

Oleg.