URL issue ... need help with this :/

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Post Reply
User avatar
php-forum Active User
php-forum Active User
Posts: 300
Joined: Sun Dec 11, 2011 12:51 am
Location: Shrewsbury, Shropshire

Re: URL issue ... need help with this :/

Post by simplypixie » Mon Oct 22, 2012 2:55 am

You need to use .htaccess file to make 'friendly' urls, so create a file called .htaccess (if not already there) in your site root and add something like this (not tested):

Code: Select all

RewriteEngine on
RewriteRule ^/([a-zA-Z0-9]+)\$ index.php?page=$1

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 4 guests