Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7679463
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T17:52:59+00:00 2026-05-31T17:52:59+00:00

Im newbie here.I have a problem with codeigniter segment() method.I referred 6th segment of

  • 0

Im newbie here.I have a problem with codeigniter segment() method.I referred 6th segment of URL at href($this->url->segment(6)) but when i click the link it goes to full URl/6th segment.i.e
I want my link will be go here http://www.webcoachbd.com(this is 6th segment of my URL)
but it goes http://www.example.com/controller_name/method_name/segment1/segment2/segment3/www.webcoachbd.com

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T17:53:01+00:00Added an answer on May 31, 2026 at 5:53 pm

    From the resulting URL that you posted, it looks like you might be missing a forward slash.

    <a href="/<?php echo $this->uri->segment(6); ?>">link text</a>
    

    This would force the URL to forward to the root of your site, rather than to that location inside the current folder that the browser thinks it is in.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is sort of SQL newbie question, I think, but here goes. I have
I seem to have a probably newbie problem but here it is. How do
I've seen a few examples on here to this problem, but none have solved
REAL newbie here to Objective C and Cocoa. I have this 'if statement' if
I am newbie to ajax here and I know somebody would have encountered this
I am a Python newbie. I have this small problem. I want to print
Super newbie at Javascript here. I have a problem with whitespace that I'm hoping
i'm a total newbie to java and Alfresco and i have this simple problem:
May be this is a newbie question but here it is. I am developing
Newbie Warning I have a simple but vexing problem trying to disable an NSButton.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.