When the user is logged out I want the homepage URL generated by the following variable:
to point to:
www.mysite.co.uk/
not:
www.mysite.co.uk/index.html
The main reason is for SEO benefits as it helps ensure people linking to the domain all link to the same place. It also ensures this is consistent with the internal link structure.
Previously I had changed the:
Design Options | Home Page Link
and pointed it to: www.mysite.co.uk/
However I found this had serious repercussions when trying to log into the site from the homepage as the site tried to redirect back to /acatalog/www.mysite.co.uk/ which caused the script to fail.
Furthermore navigating back to the homepage from a section page when logged in, the URL was www.mysite.co.uk not the CGI-BIN URL which actinic required to show that the user is logged in.
So I'm hoping for a solution to change the appearance of the homepage URL, however it only needs to do it when the user is logged out.
help as always is much appreciated....
Code:
<actinic:variable name="HomePageURL" />
www.mysite.co.uk/
not:
www.mysite.co.uk/index.html
The main reason is for SEO benefits as it helps ensure people linking to the domain all link to the same place. It also ensures this is consistent with the internal link structure.
Previously I had changed the:
Design Options | Home Page Link
and pointed it to: www.mysite.co.uk/
However I found this had serious repercussions when trying to log into the site from the homepage as the site tried to redirect back to /acatalog/www.mysite.co.uk/ which caused the script to fail.
Furthermore navigating back to the homepage from a section page when logged in, the URL was www.mysite.co.uk not the CGI-BIN URL which actinic required to show that the user is logged in.
So I'm hoping for a solution to change the appearance of the homepage URL, however it only needs to do it when the user is logged out.
help as always is much appreciated....
Comment