RU 

Install, Setup, Run
phpSitemapNG 1.5.x


Copied from: install setup and usage guides.

Installation phpSitemapNG 1.5.x

  1. Download 1.5.3 stable or the current release and store it on your harddisc
  2. Create a directory on your webserver (suggestion: /admin/phpsitemapng) and protect it with a .htaccess file
  3. Extract this archive and copy the files to this directory on your website, copy sitemap.xml and sitemap.xml.gz into the root directory of your website.
  4. Make the following files writable (chmod 0666):
phpSitemapNG - settings screen (step1)

Setup phpSitemapNG

execute the script with your browser: browse to http://www.yourhost.com/admin/phpSitemapNG/ (take care of the capital letters).
You’ll get a screen like this:

Set the settings according to the folling cases

Common settings:

Choose crawling method

Scan where to search for files:

Please choose the item that matches your website and set the settings accordingly:

I have a small website with less than 500 files

Make the following settings:

With this settings, phpSitemapNG will crawl your website and finally give you an edit screen where you can adapt the values.

I have a bigger website with more than 500 files

Make the following settings:

With this settings, phpSitemapNG will crawl your website and will write the result direct into the sitemap file.

There will be no edit screen since this can slow down or kill your browser. The created sitemap file will be compressed (if available). Check the expert settings to get some background information about the timeout functionality and the crawler if you’re running into problems when saving the settings and executing the scan.



Detailed information about the settings available

phpSitemapNG - edit found urls (step3)

Run phpSitemapNG

Press the Submit Settings button to store the settings and start the scan of your website.

Edit the result

If you checked the “Display edit screen after scan” checkbox, you’ll see a page like this:
You can now adopt the settings to your needs. Press the “Create file” button to use this information for generation of the sitemap file.

Store sitemap

When you’ve pressed the button “Create file” in the result overview page the sitemap will be generated and written to the sitemap file specified at the settings page.

Inform Yandex, Google, Yahoo and Bing

  1. Add to robots.txt line: Sitemap: http://yoursite/sitemap.xml
  2. When the sitemap has been successfuly written to the filesystem you’ll get the option to inform Google. Just press the “Submit to google” button.
    Is this your first sitemap Google suggests to submit the sitemap within a Google Sitemaps account. You can get one at http://www.google.com/webmasters/sitemaps/. This is the only possibility to track the status of the Google sitemap at the moment – so please do so.
    The message given by phpSitemapNG does only mean that Google got the url of the sitemap, not that it successfuly downloaded and computed the sitemap.
  3. Yandex Webmaster interface - add sitemaps there

Watch your website within Google

That’s it, you’ve successfuly created your Google sitemap.

So track the impact of Google Sitemaps you can query Google about the number of indexed pages: Type site:enarion.net (modify the website after site: to match your website). Then you’ll see the number of indexed pages: Results 1-… of about x from … Where x is the number of pages of your website that is integrated in the Google Search index at the moment. This number can differ depending on your location because of the not sychronized Google index.

Maybe you have some webpages in the result without description, only the url of the webpage. This means that Google got these urls (from the sitemap file) but does not have crawled, computed or added of this webpage to its index. It normally takes 1-5 days than there will be a description.