PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

Changing URL's returned by search.asp

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

  • Changing URL's returned by search.asp

    Hi all,

    I've a bit of a strange question - due to the way in which our current website works.

    From the search results returned by search.asp, where can I amend the URL's so that I can take out the phrase '/Static_Pages/' from them, so for example;

    http://www.MyWebsite.com/Static_Pages/ContactUs.asp becomes

    http://www.MyWebsite.com/ContactUs.asp

    etc etc

    Many thanks

    JimJam

  • #2
    You should be able to use the "Rewrite links" option under "Configure->Indexing options". This option allows you to rewrite the indexed URLs of the pages indexed. You would do this by specifying rewrite options to replace all instances of http://www.MyWebsite.com/Static_Pages" in the indexed URLs with just "http://www.MyWebsite.com".

    More information on the use of "Rewrite links" can be found in the help documentation.

    Comment


    • #3
      Hi Richard,

      Thank you for your quick reply.

      I tried using the "Rewrite links" option - but for some reason it does not seem to work - is it case sensative or does it not work on the free version? It's the free version I'm currently testing on.

      Regards

      JimJam

      Comment


      • #4
        It works on the Free Edition.

        Yes, it is case sensitive. URLs are, by definition, case sensitive (even if some servers such as IIS may automatically handle mismatched URLs because the file system is case insensitive).

        You would also need to re-index your pages and re-upload the search files for it to take effect. So make sure you've done this too.
        --Ray
        Wrensoft Web Software
        Sydney, Australia
        Zoom Search Engine

        Comment


        • #5
          Hi Ray,

          Thank you for your reply - all sorted now

          JimJam

          Comment

          Working...
          X