Hello everyone ! I need a code that displays my URL friendly,
Normally,
URL : www.domain.com/externalpage.php?page=12
Now i need my URL Like this
www.domain.com/externalpage/pageid/
Is there any way for this ??:)
Hello everyone ! I need a code that displays my URL friendly,
Normally,
URL : www.domain.com/externalpage.php?page=12
Now i need my URL Like this
www.domain.com/externalpage/pageid/
Is there any way for this ??:)
There is a way to change the url,You have to change some changes in htaccess file.this will be located in php folder.while installing php you will be having a folder called php.
and change the script to
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.php [NC,L]//change only these three lines
Hi jyothirpatil !, Thank you for your reply . Another question is, How to create .htaccess file and where i want to save that, Is that i want to save it the root_folder(public_html) ? Could you pls explain
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.