Website Babble Webmaster Forums  

  #1 (permalink)  
Old 03-12-2008, 05:47 PM
Junior Babbler
 
Join Date: Mar 2008
Location: Lake Charles, Lousiana
Posts: 1
Jack Lassiter has a few positive reputation points
Default Link-back to Main Directory

Last week I built a download page for a free pdf ebook in a sub-directory on my server. At the bottom of the page, I inserted the URL to my primary webpage in the main directory (the original domain name).

When I tested it, it took me to the index page in the subdirectory! I checked the html, but there wasn't a clue as to why this was happening. After an hour of experimentation, I finally had to assign a hyperlink through mytinyurl to take it out of the subdirectory. So, if anyone has had this problem, this is one way to make it work.

Any other ideas?
Reply With Quote
  #2 (permalink)  
Old 03-12-2008, 05:54 PM
ssmorgan's Avatar
Super Moderator
 
Join Date: Jun 2007
Location: Tucson, AZ
Posts: 1,127
ssmorgan is a reputable WB member and has over 100 reputation pointsssmorgan is a reputable WB member and has over 100 reputation points
Default

In the link back to the main page, make sure it says

a href="index.html"

not

a href="/index.html"

the "/" brings you back to the index of the directory you're in, not the original index.html

I bet that must have been frustrating. Try it, and let me know if it works.

Sherif
__________________
Tough Time Finding or Researching A Niche? Affiliate Niche Club will help!
Reply With Quote
  #3 (permalink)  
Old 03-12-2008, 05:57 PM
ssmorgan's Avatar
Super Moderator
 
Join Date: Jun 2007
Location: Tucson, AZ
Posts: 1,127
ssmorgan is a reputable WB member and has over 100 reputation pointsssmorgan is a reputable WB member and has over 100 reputation points
Default

Hmmm, I just re-read your post, and I am not sure my response will answer your question...

You said you inserted the url to the main page, so you entered

a href="http://www.domain.com">

If that's the case, then I would have no idea why it would bring you back to the subdirectory's index page.

Let us know!

Sherif
__________________
Tough Time Finding or Researching A Niche? Affiliate Niche Club will help!
Reply With Quote
  #4 (permalink)  
Old 03-19-2008, 06:52 PM
nixwebo's Avatar
Master Babbler
 
Join Date: Mar 2008
Location: Jacksonville, Illinois
Posts: 223
nixwebo has a few positive reputation points
Default

ya, if you are using a absolute link like http://yoursite.com and not a relative like like /dogs or /index.html I don't see any reason that your site would not send you to the link you are telling it to?

Unless your website host is up to something screwy with the virtual links on the server?
__________________
Free Webmaster Tools Apps and Templates | Free eBooks For Life | Web Site Traffic
I must create a system or be enslaved by another mans; I will not reason and compare: my business is to create.
William Blake
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On



All times are GMT -6. The time now is 03:46 PM.



WB Sponsors

Profit Lance Review

Houston Web Design

Search Engine Optimization

flash chat



 Subscribe to the Website Babble Feeds

2 Create a Website Homepage | 2 Create a Website Blog


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0