Skip navigation
flaggfish
Currently Being Moderated

What location do I use in a dmx sitemap?

Mar 2, 2013 5:19 AM

Tags: #sitemap

I downloaded the DMZ Google Sitemap Generator.

 

My issue: I have a lot of websites set up in my hosting, using multiple folders for each website location.

When I set up the site server in DW I usually use the IP address as the ftp address and the folder name as the root directory.

Example of server setup:

Site is samplesite.com, but I don't use that in server setup.

ftp: 111.11.1.1 

root directory: samplefolder

Then the web url line in the server window looks like this: 123.12.1.1/samplefolder/

When I generate a sitemap it uses 123.12.1.1/samplefolder/ as the location - <loc> rather than the website domain name.

Is that ok?

 

I got into doing this setup when I was having trouble using the web domain as the ftp address. And http://samplesite.com/samplefolder/ just didn't make sense to me in the web url line of the server setup.

 
Replies
  • Sudarshan Thiagarajan
    4,000 posts
    Oct 15, 2010
    Currently Being Moderated
    Mar 3, 2013 11:43 PM   in reply to flaggfish

    Your FTP server can be an IP address. However, a web URL is ideally the canonical name for your website - usually your domain name, followed by the path of the root directory of that specific site.

     

    For sitemaps, you should be using the domain name in the <loc> location, not the IP, for best results.

     
    |
    Mark as:
  • Sudarshan Thiagarajan
    4,000 posts
    Oct 15, 2010
    Currently Being Moderated
    Mar 4, 2013 6:23 AM   in reply to flaggfish

    The sitemap  used http://samplesite.com/ without any root directory info.

     

    Is that where your files reside? Since you said you manage multiple sites, I was thinking you'll have subfolders within your parent domain name, something like this:

     

    • samplesite.com/site1
    • samplesite.com/site2

     

    Each of those folders containing their relevant website files.

     

    But, if this is not the case, if all files you're uploading reside on samplesite.com, your sitemap using http://samplesite.com on the <loc> location is perfect.

     

    However, the site for which you're creating the sitemap resides in samplesite.com/site1 or something like that, your sitemap location should show <loc> location as http://samplesite.com/site1

     

    Trust this helps.

     
    |
    Mark as:
  • Sudarshan Thiagarajan
    4,000 posts
    Oct 15, 2010
    Currently Being Moderated
    Mar 4, 2013 6:46 AM   in reply to flaggfish

    Absolutely. Don't confuse your Master hosting account with individual domain names.

     

    Even though you manage multiple sites, if you have individual domain names for all of them, your sitemap <loc> should point to the parent domain name. That will work just fine.

     

    In fact, even for your FTP server host info, you can actually use individual domain names - that will work just fine. You may want to try it out for one of your domains. Easier, instead of configuring using a master IP or a master domain and adding a 'subfolder' to the web path.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points