I have an issue with wordpress' permalink. So, there is a blog, there is a note/notes. when i click the link (with href=php the_permalink()) note is not shown but main page loads (not blog's page). How can i fix it?
http://www.xn--d1aa4fb.xn--p1ai/blog/
I have another version of this site and it works properly: http://dyadya.o98110rn.bget.ru/blog/
The problem is with the CSS path in the inner pages. You do not use the complete URL to call assets, like this:
http://......com/assets/css/your.css
You use the folder navigation, like this:
./assets/css/your.css
In your inner pages, the css file will not be found. To solve this, add this tag inside your <head></head>
<base href="https://yoursite.com/"/>
With this, in yout inner pages, the pathi will not use the pages URL, will use the BASE HREF to look for the assets.
I hope it helps!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.