Login Changes page URL
Permalink
Hi guys,
I'm having a really weird error. I have a login block on a specific page, when you log in you gain permissions to view another block, with a list of PDFs ready for download. When a user logs in using this login block the URL of the page changes from
http://www.mydomain.ca/index.php?cID=145...
to
http://www.mydomain.ca/index.php/pricelist...
Now, the page is labeled as pricelist, so I guess that's where the name is coming from, but since the URL changes all the PDF links on the page are incorrect now. This is because the link that says
http://www.mydomain.ca/index.php/pricelist/themes/mytheme/pdf/price...
instead of
http://www.mydomain.ca/index.php/themes/mytheme/pdf/pricelist...
Anyone have any idea how to fix this?
Thank you
I'm having a really weird error. I have a login block on a specific page, when you log in you gain permissions to view another block, with a list of PDFs ready for download. When a user logs in using this login block the URL of the page changes from
http://www.mydomain.ca/index.php?cID=145...
to
http://www.mydomain.ca/index.php/pricelist...
Now, the page is labeled as pricelist, so I guess that's where the name is coming from, but since the URL changes all the PDF links on the page are incorrect now. This is because the link that says
http://www.mydomain.ca/index.php/pricelist/themes/mytheme/pdf/price...
instead of
http://www.mydomain.ca/index.php/themes/mytheme/pdf/pricelist...
Anyone have any idea how to fix this?
Thank you