Jump to content

Recommended Posts

Seems pretty easy to create. You just have to generate a unique url for a user submitted url. When this unique url is hit on your site, search the db for the mapped user submitted url and use header() to redirect to it. You should probably do a 301 redirect.

Link to comment
https://forums.phpfreaks.com/topic/98515-help-custom-url/#findComment-504143
Share on other sites

im not exactly sure how they do it,

but one way would be to use mysql

and just put an id to a url and have

the new url be like

http://www.yourwebsite.com/?url=56

 

(56 would be the id of the url in the database)

 

and then just grabbing the url from the database

that is in the same row as the id 56 and then

just redirect them to it.

Link to comment
https://forums.phpfreaks.com/topic/98515-help-custom-url/#findComment-504145
Share on other sites

guys guys...I'm a total n00b...so any more details....

 

by the way i have a script that lets me do it, but the problem is when it redirects it shows a timer and " page redirecting " thing, so can anybody please help me how to make it not to show the timer, I want it to automatically redirect, ...

 

Well here are the files in that script.....the pro i can't ask or give the script part directly is that I don't knw which file to look into, so here are the files which comes with the script

 

config_sample.php
forgotpwd.php
index.php
install.php
login.php
password.php
profile.php
utils.php

 

so which file do I have to edit to make it possible

Link to comment
https://forums.phpfreaks.com/topic/98515-help-custom-url/#findComment-504189
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.