Jump to content

Clean URLs. Removing &


Azu

Recommended Posts

Hello

 

I am trying to make all my URLs clean, and I'm almost done but I have encountered one little problem..

I have a forum that is get not post, and it puts &s into the URL instead of putting /s like it is supposed to.

 

Please tell me how I can fix it so that it uses / instead of &

 

This is the part of the form that is bugged

<input type='hidden' name='t' value='1'/>

Please say how I can fix it so that instead of putting in "&t=1" it puts in "/t=1" like it is supposed to.

 

The reason I am using GET for this instead of POST is that people should be able to link to this, and it should show up in the URL bar and be able to be changed etc etc.. but anyway ya please tell me how to fix it :)

Link to comment
Share on other sites

Please say how I can fix it so that instead of putting in "&t=1" it puts in "/t=1" like it is supposed to.

 

/ in a url meen a new dir to http. You really ought stick to the standard proticol.

 

If you want to do this properly, use mod_rewrite.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.