Pseudo-static page change is wrong, please help to solve it_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:24:51
Original
1210 people have browsed it

Paging html pseudo-static

There is a problem with the homepage paging conversion after setting pseudo-static on the website. Can anyone help me check
http://www.cdlovelife.com/info-page-2/
Copy after login
The pseudo-static rule is: RewriteRule ^(.*)/info-page -([0-9] )/$ $1/?page=$2
But the layout is messed up.
Direct browser input
http://www.cdlovelife.com/?page=2
Copy after login
All other pseudo-static conversions are no problem
Please help, thank you very much!

Reply to the discussion (solution)

Change the reference of the css file to an absolute path, do not use a relative path. That is../css/css.css--> /skin/style/css/css.css similar to

http://www.cdlovelife.com/info-page-2/ has pointed the directory to /info-page-2/, if the link to your resource is added with a relative path, it will naturally not be read.

The solution is as mentioned above, use absolute resources, starting from the root directory

http://www.cdlovelife.com/info-page-2/ has been The directory points to /info-page-2/. If the link to your resource is added with a relative path, it will naturally not be read.

The solution is as mentioned above, use absolute resources, starting from the root directory

You are right

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template