Printer Friendly Version
Email this thread to a friend
|
Featured Web Site Template |
|
| Member |
Message |
zawam
Joined: Oct 13, 2005
# Posts: 90
|
Posted: 07/14/2006 01:10 pm
Hey All. I know you can do it but i am not sure how. I have web-pages pulling information from a database, but there all long urls, ie, www.domain.com/longurl.php?uid=1&seo=none.
How can i make this like
www.domain.com/1/seo/
Thanks all...
|
 |
bhartzer
Administrator
Joined: Jun 08, 2000
# Posts: 7035
|
Posted: 07/14/2006 01:21 pm
You'll need to use some form of mod_rewrite to rewrite the URLs.
I'm not sure if you're using a UNIX server or a Windows server, so you'll need to use either mod_rewrite or ISAPI rewrite depending on the type of server you're using.
|
 |
zawam
Joined: Oct 13, 2005
# Posts: 90
|
Posted: 07/15/2006 02:49 am
I am using Linux/Unix. So its PHP, Is MOD_REWRITE Already installed on the server as its just shared hosting?
|
 |
Prowler
Moderator
Joined: Aug 14, 2000
# Posts: 1705
|
Posted: 07/16/2006 10:26 pm
You will find snippets of directives for the mod_rewrite here in this forum. You need to add the directives in a .htaccess file and upload this to your server document root.
Incidentally mod_rewrite module is almost standard in most Apache server installations.
|
 |
You are not permitted to post messages in this forum or topic, because of one or more of the following reasons:
- You have not yet logged in, or registered properly as a member
- You are a member, but no longer have posting rights.
- This is a private forum, for which you do not have permissions.
If you are a recent member, it's possible that you simply have not yet confirmed your account. Please
check your email for a message entitled 'JimWorld Forums: Confirm Your Account' and follow the instructions
contained within.
If you cannot find this message, click here to Re-Send it.
|
If you are still experiencing problem, please read the
Login Assistance
Article for some advice on what may be causing your login not to work properly.
|
Switch to Advanced Editor and ...
Create a New Topic
or Reply to this Thread
|
|