www.webdeveloper.com
Results 1 to 2 of 2

Thread: Need help with .htaccess

Hybrid View

  1. #1
    Join Date
    Feb 2007
    Location
    Thailand
    Posts
    75

    Need help with .htaccess

    Hi Webdevelopers,

    Currently I am trying to make SEF URLs for the following project aidability.co.uk, however I have major problems with rewriting URLs through .htaccess. Probably I have to mention that website is hosted at 1&1, can anybody help me with some very basic .htaccess .

    Currently my .htaccess file looks like that:

    Code:
    RewriteEngine On
    RewriteRule ^([^/]*)\.html$ /index.php?pagelink=$1 [i]
    RewriteRule ^([^/]*)\.html$ /category.php?category=$1 [c]
    RewriteRule ^([^/]*)\.html$ /product_detail.php?product=$1 [d]
    Kind regards
    Kal

  2. #2
    Join Date
    Mar 2009
    Posts
    452
    this may help you to have a quick start. http://davidwalsh.name/htaccess-url i will advise you to make a backup of your original .htaccess.

    you will need to modify your php files to generate and SEF URL's

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles