Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google      Sign In   
  • Create Account

Subscribe to HRA Now!

 



Are you a Google Analytics enthusiast?

Share and download Custom Google Analytics Reports, dashboards and advanced segments--for FREE! 

 



 

 www.CustomReportSharing.com 

From the folks who brought you High Rankings!



Photo
- - - - -

Is There A Way To Add A Page To Wordpress Navigation Without Changing


  • Please log in to reply
2 replies to this topic

#1 geoinct

geoinct

    HR 3

  • Active Members
  • PipPipPip
  • 71 posts

Posted 12 December 2011 - 03:13 PM

Iím working on WordPress site and the client decided to add an important page thatís indexed in the search engines to the top navigation menu as a sub item

Turns out if you do this WordPress changes the URL of the page to include the main navigation menu item within the URL (are you kidding me!)

Their developer said they have a plug-in that would take care of this. What it does is applies a 301 redirect from the original URL to the new one. Better, but not ideal.

Is there a way to add a page to the navigation without changing the URL?


#2 train99

train99

    HR 4

  • Active Members
  • PipPipPipPip
  • 156 posts

Posted 12 December 2011 - 06:52 PM

Open the navigation file and insert the link there.

The side navigation is in wp-content/themes/WHATEVERCURRENT/sidebar.php.

Whatever you're running for a top navigation should also be in the themes/WHATEVERCURRENT/ folder. WHATEVERCURRENT will be the name of the theme you're using.

If the file is doing formatting like adding > or other symbols, you'll have to add them to the link too. You can get those by viewing the page source and copying them.


#3 Michael Martinez

Michael Martinez

    HR 10

  • Active Members
  • PipPipPipPipPipPipPipPipPipPip
  • 5,082 posts
  • Location:Georgia

Posted 12 December 2011 - 08:23 PM

You should be able to define a custom menu under APPEARANCE without having to get into the code on the current version of Wordpress. Some themes may not support this functionality but it is a native capability of Wordpress.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

SPAM FREE FORUM!
 
If you are just registering to spam,
don't bother. You will be wasting your
time as your spam will never see the
light of day!