开发者

How to get permalinks on a non-Wordpress site

Hello guys I have some websites I'm currently building but I have a problem...I have pages such as blogPosts.php?postID=7

I would love something like blogPost开发者_StackOverflow中文版s.com/post title

Meaning I dont want people to see the variables I'm passing..

Same applies to a couple of other pages. I was told that permalinks is the key but everywhere I check, all I see is Wordpress but I am designing my site from scratch.

I'm running XAMPP from my pc.

I would really appreciate any help..

Thanks a lot


It sounds like you want to make "clean" URLs.

You can do it using Apache configuration files and PHP.

Here's an article which will tell you how.


You need to look int into apache mod_rewrite for starters.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜