Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Jan 2006
    Location
    Finland, Hollola
    Posts
    285
    Thanks
    8
    Thanked 0 Times in 0 Posts

    .htaccess mod rewrite problem - web graphics not loading

    Hi,

    When I use typical .htaccess rewrite code the images on website will not load for instance when i convert

    category.php?cid=1

    to

    category/1

    then the browser thinks that the images/graphics are located at mysite.com/category/images/header.jpg etc....

    How would I fix this?
    PHP 5 & MySQL 5 (Y)

  • #2
    Senior Coder shyam's Avatar
    Join Date
    Jul 2005
    Posts
    1,563
    Thanks
    2
    Thanked 163 Times in 160 Posts
    add a rewrite from /category/images to /images
    You never have to change anything you got up in the middle of the night to write. -- Saul Bellow

  • Users who have thanked shyam for this post:

    kaisellgren (11-09-2007)

  • #3
    Regular Coder
    Join Date
    Jan 2006
    Location
    Finland, Hollola
    Posts
    285
    Thanks
    8
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by shyam View Post
    add a rewrite from /category/images to /images
    Rep added!

    EDIT: Still not working

    http://www.photoshop-palace.com/category/7
    Last edited by kaisellgren; 11-09-2007 at 02:21 PM.
    PHP 5 & MySQL 5 (Y)


  •  

    Posting Permissions

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