Results 1 to 2 of 2

Thread: .htaccess Problem

  1. #1
    Join Date
    Jul 2009

    .htaccess Problem

    Hey guys,

    I am having a slight problem.

    I am trying to post articles to my website now and when I post them I want the name of the article to be the URL

    Right now it is

    Instead I would like it to be

    And in the .htaccess here is what is listed for page
    RewriteRule ^page/([0-9]+)\.html$ page.php?p=$1

    Any thoughts?


  2. #2
    You will need to include the page ID # in the URL in order to have this work without rewriting code...something like this could work:

    RewriteRule ^([0-9]+).$ page.php?p=$1

    Now I'm no pro with mod_rewrite, and this hasn't been tested.

    Just throwing it out there quick.
    Submit Your Proxies @

Similar Threads

  1. How To Update .htaccess
    By garfish in forum Wordpress
    Replies: 7
    Last Post: 9 January, 2010, 12:48 PM
  2. .htaccess / redirect to 'www.'
    By Snak3 in forum On-Site SEO
    Replies: 12
    Last Post: 30 December, 2009, 20:13 PM
  3. .htaccess
    By dodolls in forum Managing
    Replies: 6
    Last Post: 15 November, 2009, 07:58 AM
  4. Strange .htaccess Problem
    By TopDogger in forum Programming
    Replies: 2
    Last Post: 19 October, 2009, 12:43 PM
  5. .htaccess help
    By Sami4u in forum Building
    Replies: 3
    Last Post: 14 September, 2009, 13:47 PM

Tags for this Thread


Posting Permissions

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