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

  • SEARCH
  • Home
  • 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 7902675
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T09:33:57+00:00 2026-06-03T09:33:57+00:00

I have got this link echoed in php: echo <a href=’$appUrl’ class=’link-wrapper’></a>; $appUrl gives

  • 0

I have got this link echoed in php:

echo "<a href='$appUrl' class='link-wrapper'></a>";

$appUrl gives me this:

http://example.com/cams2/cam3

I am at url before clicking the link:

http://example.com/cams1

The links html is this:

<a href="cams2/cam3/" class="link-wrapper"></a>

When I click the url..I get this

http://example.com/cams1/cams2/cam3

Why are the 2 suburls..are added to the url..why not a new link is generated. like this:
http://example.com/cams2/cam3 ?

Is it the way browsers behave? can it be htaccess fault..? I dont think that it is..cause when I hover over the link, I see this :http://example.com/cams1/cams2/cam3.. even though what is represented is:

http://example.com/cams2/cam3

Any idea to why this happens?

update

solved.. I did this:
http://www.example.com/cams2/cam3
That solved the problem..I suspect it was some htaccess problem..no idea why it works

  • 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-06-03T09:33:59+00:00Added an answer on June 3, 2026 at 9:33 am

    It’s relative path. It will redirect from present url. You need to write /url/url2/. It is called absolute path. It will redirect from root http://example.com.

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

Sidebar

Related Questions

i've got some problems using jQTouch. I have this Link <a href=#site_map class=swap>Map</a> and
I have got this link: <a href=http://iml.com/wmaster.ashx?WID=124904080515&amp;cbname=liveealve&amp;LinkID=701&amp;queryid=138&amp;from=freevideo6&amp;promocode=BETLNK&amp;FRefID=-1&amp;FRefP=none&amp;FRefQS=none rel=nofollow title=Visit imLive.com target=_blank class=sitelink_external imlive>Visit imLive.com</a>
I have this link with the following css. <a href=step1.php>Buy Now</a> //css #buy a
I have got this html on the page: <a href=review.asp?sitename=webcamking#video_embed class=tutorials data_site=webcamking>&nbsp;&nbsp;Tutorial 1</a> This
I have got this html: <div id=myDiv> <p class=readMore></p> <p class=readMore></p> <p class=readMore></p> </div>
GridView CurrentGrid =Grd_UserList; Grd_UserList.Columns.Clear(); ı have got this example, ı use Columns.Clear(); fonc. with
I have got an XSLT that looks like this: <xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform> <xsl:output method=xml
I've got this link: <%= link_to Profile, user_profile_path(current_user) %> and it gives me a
I have url http://translate.google.ru/translate_a/t?client=x&text=ввійти вийти&sl=ua&tl=en If you will go through this link in response
I have got this code: XDocument xdoc = XDocument.Load(URI); XElement root = xdoc.Element(forecast); //get

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.