rewrite question

Discuss phpwcms here, please do not post support requests, bug reports, or feature requests! Non-phpwcms questions, discussion goes in General Chat!
Post Reply
sporto
Posts: 160
Joined: Mon 10. Nov 2003, 18:01
Location: USA, Chicago

rewrite question

Post by sporto »

I have a question...

Currently with the alias you can go to a page using the following syntax:

http://www.domain.com/index.php?aliashere

Is it possible to use the rewrite function to allow you to do this:

http://www.domian.com/aliashere

Is that possible? I don't know much about this function, but I do know that when I tell people to type in "index.php?..." it often throws them for a loop.

Thanks.
Pappnase

Re: rewrite question

Post by Pappnase »

sporto wrote:I have a question...

Currently with the alias you can go to a page using the following syntax:

http://www.domain.com/index.php?aliashere

Is it possible to use the rewrite function to allow you to do this:

http://www.domian.com/aliashere

Is that possible? I don't know much about this function, but I do know that when I tell people to type in "index.php?..." it often throws them for a loop.

Thanks.
hello sporto

that waht you write is what the rewrite do!
sporto
Posts: 160
Joined: Mon 10. Nov 2003, 18:01
Location: USA, Chicago

Post by sporto »

but not for me... My alias works, but when I type in

/alias.shtml

I only get the home page. I don't understand why. Not a big deal. But I was just curious how other people have been playing with the rewrite.

So Pappnase, are you on this forum 24 hours a day? You always have such quick resonses! And I thank you for that.
Pappnase

Post by Pappnase »

sporto wrote:but not for me... My alias works, but when I type in

/alias.shtml

I only get the home page. I don't understand why. Not a big deal. But I was just curious how other people have been playing with the rewrite.

So Pappnase, are you on this forum 24 hours a day? You always have such quick resonses! And I thank you for that.
hello

hmm did you rename the htaccess file!? yes
you enable the rewrite function in the conf.inc.php!? yes

and when you click at an struckture it shows not the alias.shtml!?

like when you look at the replacement tag signature!?

or my http://test.fhss.de site?!

no i'm not 24 hours here my laptop is all the time on. and the forum runs always in the background :wink:
sporto
Posts: 160
Joined: Mon 10. Nov 2003, 18:01
Location: USA, Chicago

Post by sporto »

Dohhhh!!!
hmm did you rename the htaccess file!? yes
Nope. I when I upgraded from RC2, I didn't update the htaccess file. Thanks. It works now.

:)
Post Reply