The topic sounds stupid but I've noticed some websited have like "examplepage.com/posts/" Without a file extension. I know that if you use wordpress you get it like that but I also know websites that dosn't use wordpress and have it like that. How do I get that and is it hard to get? Thank you! :)
Asked
Active
Viewed 158 times
0
-
1it's known as a mod rewrite – Funk Forty Niner Apr 23 '15 at 14:45
1 Answers
1
You need to create a .htaccess
file in your root directory and have to make some rules in it refer to this link for help: How to remove .html from URL.
.htaccess
is the files i.e. used for URL rewriting and with this you can manage almost all types of URL manipulations

Community
- 1
- 1

Ashwani Goyal
- 616
- 4
- 18
-
I see that the top-rated answer there sais to link it like this "page" But the file can be called "page.html" right? – Gustav P Svensson Apr 23 '15 at 14:45
-
That would also require the `.htaccess` configurations. Please dig in further to `.htacess`, you will get your query solved. – Ashwani Goyal Apr 23 '15 at 14:47
-
-