Ask a Question related to PHP Development, Design and Development.
-
Kevin Matthews #1
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
-
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... -
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... -
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... -
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... -
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 -
Ian P. Christian #2
Re: Parsing Question Marks in URL
Kevin Matthews wrote:
Sure.> Can someone point me in the right direction?
modrewrite, the apache module, check on google for more help!
Kind Regards,
--
Ian P. Christian
Ian P. Christian Guest
-
Kevin Matthews #3
Re: Parsing Question Marks in URL
"Ian P. Christian" <pookey@pookey.co.uk> wrote in message
news:bmuurj$e2s$1@goat.anlx.net...Cheers.. didn't know that existed. however> Kevin Matthews wrote:
>
>>> > Can someone point me in the right direction?
> Sure.
> modrewrite, the apache module, check on google for more help!
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



Reply With Quote

