clive372
posted this
10 March 2022
Hi
There's nothing wrong with your code as such, it's just that the way I use nice page is for landing pages that I rewrite the url using .htaccess file.
The issue is that the page still needs to see the actual path to the assets rather than the rewritten path.
So having the base tag at the start of the head section allows the references lower down to access the correct path to files that are needed for the page.
At the moment every time I make any change to a page in the nice page editor I have to manually move the base tag from the end of the head to the start. Ideally if there was a switch: Add to start / end of head section.
I think others would find this a useful feature.
Thanks
Clive
Hi
There's nothing wrong with your code as such, it's just that the way I use nice page is for landing pages that I rewrite the url using .htaccess file.
The issue is that the page still needs to see the actual path to the assets rather than the rewritten path.
So having the base tag at the start of the head section allows the references lower down to access the correct path to files that are needed for the page.
At the moment every time I make any change to a page in the nice page editor I have to manually move the base tag from the end of the head to the start. Ideally if there was a switch: Add to start / end of head section.
I think others would find this a useful feature.
Thanks
Clive