1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Creating a Static Page on Wordpress

Discussion in 'Making Money' started by michaelsmith77, Jun 4, 2016.

  1. michaelsmith77

    michaelsmith77 Regular Member

    Joined:
    Mar 31, 2014
    Messages:
    268
    Likes Received:
    20
    Hi,

    I want to produce a page on my site with pre set keywords in the URL. The page will have content from a search results page from a search query that i do on my site, how can i set up a page like this?

    Thanks
     
  2. alexel

    alexel Jr. VIP Jr. VIP

    Joined:
    Feb 20, 2015
    Messages:
    228
    Likes Received:
    67
    Location:
    New York
    I'm having an issue understanding what you are asking? Wordpress is filled with beautiful wonders. If you set your permalinks to the post's title, you will have your relatable URL. But even then, when a search query is made on your site in a WP site, the post's title is what the query will pull, not the URL.
     
  3. ChanzGrande

    ChanzGrande Elite Member

    Joined:
    Feb 16, 2008
    Messages:
    2,487
    Likes Received:
    1,177
    Occupation:
    Accountant
    Location:
    Northern Woods Counting Money
    Would love to help, but it is not entirely clear your goal. I have a strong feeling your best bet will be to utilize PHP to pass variables with either post or get, and since this is on wordpress you will also need to create a static HTML template file so that is the first place to start.

    A lot of people don't realize you can create a static page in wordpress using ANY HTML template you want, so you have tremendous flexibility here. You can keep your displayed content in the same linear flow of your wordpress theme or do it completely different. It just depends on your needs, but first - you'll want to learn how to create a wordpress html static page template. That's a pretty straight forward process, but determining your best usage of PHP on that page might take you a little longer.

    In any event, it's about basically those two concepts:

    1. Passing and receiving variables with PHP.
    2. Creating a static wordpress template page.

    You could need a plugin to make PHP work on wordpress, but if you use a completely static HTML file as your wordpress template page that you create - the PHP should work out of the box because it won't have any of the wordpress functionality involved, i.e. a purely HTML template page will not have references to the wordpress database other than possibly having out-links. It will not be restricted by other database or CSS driven elements of your wordpress installation.
     
  4. michaelsmith77

    michaelsmith77 Regular Member

    Joined:
    Mar 31, 2014
    Messages:
    268
    Likes Received:
    20
    After reading my question i see why some of you are confused. I understand that whatever i set my post title to that will also be used in URL as well. Basically this is what i want. I have a found a list of low search terms in googles search tool. Now i don't have the exact content to match those keywords but in a broader sense i do if that makes sense. Thats why the content i want to display on that page will be from a search query i have already done on my site. I hope that makes a little more sense?