05-17-2013, 10:03 AM | #1 |
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. |
05-20-2013, 01:22 AM | #2 |
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. |
05-24-2013, 03:19 AM | #3 |
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. | |
06-10-2013, 10:31 PM | #4 |
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.
|
10-16-2013, 08:51 AM | #5 |
Registered User
Join Date: Oct 2013
Posts: 15
|
Both are good
|
11-05-2013, 11:41 PM | #6 |
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. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
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 | 0 | 11-21-2012 07:02 PM |