Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Best way to link to other pages in wordpress

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #41359
    croydon86
    Participant

    Hi guys, Just wanted to know the best way to link to other pages in wordpress.

    I have seen some do it the following ways….

    1) Absolute static URLS

    2). dynamic with page name (e.g. wp/about_us)

    3) Referencing page ID’s (e.g index.php?page_id=15)

    I just wanted to know which is the best method, or any other recommended method which I have not included above.

    Thanks in advance

    #117515
    Watson90
    Member

    I think it’s down to personal preference really, but I prefer to have my permalink structure set like this;

    sitename.co.uk/about

    sitname.co.uk/portfolio

    I think it just looks neater as opposed to the other types, like I said. It’s just a matter of opinion.

    #117572
    Ahrengot
    Member

    If you’re talking about links coded into a theme, and not inserted via the WYSIWYG editor, Then use [get_permalink($post->ID);](http://codex.wordpress.org/Function_Reference/get_permalink)

    #117579
    chrisburton
    Participant

    I agree with Scott. Personally, I think the us part in About Us is pointless. Same thing with Contact Us.

    #117554
    TreeRoot
    Participant

    I say absolute static URL’s, so if your content is ever scraped it’ll point back to the original source (your website).

    #117556
    croydon86
    Participant

    Thanks for the feedback guys. Totally agree with your comments.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘Back End’ is closed to new topics and replies.