Results 1 to 5 of 5

Thread: URL Rewriting

  1. #1
    Join Date
    Apr 2011

    URL Rewriting

    Hey, looking for some recommendations on good URL Rewriting references, or URL rewriting via single page redirection.

  2. #2

  3. #3
    Join Date
    Apr 2011

    Custom building a site and wondering is it better to do the rewriting via .htaccess via a myrid of rules OR do the one page to control all method?

  4. #4
    Well it is pretty much up to you, do whatever you feel comfortable with. htaccess is probably the most popular way to go though.

  5. #5
    Join Date
    Apr 2002
    Southern California
    I will agree that using htaccess file is the best way to do it but I will tell use I normally have a combination of both.

    At the end of the htaccess file I had a 404 error to run file called redirect.php

    This does not 403 redirect but just runs the file. The I look at the requested URL and include that file so it runs again without a redirect

    Taking it one step more I have a lot in the past let users add there own pages and store those pages in mysql so I query the database with the requested url and include the html and display
    Dennis Romano - based in Southern California
    PHP applications Developer & Backend website programmer

Similar Threads

  1. help me on url rewriting
    By dustro in forum VPS Hosting
    Replies: 4
    Last Post: 07-29-2010, 06:08 AM
  2. URL Rewriting not working
    By ashras99 in forum Programming Discussion
    Replies: 20
    Last Post: 03-12-2010, 01:41 PM
  3. Diffrence between URL Rewriting and URL Reriding
    By imstudio in forum Programming Discussion
    Replies: 3
    Last Post: 06-03-2008, 04:44 AM
  4. mod_rewrite url rewriting.
    By lachtan in forum Hosting Security and Technology
    Replies: 3
    Last Post: 02-18-2005, 03:53 PM

Posting Permissions

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