Mailing List Archive

url and page rankings
Can someone guide me in how to make this page link: http://huldaclarkparazapper.com/cgi-bin/cart.cgi/CC2.html

show up as this page http://huldaclarkparazapper.com/CC2.html


showing the /cgi-bin/cart.cgi is confusing search engines and detracts from rankings


TIA,

David
Re: url and page rankings [ In reply to ]
On 12/11/16 08:20, David_e@charter.net wrote:
> Can someone guide me in how to make this page link:
> http://huldaclarkparazapper.com/cgi-bin/cart.cgi/CC2.html
>
> show up as this page http://huldaclarkparazapper.com/CC2.html

Assuming standard Apache / vlink setup:

In your apache virtual container config(s):

# For redirecting old links to the new.
RedirectPermanent /cgi-bin/cart.cgi/ http://www.example.com/


# You need to specify static content directories or Apache will try to
fetch it through IC.
Alias /images/ /path/to/images/directory/
Alias /css/ /path/to/css/directory/
...etc for any static content you have

# This is the actual magic that makes it work.
ScriptAlias / /path/to/vlink/ # (yes the trailing / here is important)


...In interchange.cfg:

FullURL 1

At this point restart apache and interchange, then browse to the site,
you'll get invalid catalog errors showing new path aliases for each of
your catalogs. Add these paths as aliases to the end of the relevant
Catalog lines. Restart IC again and it should work.


Peter

_______________________________________________
interchange-users mailing list
interchange-users@icdevgroup.org
http://www.icdevgroup.org/mailman/listinfo/interchange-users