Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
404 redirection please help
Old 01-04-2011, 11:09 PM 404 redirection please help
Banned

Posts: 5
Name: pooja
Trades: 0
i want to redirect a specific url to my home page. that url is a broken link (404 error). how to redirect the url to home page please help.
Thanks in advance
earnmoneypooja is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-04-2011, 11:12 PM Re: 404 redirection please help
Experienced Talker

Posts: 32
Name: Maxence Hamel
Trades: 0
What you need is a .htaccess page which will handle all the errors you specify and redirect you to the page you want.
__________________

Please login or register to view this content. Registration is FREE
- Fastest LiteSpeed Hosting | 99.99% up-time | R1Soft Hourly Backups

Please login or register to view this content. Registration is FREE
ubservers is offline
Reply With Quote
View Public Profile Visit ubservers's homepage!
 
Old 01-07-2011, 11:00 AM Re: 404 redirection please help
vectorialpx's Avatar
Extreme Talker

Posts: 249
Name: octavian
Location: Bucharest
Trades: 0
like

ErrorDocument 404 http://www.yoursite.com
__________________
you can
Please login or register to view this content. Registration is FREE
vectorialpx is offline
Reply With Quote
View Public Profile Visit vectorialpx's homepage!
 
Old 01-09-2011, 05:13 PM Re: 404 redirection please help
Physicsguy's Avatar
404 - Title not found

Posts: 920
Name: Scott Kaye
Location: Ontario
Trades: 0
Or you could ErrorDocument a 404 page, and that page has an instand meta redirect to the index page.
__________________
Check out my
Please login or register to view this content. Registration is FREE
or my
Please login or register to view this content. Registration is FREE
!
Physicsguy is online now
Reply With Quote
View Public Profile
 
Old 01-17-2011, 02:54 AM Re: 404 redirection please help
Html Web Design's Avatar
Experienced Talker

Posts: 31
Name: WP Themes
Location: Nagpur
Trades: 0
Code:
<customErrors mode="On">
   <error redirect="~/page.html" statusCode="403"/>
   <error redirect="~/Default.html" statusCode="404"/>
 </customErrors>
Use this code

where you can redirect you 403 error and 404 error page to whatever you want..
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE
Html Web Design is offline
Reply With Quote
View Public Profile Visit Html Web Design's homepage!
 
Old 01-17-2011, 09:05 PM Re: 404 redirection please help
mgraphic's Avatar
Truth Seeker

Latest Blog Post:
JAMISONTUNES
Posts: 2,918
Name: Keith Marshall
Location: Connecticut
Trades: 0
.httaccess

Redirect 302 /broken-url.html http://www.mysite.com/
__________________

<mgraphic /> - I don't have a solution but I admire the problem.
mgraphic is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to 404 redirection please help
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.13582 seconds with 12 queries