How to have multiple static pages in WP

2 replies
  • WEB DESIGN
  • |
Hi,

I'm trying to setup my squeeze pages at multiple URLs on my wordpress site so I can do some split-testing.

When I have the squeeze page setup as my static home page, it's fine:

You... A Six-Figure Computer Consultant? Yes, You Can!

But when I try to access the same page (exact same page using the same template) when not having it set as the home page, I lose all the graphics.

You... A Six-Figure Computer Consultant? Yes, You Can! |

How can I access the page at different URLs without losing the graphics?

Thanks,
-Robert
#multiple #pages #static
  • Profile picture of the author mywebwork
    Hi Robert


    I looked at your source code and I think the problem is that you are using a relative reference to your images directory. As the directory is off the root it works with the main page, but any subpage (like the one in the second example) gets the wrong location.

    Easiest fix is to use the full URL for the pictures. Otherwise you could edit the code on the images on the subpage to place a "../" in front of each location.

    Hope this makes sense. let me know if you need any additional help with this.

    Bill
    {{ DiscussionBoard.errors[2234003].message }}

Trending Topics