PDA

View Full Version : Section Links


Owen Drumm
18-Jul-2005, 12:27 PM
Is there any way of setting the section links to a direct link i.e http://www.supplement-warehouse.co.uk/Home_Gym_Equipment.html as opposed to http://www.supplement-warehouse.co.uk/cgi-bin/ss000016.pl?SECTIONID=Home%5fGym%5fEquipment%2ehtml&NOLOGIN=1
without having to hand code each section?

Nadeem
20-Jul-2005, 08:48 AM
Hi there

You could remove the javascript for the section list (which is shown in the primary template as "document.write(YahooSections(section_tree))" , and instead in its place use "NETQUOTEVAR:TOPLEVELSECTIONTOP".
This will give you full links, however this will only show the Top Sections. It does not include subsections, if you want that, then you can only hard code them in the "Act_Primary.html".

Kind Regards

Owen Drumm
21-Jul-2005, 06:00 PM
What would the effect of leaving them as they are be on how search engines see the site. Because there are so many sections and more to come I don't really want to start hand coding them but also I don't just want the top level sections showing.

wjcampbe
21-Jul-2005, 06:54 PM
I did a search for 'spider simulator' on goog and then viewed my pages to see exactly what a search engine spider would see. You may want to do the same.

Kevin
21-Jul-2005, 10:25 PM
What would the effect of leaving them as they are be on how search engines see the site.

If you want to get an idea of what a search engine would see, try turning off scripting in your browser (In IE: Tools > Internet Options > Security tab > click "Custom Level", scroll almost to the bottom of the list and switch "Active Scripting" to "disable". In Mozilla/Firefox/Netscape6+: Tools > Options > "Web Features" button, uncheck the "Enable Javascript" checkbox.).

Penfold
22-Jul-2005, 08:21 AM
Is there any way of setting the section links to a direct link i.e http://www.supplement-warehouse.co.uk/Home_Gym_Equipment.html as opposed to http://www.supplement-warehouse.co.uk/cgi-bin/ss000016.pl?SECTIONID=Home%5fGym%5fEquipment%2ehtml&NOLOGIN=1
without having to hand code each section?

Good Morning,

What difference is there if the links are hard coded and aren't using the '....NOLOGIN=1'?

Would it cause problems for users who have an account?

Regards,

Andrew

Nadeem
22-Jul-2005, 08:32 AM
Hi Andrew

The difference is that if a client was logged in, and they clicked on a hard coded link, then they would be logged out. You need to use the section javascript to allow the customer account to be still logged in.

Kind Regards