How to make blog based website from scratch using php and mysql?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP

How to make blog based website from scratch using php and mysql?



I don't want to make a single page that will handle all the posts like the URL:



somewebsite.com/blog.php?blog=2232



I want that every blog should appear like:



somewebsite.com/blog1/



somewebsite.com/blog2/



For example, WordPress displays every post in its URL. I want the same functionality. Please help me. It is urgent.





Possibly URL rewriting with PHP + Reference: mod_rewrite, URL rewriting and "pretty links" explained
– mario
9 mins ago




1 Answer
1



I think what you are looking for is pretty URLs/friendly URLs.



Here you can read more about it: How to create friendly URL in php?



And also I found a tutorial about it here



Hope it helps.






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Comments

Popular posts from this blog

Executable numpy error

PySpark count values by condition

Mass disable jenkins jobs