Parsing Question Marks in URL

Ask a Question related to PHP Development, Design and Development.

  1. #1

    Default Parsing Question Marks in URL

    Hi, i'm trying to change the question marks in the url..

    eg. index.php?page=home

    to something along the lines of

    index.php/pages/home

    I heard their was a way to do this, but can't find anything on the net which
    is what I want to do. Its just so that some search engines that cannot crawl
    sites with question marks in them will be able to.

    Can someone point me in the right direction?

    Cheers

    --

    Kevin


    Kevin Matthews Guest

  2. Similar Questions and Discussions

    1. Yellow boxes with question marks
      Can anyone please help? I am trying to administer/edit a table from a website using Contribute3. Although I can edit text & delete some rows etc, I...
    2. Images appear as question marks
      I need help! I just uploaded my first dreamweaver website to yahoo. My images appear as question marks. I've uploaded the images in file manager...
    3. Odd question marks in drop down
      I'm redesigning a Website in ASP but elements from the client?s previous site need to come over and portions are in ColdFusion. All the pages are...
    4. HELP - CS in OSX 10.3.4 exchanging characters for question marks (?)
      CS appears to be randomly displaying and printing query marks (?) instead of alphanumeric characters. Its doesnt appear to be typeface specific, I’ve...
    5. question marks...
      I am getting question marks on my web page created by Microsoft publisher 2003. Does anyone know why this is happening? RAB_Missouri
  3. #2

    Default Re: Parsing Question Marks in URL

    Kevin Matthews wrote:

    > Can someone point me in the right direction?
    Sure.
    modrewrite, the apache module, check on google for more help!

    Kind Regards,

    --
    Ian P. Christian
    Ian P. Christian Guest

  4. #3

    Default Re: Parsing Question Marks in URL

    "Ian P. Christian" <pookey@pookey.co.uk> wrote in message
    news:bmuurj$e2s$1@goat.anlx.net...
    > Kevin Matthews wrote:
    >
    >
    > > Can someone point me in the right direction?
    >
    > Sure.
    > modrewrite, the apache module, check on google for more help!
    Cheers.. didn't know that existed. however

    RewriteEngine on
    RewriteRule ^sections/(.*) /index.php?page=$1

    That is what I now have in my .htaccess file (local server)

    index.php holds the actual site engine, and the page is where I want to go.

    Now this rewrite rule should allow users to type "sections/Home" or whatever
    to goto that same page right?

    Well what happens when I do this... is the page "index.php?page=Home" is
    loaded however the actual design of the page that is done in the index.php
    is not carried through leaving a plain page with no styling... is it poss to
    get round this?!?!

    Kevin


    Kevin Matthews Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139