Solved

Problem with homepage of site

Posted on 2013-06-17
15
284 Views
Last Modified: 2013-06-18
Hi Guys,

I am having an issue with my site www.piratescove.ie i cant change the home button on the menu to go to www.piratescove.ie i can only get it to go to here

http://www.piratescove.ie/main-2/

so i have a redirection going on after 1 second but it makes it look jumpy

so what i would like to do is have this looking exactly like www.piratescove.ie i have tried crudely just copying the code but it didnt work :(

any ideas
0
Comment
Question by:jonathanduane2010
  • 5
  • 5
  • 4
  • +1
15 Comments
 
LVL 48

Expert Comment

by:PortletPaul
ID: 39252512
<li id="menu-item-557" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-557"><a href="http://www.piratescove.ie/main-2/">Home</a></li>

what actually happens if the href is directly pointed to home?

are you using mod_rewrite for the 'friendly' urls?
0
 
LVL 52

Expert Comment

by:Julian Hansen
ID: 39252672
1. Why can home only point to /main-2/ ?
0
 

Author Comment

by:jonathanduane2010
ID: 39252753
Hi,

where can i find li id="menu-item-557 ?

i have checked, the style.css the index.php and the header.php
0
 
LVL 48

Expert Comment

by:PortletPaul
ID: 39252770
Perhaps wherever it is that you provide "/main-2/" you could try "/" instead?

>> li id="menu-item-557
I got that using 'inspect element' in Chrome

It probably won't be a constant, but generated.
Maybe only the string "menu-item" is constant? (or "menu" and "item") which is being combined with a counter.
0
 
LVL 52

Expert Comment

by:Julian Hansen
ID: 39252779
Why can home only point to /main-2/ ?
0
 

Author Comment

by:jonathanduane2010
ID: 39252806
when i try and change the permalink to "/" it just keeps reverting to http://www.piratescove.ie/main/ it wont let me change it to just "/"
0
 
LVL 48

Expert Comment

by:PortletPaul
ID: 39252844
are you using a framework (or content system) - what is it?
are you using apache?
0
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
LVL 52

Expert Comment

by:Julian Hansen
ID: 39252854
OIC - WordPress ...

And if you make the link http://www.piratescove.ie instead of '/' ?
0
 

Author Comment

by:jonathanduane2010
ID: 39252868
the same, if i make it http://www.piratescove.ie
0
 

Author Comment

by:jonathanduane2010
ID: 39252877
i am just using the CMS
0
 
LVL 52

Expert Comment

by:Julian Hansen
ID: 39252883
Maybe post this in the WordPress thread - it seems to be a WP issue.
0
 
LVL 48

Expert Comment

by:PortletPaul
ID: 39252946
there are abundant references to permalink issues in Wordpress (which is why I asked if you were using 'something')

see if this is helpful:
http://en.forums.wordpress.com/topic/custom-header-linking?replies=3

a generic 'fix it' aproach (not too sure its helpful)
http://support.godaddy.com/help/article/6313/fixing-permalink-issues-with-wordpress
wordpress doc:
http://codex.wordpress.org/Using_Permalinks

this one is v.interesting I think (on performance)
http://digwp.com/2011/06/dont-use-postname/

otherwise WP as already suggested
0
 
LVL 48

Expert Comment

by:PortletPaul
ID: 39252953
actually there's a Wordpress topic here at E-E

I suggest you ask request attention asking for Wordpress to be added as a topic on this question - this will then attract specialists

generally a good thing to narrow down the topics if possible.
0
 
LVL 25

Accepted Solution

by:
James Rodgers earned 500 total points
ID: 39256160
in your theme
dashboard>appearance>menus

remove the home option
add a custom menu item
Custom Links
URL:  /
Label: Home

Click add to menu and move to first item

and you really need to watch your structures for style and script

look at the enqueue script/stye functions in wp codex
0
 

Author Comment

by:jonathanduane2010
ID: 39256202
thanks
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Automating receiving uploaded files via HTTPS instead of SFTP 3 21
Tags from access to excel 3 31
Objects on Same Line 2 18
Best practice for a landing page 3 48
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now