Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Mapping page URL to File system Location

Discussion in 'General Discussion' started by bluZen, Aug 14, 2017.

  1. bluZen

    bluZen Member

    Joined:
    Jun 29, 2017
    Messages:
    7
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    6060
    cPanel Access Level:
    Reseller Owner
    Hi there,
    I plan to host multiple static html pages using Apache server, serving them out of a directory.
    There will be a folder called '/blog' in which multiple static pages will be sitting P4,P3,P2,P1 etc.
    How can I map 'example1.com/blog' to latest webpage 'p4' in the directory
    to achieve :
    example1.com/blog/p4

    when a new page is added, assign the new page P5
    example1.com/blog/p5

    when another new page is added, assign the new page P6
    example1.com/blog/p6
    Map URL to files cPanel.jpg
    and so on..
    Thank you in advance.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,220
    Likes Received:
    1,376
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    bluZen likes this.
  3. bluZen

    bluZen Member

    Joined:
    Jun 29, 2017
    Messages:
    7
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    6060
    cPanel Access Level:
    Reseller Owner
Loading...

Share This Page