Go Back   Site Owners Forums - Webmaster Forums > Web Programming > Programming General > PHP / mySQL

Notices


Reply
 
Thread Tools Rate Thread Display Modes
Old 05-17-2013, 10:03 AM   #1
binarynpixel
Registered User
 
Join Date: Apr 2013
Location: Sydney
Posts: 127
what should i use for redierct to page?

Hello Guys,
after login i want user to redirect on index.php so there is two command to redirect so which should be i use and why? please share your review.
RedirectToURL("index.php"); and second is "header(location:index.php);
which one should i use for redirection.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
binarynpixel is offline   Reply With Quote

Old 05-20-2013, 01:22 AM   #2
noahwilson
Registered User
 
Join Date: Mar 2013
Posts: 246
Both are good for redirect to page, but i think RedirectToURL("index.php"); function is best to redirect and call through function.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
noahwilson is offline   Reply With Quote
Old 05-24-2013, 03:19 AM   #3
Luca tall
Registered User
 
Join Date: Apr 2013
Location: Chennai
Posts: 72
Always RedirectToURL("index.php") is better than Header(location:index.php).Because index.php is more effective.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
Luca tall is offline   Reply With Quote
Old 06-10-2013, 10:31 PM   #4
Jack Hard
Registered User
 
Join Date: Dec 2012
Posts: 25
My Opinion is different redirect your page always sitemap because when visitor goes on it they have see more then one services. so if they are want other services so they have done it on our website.
Jack Hard is offline   Reply With Quote
Old 10-16-2013, 08:51 AM   #5
Ranjan123
Registered User
 
Join Date: Oct 2013
Posts: 15
Both are good
Ranjan123 is offline   Reply With Quote
Old 11-05-2013, 11:41 PM   #6
mridul
Registered User
 
Join Date: Sep 2013
Posts: 92
u should use RedirectToURL("index.php"); because itis more effective and best to redirect and call through function.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
mridul is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Do redirected page backlinks & pr info count? wryfhk22 Search Engine Optimization 7 08-23-2022 09:48 AM
Secrete for seo alina albert Search Engine Optimization 87 03-11-2018 05:47 AM
Can I Boost a Page to Google First Page in a Week from 13.5 Million Competitors? junwe Search Engine Optimization 5 01-06-2017 10:27 AM
On page and off page optimization davidgaffer Search Engine Optimization 11 12-29-2012 03:24 AM
404 page do? farm gate Google 0 11-21-2012 07:02 PM


All times are GMT -7. The time now is 05:31 AM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.