PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

baseURL localhost livedomain.com

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • baseURL localhost livedomain.com

    Hi,

    We have a complex CMS system and so we have to index the site using the spider mode. However due to the size of the site it is quicker for us to index our local development copy at http://localhost

    I know you can edit the baseURL by clicking more -> edit to change to the live domain. Thus i have

    Spider URL = http://localhost/
    Base URL = http://www.livedomain.com/;http://localhost

    The local copy and live copy are identical except for the URL.

    However the results output from the search still use the http://localhost and so the search won't work when uploaded to the live site http://www.livedomain.com

    When i set the BaseURL to just http://www.livedomain.com/ then no content gets indexed

    So how do i achieve the above, spider a site at URL http://localhost/ but have a different baseURL

    Kindest Regards
    Last edited by cadman96; Jan-30-2008, 04:04 PM.

  • #2
    Solved it

    I figured it out.

    If you click on "Configure" then click "Indexing Options" there is a "rewrite links" section simply fill out the box.

    Thus based on my example

    Find in URL = http://localhost/
    Replace with = http://www.livedomain.com/

    Also you simply leave the BaseURL as the spiderURL i.e http://localhost

    Zoomsearch is cool!!!

    Comment


    • #3
      Glad to hear you've worked it out. Yes, that's a perfect example for when the "Rewrite links" option can be of help.
      --Ray
      Wrensoft Web Software
      Sydney, Australia
      Zoom Search Engine

      Comment

      Working...
      X