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 6 of 6

Thread: htaccess

  1. #1
    New Coder
    Join Date
    Apr 2011
    Posts
    16
    Thanks
    1
    Thanked 1 Time in 1 Post

    htaccess

    Hey there, so I have my htaccess working fine.

    the main problem i can't quite work around, is there will be constant new URL's needed to be mod_rewrite, i have them all listed in a database, is there a automatic way to get them them to do the reading, or will i always have to manually add

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,801
    Thanks
    160
    Thanked 2,216 Times in 2,203 Posts
    Blog Entries
    1
    Depends upon your source and destination urls.
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #3
    New Coder
    Join Date
    Apr 2011
    Posts
    16
    Thanks
    1
    Thanked 1 Time in 1 Post
    could you go into a little more detail? i've been looking all over the internet and not found anything

  • #4
    New to the CF scene
    Join Date
    May 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Actually, It depends on what server/host you are useing.
    Last edited by Inigoesdr; 05-18-2011 at 05:27 AM.

  • #5
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,801
    Thanks
    160
    Thanked 2,216 Times in 2,203 Posts
    Blog Entries
    1
    Quote Originally Posted by craig101 View Post
    could you go into a little more detail?
    That's what I'm also expecting from you. You haven't provided your current set of rewrite rules or any sample urls.
    Last edited by abduraooft; 05-18-2011 at 08:39 AM.
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #6
    New Coder
    Join Date
    Apr 2011
    Posts
    16
    Thanks
    1
    Thanked 1 Time in 1 Post
    I'm using cPanelx

    atm, i've just know from what i have researched online, so i am just doing testing now, so the only line i have is

    RewriteRule ^bob$ product.php?&i=2w4ckgew2fd

    as to get to this page it comes from a search, when the url pops up, it searchs the database that has two fields, URL and Redirect, if it finds a record in URL then it goes to the redirect


  •  

    Posting Permissions

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