Start Online Training

Get access to all our video classes and support. That's 1818 training sessions in Joomla, Drupal, WordPress, Coding and SEO.
Prices start only at only 25 USD per month

Testimonials

Testimonials OSTrainingyou guys at OSTraining are sooo cool. I'm learning - finally!"

~ Nance

 

Start a FREE 7 day trial! Get training videos and books, plus expert support:  

TOPIC: Link to static home page

Link to static home page 11 months 3 weeks ago #70412

I'm using dropbox child with all static pages. I have the Nav menu at the top of the home page, but on all the other pages I use the Primary Widget on the left for two navigation items and the Secondary Widget on the right for four navigation items. All work fine with the exception of the home page navigation. Here are code examples:

<li><a href = “?page_id=4”>Fiction</li> This is partial code within the <ul> which is fine. It takes me to https://localhost/hh/wordpress/?page_id=4 which is what the home page navigation bar does.

However, since the Home Page does not have a specific page_id, I can't get it to work. I've tried a number of ways such as the following:
<li><a href = “wordpress”>Home</li> This comes up with 404 and shows localhost/wordpress/wordpress
<li><a href = “”>Home</li> This does nothing, keeping me on the current page.

Any idea's?
Please become a member of OSTraining to reply to this post.

Link to static home page 11 months 3 weeks ago #70499

  • Nick
  • Nick's Avatar
  • NOW ONLINE
  • Posts: 19328
  • Thank you received: 528
Hi RDOBrien,

Would you send me some login credentials to This email address is being protected from spambots. You need JavaScript enabled to view it. so I can take a quick look for you? Also, please do two things for me:
1) Include a link to this forum post in the email
and
2) After sending the email, reply to this forum post letting me know you sent the email so that I can check it.

Looking forward to helping.

Kind regards,
Nick
Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

Link to static home page 11 months 3 weeks ago #70549

Hi Nick

This is not on a website, it is localhost. What can I send you to better explain the problem?

Regards,

Dick O'Brien
Please become a member of OSTraining to reply to this post.

Link to static home page 11 months 3 weeks ago #70556

  • Nick
  • Nick's Avatar
  • NOW ONLINE
  • Posts: 19328
  • Thank you received: 528
Hi Dick,

No problem. I think I understand the issue well enough. Please try:
<li><a href =/>Home</li>

or you could just do:
<li><a href = “http://localhost/hh/wordpress/”>Home</li>

which should for sure work, then you can change it to www.yourdomain.com/ when it's live.

Hope this helps!

Kind regards,
Nick
Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

Link to static home page 11 months 3 weeks ago #70598

Hi Nick

When I do the first the URL becomes
https://localhost/hh/wordpress/“/” and it states NOTFOUND The requested URL /hh/wordpress/“/” was not found on this server.

When I do the latter I get:

https://localhost/hh/wordpress/“https://localhost/hh/wordpress/” and the page reads Forbidden

You don't have permission to access /hh/wordpress/“https://localhost/hh/wordpress/” on this server.

Any other thoughts?

Regards,

Dick O'Brien
Please become a member of OSTraining to reply to this post.

Link to static home page 11 months 3 weeks ago #70600

  • Nick
  • Nick's Avatar
  • NOW ONLINE
  • Posts: 19328
  • Thank you received: 528
That's really strange that it's adding the double quotes even.

Could you hold off on this one until you get it up on a remote server so that I can take a look for you?

Kind regards,
Nick
Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

Link to static home page 11 months 3 weeks ago #70601

Yes, thanks for your help.
Please become a member of OSTraining to reply to this post.

Link to static home page 11 months 3 weeks ago #70603

  • Nick
  • Nick's Avatar
  • NOW ONLINE
  • Posts: 19328
  • Thank you received: 528
You're welcome, Dick! Looking forward to helping more too. Let us know once it's up and we'll be glad to help.

Cheers,
Nick
Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

 

Start a FREE 7 day trial! Get training videos and books, plus expert support: